gurra
11-13-2002, 09:37 AM
I'm making a drop down style menu with all menu links using the same layer.
However, I need to position the layer differently, depending on what link is clicked!
My layer looks like this:
<div id="details" name="details" style="position: absolute; width: 250px; height: 75px; visibility: hidden; background-color: black; color: white; font-family: verdana; font-size: 10px">
Details!
</div>
How can get the X and Y coordinates of the link so I can set the div's TOP and LEFT to show it on the right place?
Thanks
Gustaf
However, I need to position the layer differently, depending on what link is clicked!
My layer looks like this:
<div id="details" name="details" style="position: absolute; width: 250px; height: 75px; visibility: hidden; background-color: black; color: white; font-family: verdana; font-size: 10px">
Details!
</div>
How can get the X and Y coordinates of the link so I can set the div's TOP and LEFT to show it on the right place?
Thanks
Gustaf