:: Forum >> Version 1 >>

Javascript frames

I need to know how to use javascript so that when a frame opens another page, the other page isn't opened in the top left corner. For example, when a page opens in a frame, it is opened from the top left corner, but I want the frame to open the page half-way down and across a bit. So it is already scrolled down when it opens. Is there a way to do this? Please if anyone can help it would be greatly appreciated.
Friday, May 20, 2005
You can try to apply a style to the frame. Use "padding-top:" to move the page down and "padding-left:" to move it to the right. Remember that this does not 'scroll' the page, it adjusts it so that there is a blank area on the top and left.
Jim Hunter
Friday, May 27, 2005

This topic is archived.

Back to support forum

Forum search