Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    c q
    c q is offline
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mumbai, India
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to open a page scrolled say 200px up and 200px right ?

    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 ??
    It's a new world. It's a new day.
    www.nehasaxena.com : : www.kohimaorphanage.org

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #3
    c q
    c q is offline
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mumbai, India
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts
    heyy...thanks a lot for that one. looks simple indeed
    -Niharica
    It's a new world. It's a new day.
    www.nehasaxena.com : : www.kohimaorphanage.org


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •