shoombool_tala
01-18-2006, 07:50 PM
Ok so here is the problem.
I have a page called index.php. In this page I have an iframe which loads some other page and automaically resizes the iframe depending on the page its loading.
The problem i have is sometimes the page that it's loading is long. So the iframe gets extended which makes index.php have a scroll bar which is fine by me. BUT when they click a link in the iframe, the iframe itself loads the new page and goes to the top of the page, but the scroll bar for index.php stays where it was before. Is there anyway I can call a javascript to scrolll up a page :S?
I have a page called index.php. In this page I have an iframe which loads some other page and automaically resizes the iframe depending on the page its loading.
The problem i have is sometimes the page that it's loading is long. So the iframe gets extended which makes index.php have a scroll bar which is fine by me. BUT when they click a link in the iframe, the iframe itself loads the new page and goes to the top of the page, but the scroll bar for index.php stays where it was before. Is there anyway I can call a javascript to scrolll up a page :S?