Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parent window scrolling

Status
Not open for further replies.

timftse

Programmer
Oct 20, 2006
14
GB
Hi,

I have a window, which creates a pop-up window to display some pages of text. For alignment reasons the main window scrolls down 80px whilst the pop-up window is there. It is possible to page through the text in the pop-up, no problem. But when the pop-up is closed I want the main window to scroll back to its top.
I've tried various flavours of 'parent.window.scrollTo(),
parent.window.reload(), parent.window.location()' to do this just before I window.close() the pop-up from within its own HTML, but none work.

Any ideas?
Thanks in advance,
Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top