I have a list that includes an image I click to reveal an iframe with some additional information and editing information. The list requires - at times - scrolling down the screen.
I return the event.y position and use that to position my iframe "style.top"
The problem is when I've scrolled down the screen, the iframe is positioned up towards the top of the HTML document - the top being relative to the top of the document.
I want to position it to the right of where I click the mouse?
I know I'm missing something obvious. What is it?
Thanks.
Matthew Moran (career blog and podcast below)
Career Advice with Attitude for the IT Pro
I return the event.y position and use that to position my iframe "style.top"
The problem is when I've scrolled down the screen, the iframe is positioned up towards the top of the HTML document - the top being relative to the top of the document.
I want to position it to the right of where I click the mouse?
I know I'm missing something obvious. What is it?
Thanks.
Matthew Moran (career blog and podcast below)
Career Advice with Attitude for the IT Pro