PDA

View Full Version : Help with "Find in Page Script"



jdizzle
09-23-2004, 08:45 PM
Script: http://www.dynamicdrive.com/dynamicindex11/findpage.htm
I need help concerning the "frame" configuration.

-My site is set up with two horizontal frames, one thin one at the top and a larger bottom frame. I have the search script in the top frame and I want to search the bottom frame. How do I need to do this in the script.

ddadmin
09-24-2004, 08:21 PM
Actually, this is documented inside the script. To get the script to search a specific frame, simply modify the line:


//var frametosearch = 'main';
var frametosearch = self;
Change "self" to the name of the frame you wish to search.

frantorm
12-10-2004, 05:31 AM
</head>

<frameset rows="80,*" frameborder="NO" border="0" framespacing="0">
<frame name="topFrame" src="top.htm" scrolling="NO" noresize >
<frame name= "dframe" src="down.htm">
</frameset>
<noframes><body>
</body></noframes>

I changed that line but this script don't work any solution?

//var frametosearch = 'main';
var frametosearch = 'dframe';

Thanks for all

FrANk

Azmandius
11-18-2011, 11:27 AM
Same problem here. Done everything as instructed by documentation, yet, whenever i click the search button all i get is the top frame page loaded in bottom frame, that's weird.

Any hope actually to use this script in frame pages?

I am using Firefox 3.0.19, but i don't thinks that should matter at all, i think something is missing in documentation, or some adjustments need to be done to this script.

Thank you.