View Full Version : how to open a page scrolled say 200px up and 200px right ?

c q
01-18-2003, 06:34 AM
uhh ohh one more doubt....
how can I open a popup page, which is scrolled say 200px up and 200px right on its own as it loads ?
I like looked around but dint find anything to do this. One answer is to attach a <a name> tag at the point, which should appear at the top of the page. But the page I am trying to load in the popup is an external link. I still like to have it scrolled some px up and some px right. how do I do this ??

01-18-2003, 08:39 AM
try this in your popup:
<body onLoad="scrollTo(x,y)">
where x and y is where you want to scroll to, unless you want relative scrolling.

c q
01-18-2003, 08:42 AM
heyy...thanks a lot for that one. looks simple indeed