Tuesday, March 13, 2012

Set page scroll position to top of page?

How can I specify the scroll position of a web page?
When my web page is reloaded I change what is being displayed in aframe on the page -- it is a long frame -- I would like to set thescroll position to be at the top of the page so that a web form isvisible.
anyone know how this can be done?
THX,
Usually when a web page is reloaded, the default behavior is that the scroll bars get reset to the top position. I would check if SmartNavigation is on. This may be causing the problem.
hope this helps,
sivilian

Hi sivilian, my requirement is to set the sidebar horizontally above the wizard instead of displaying vertically left side of the wizard.

Its possibe? if possible hiow?

thanks in advance.


use javascript

function ResetScroll()

{

window.scrollTo(0,0);

}

on the body tag add onload="ResetScroll()"

Happy Coding

0 comments:

Post a Comment