Jump to content

Seemingly simple mouseover/mouseout function


Kieran Menor

Recommended Posts

Okay so, I need to make it so that when you hover the mouse over a person's image, a small about text appears describing that person. There are 5 persons in 1 image, so I used <area> tags to define their areas. After that, I thought it was as simple as adding onmouseover and onmouseout to those area tags, but... I don't know, you better look for yourself:

 

http://misc.smwcentral.net/what/ (disregard the crappy HTML code; most of it was made in GoLive by someone else)

 

The red square <div> at the bottom has the exact same onmouseover and onmouseout as the leftmost person, but as you can see, it works as it should. So what the hell?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.