PDA

View Full Version : search feature for single page


lowgear
09-22-2005, 06:26 AM
Hello, Ive been searching google for about an hour now and can't seem to find the answer im looking for.

I have a page of text on my site that is very long. Im looking to have a simple search box at the top that will enable me to type in some text and be able to search that single page for the text I was looking for.

For example if I type in dog and hit search. I want it to bring me to the part of the page that has the word dog.

So basically I want it to work like a browsers search feature works (ctrl -F) but embedded into my page using some html.

Any ides? :confused:


Thanks!

_Aerospace_Eng_
09-22-2005, 06:43 AM
http://www.dynamicdrive.com/dynamicindex11/findpage.htm

lowgear
09-22-2005, 06:57 AM
Thats exactly what I was looking for.

Thanks for helping me out you made my night! http://instagiber.net/smiliesdotcom/otn/realhappy/bigok.gif

glenngv
09-22-2005, 08:01 AM
I think the user would still prefer to use the built-in Find dialog as you can quickly find different text with it compared to that script which requires the user to scroll back to the field to search another text. Plus the fact that it has more features like direction and match case search.