PDA

View Full Version : Find in Page script question


usmra
07-19-2002, 11:48 AM
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!:rolleyes:

x_goose_x
07-19-2002, 02:24 PM
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.