Forum Moderators: open
I would like to have the layer(DIV element) displayed right below cursor's current position.
How to do that? Shall I :
1) Create layes/DIVs for each room (all hidden by default)
2) Create a HTML image map with Dreamweaver (can I have other better alternative?)
3) For each image map area, set a JavaScript event to call respective layer/DIV
4) Get current mouse cursor coordinate and display the layer based on the coordinate
If I create HTML image map by using Dreamweaver's built-in function, will it ONLY work when the page is loaded in the screen resolution I am using AND when the user does not resize the window?
Thanks,
If yes, then resizing the window should have no impact on it.
Now the question is how to pass coordinates as parameters and display the hidden element right below the bottom line of the (mouse on) image map area.
Thanks,