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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.