Results 1 to 2 of 2

Thread: Help With "Find in Page Script"

  1. #1
    Join Date
    Sep 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help With "Find in Page Script"

    Script:Find in Page Script

    I have a top frame(name="tabs") and a bottom frame(name="archive") on my site. The "Find in Page" script is located in the top frame. I want to be able to search a large string of data in the bottom frame of my page.

    This is the source for the "main" page which I view the two frames on:

    <html>
    <head>
    <FRAMESET rows="100, 200">
    <FRAME name="tabs" src="http://www.angelfire.com/folk/johncochran/Tabs.html">
    <FRAME name="archive" src="http://www.angelfire.com/folk/johncochran/Archive.html">
    </FRAMESET>
    </head>
    <body>
    </body>
    </html>



    This is a snippet from the "find in page" script's source code, located inside the top frame(tabs) (This is the section where the frame variability is located):

    // USE THE FOLLOWING VARIABLE TO CONFIGURE FRAMES TO SEARCH
    // (SELF OR CHILD FRAME)

    // If you want to search another frame, change from "self" to
    // the name of the target frame:
    // e.g., var frametosearch = 'main'

    //var frametosearch = 'main';
    var frametosearch = archive;


    If "ANYONE" has any help or ideas, please reply. Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You've asked this before, and it was answered here?

    http://www.dynamicdrive.com/forums/showthread.php?t=199

    Sorry if i'm being blind
    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

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
  •