-
Certain mouse coordinates = popup window - Help!
So I have been assigned a task. I had a floor plan with all the room numbers and I was asked to make it to where when you hover your mouse over the certain room number, it pops up the persons credentials. And I for some reason have brain blockage...
Any ideas on how to go about doing this? Surely its simple. Many thanks.
-
-
It depends on how complicated it should be.
The easiest way will be to use an image map and to setup areas, each of which is the region for a certain number. Use the onmouseover event for this area and create some Javascript function that will display the credentials as you want.
It would be possible to avoid image maps (since they can be a bit annoying), but that would mean either converting the image into HTML (make the numbers text links and place images around it, or perhaps a single image as a background); or you could use Javascript to detect the coordinates of the mouse onmouseover for the image-- but that seems like the hardest option.
You could also approach this using Flash.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks