Javascript Help

Sunday, November 17, 2002 by joetheblow | Discussion: WinCustomize Talk

Can anyone help me with a javascript that onmouseover not only changes the image but also the pixel map (USEMAP html feature) that I want to go with it.

Here is my page:
http://www11.brinkster.com/joetheblow/jtbDesigns.htm

The image I use is on the right called jtb Navigation. on mouse over it expands into another image. That image uses a map o that the areas can be clicked on. I want it so if I had a buttons that changed on image and that image had a USEMAP to go with it.

It should be easy but i can't seem to figure it out.... so I guess it isn't that easy for me.
craeonics
Reply #1 Sunday, November 17, 2002 6:19 AM
Not sure if you can change the attached imagemap. Not too familiar with the new DOM and stuff, with all it's rewriting tricks. Would seem like too much work for me.

Why don't you use separate layers instead? Make one layer visible, hide the others and so on? Then you could use different combinations of imagemaps and images per layer.
joetheblow
Reply #2 Sunday, November 17, 2002 6:53 AM
huh?
joetheblow
Reply #3 Sunday, November 17, 2002 7:39 AM
< a href="jtbSignIN . htm" target=_top onmouseover="document.image3.src = jtbSignINAnime.src"
onmouseout=".....

Can I somehow use another funtion to the "onmouseover"?

Like: onmouseout="blah blah=44" and "yoda = starwars"

?

Thanks for your help!!!
joetheblow
Reply #4 Sunday, November 17, 2002 7:41 AM
I ment like:
onmouseover="blah blah=44" and "yoda = starwars"


I feel so sill asking this question.... just use flash, would be somebodies answer.....

*sigh*
Ralman
Reply #5 Sunday, November 17, 2002 11:47 PM
Check here to see if this is a help.
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/usemap.asp

Powered by SkinBrowser!
joetheblow
Reply #6 Monday, November 18, 2002 9:40 AM
THANK YOU!!! This will help me greatly.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01