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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Find in Page script question

    This question is about the "Find in Page" script found at http://www.dynamicdrive.com/dynamicindex11/findpage.htm

    What is required to locate the input form in a top frame to perform the 'find' in a bottom frame?

    With the script as is, searching lengthy pages cannot be performed without returning to the top of the page.

    I attempted to email the author, Mike Hall, without success.

    Thanks!

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    change:
    var win = window; // window to search.
    to:
    var win = top.main // window to search.
    or
    var win = parent.main // window to search.

    whichever works for your layout.

    change main to the name of the frame.


  •  

    Posting Permissions

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