SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Aug 18, 2000, 01:06 #1
- Join Date
- Aug 2000
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi. I have too many OnMouseOver's/out's on one of my images/ this is what basically I am using:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
<MAP NAME="comedy">
<AREA SHAPE="circle" COORDS="100,100,100,100" HREF="flash.html"
TARGET="_blank" onMouseOver="playSound(0)" onMouseOut="stopSound(0)">
</MAP>
<NOHREF>
<img NAME="img1" USEMAP="#comedy" border="0"
SRC="../../images/multimedia/comedy/flash_off.gif"
onMouseOver="imgOn('img1')" onMouseOut="imgOff('img1')"></A>
[/code]
Please can someone explain to me, how I could get both the status bar MSG/Img and sound to appear, as at the moment, I can only have 2 of the 3 (IMG/SOUND).
Thanks, Bond.
<<< Edited code to fit on smaller screens >>>
[This message has been edited by wluke (edited August 18, 2000).]
-
Aug 18, 2000, 02:32 #2
- Join Date
- Aug 1999
- Location
- Lancaster, Ca. USA
- Posts
- 12,305
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Yeah.. Create one function that can be used as a wrapper for your Image, Sound and Status bar calls.
Then a simple call could be:
Mouseover (image, sound, status)
You should right it so that any parameter with a empty string should be ignored.
------------------
Wayne Luke - Sitepoint Forums Administrator
Digital Magician Magazine - MetaQuark Creations (Coming Soon)
wayne@sitepoint.com
Bookmarks