Results 1 to 3 of 3

Thread: How to make jump to top script jump to different URL

  1. #1
    Join Date
    Jan 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to make jump to top script jump to different URL

    Script: Jump to top
    http://dynamicdrive.com/dynamicindex5/jumptop.htm

    The description for the 'jump to top' script states that 'you can easily alter this script to navigate to a URL instead'. Unfortunately, I'm new to all of this. How do I make the change to have the script jump to a different URL rather than to the top of the current page.

    Thanks for your help.......Brett

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Hi

    Change the following var to whatever you want:

    var logolink='javascript:window.scrollTo(0,0)'

    I.E: var logolink='http://www.dynamicdrive.com'

    rgds,Simonf

  3. #3
    Join Date
    Jan 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the help

Bookmarks

Posting Permissions

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