Click to See Complete Forum and Search --> : Pop-up window


surfing fox
12-03-2003, 04:54 AM
I am using a java script for a pop up window that shows quarter of another webpage. You can resize it to show the full page. When it pop's up, it is fixed to show the top left quarter of the page.

Can I change this so it shows a selection of the page of my choice? Like the bottom right quarter or top right quarter???

Gollum
12-03-2003, 05:10 AM
Sounds like what you are trying to do is scroll the window to somewhere other than the top-left of the document.
Something like this should work...

// scroll window far to the right and far to the left, as far as it will go
window.scrollBy(10000,10000)

surfing fox
12-03-2003, 05:30 AM
Excellent cheers Gollum!

Gollum
12-03-2003, 05:47 AM
You're welcome:D