Results 1 to 1 of 1
Jul 19, 2007, 09:56 #1
- Join Date
- Sep 2003
- 0 Post(s)
- 0 Thread(s)
Show a <DIV> centrally depending on position of the scrollbar.
I have a website that contains an IFrame which can contain many rows of data - which itself generates a scrollbar within the IFrame so the user can scroll vertically through the results. But when the user clicks on one of the links within the rows of results within the IFrame I have a <DIV> pop up with a message. However, currently, this message only pops up at a fixed locations, so if the user has scrolled down the page in the IFrame then they will not see the popup <DIV>.
How can I get the popup <DIV> to show centrally within the IFrame, regardless of where (vertically) the user has clicked on a link within the result set?