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
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