Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Jan 2001
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript - jump to bookmark

    This should be simple. I have a two-part HTML frame, and all I want to do is have the user pick from a select form field in the first frame, and then it will take him to an appropriate corresponding bookmark in the second frame. I've set up the form field with an onchange=goToBookmark() parameter, but don't know how to make the gotToBookmark() function do its job.

    Would appreciate any help!

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Javascript - jump to bookmark

    One option is to navigate the other frame to URL#selectedBookmark. This seems simplest to code, and broadly compatible, but might not be the fastest way to scroll the document.

Posting Permissions

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