- I'm trying to have the "header" frame capture the "main" frame's "pageYOffset"
- Then, after some processing the "header" frame has to reload the same "main" frame page, but I
want it returned to the same vertical scroll position.
- The"main" frame page then picks up the captured "pageYOffset" stored in the "header" frame and
restores it before the "main" frame page is written to the display. What am I doing wrong with this
code? Can't seem to get it to work.
"header" frame:
..
..
..
var mainPageYOffset;
//
mainPageYOffset = parent.main.window.pageYOffset.value;
//
parent.main.location="mainPage";
"main" frame & same reloaded "mainPage":
..
..
..
window.pageYOffset.value = parent.header.mainPageYOffset;
Thanks for your help.
Don
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----