fischadler
Programmer
The code below puts a layer at the top left corner of my page (when set to visible).
How can I adjust it so that the layer comes up at the top left corner of the browser window rather than the page? That way, no matter how much I scroll down, the layer still is visible. I have a long list with each row having a picture with an onclick command to make the layer visible.
Thanks
"Facts Are Meaningless - They Can Be Used To Prove Anything" - Homer Simpson
Code:
<div style="position: absolute; visibility:hidden" id="myLayer">
<img src="somepicture.jpg">
</div>
How can I adjust it so that the layer comes up at the top left corner of the browser window rather than the page? That way, no matter how much I scroll down, the layer still is visible. I have a long list with each row having a picture with an onclick command to make the layer visible.
Thanks
"Facts Are Meaningless - They Can Be Used To Prove Anything" - Homer Simpson