How do I add a ''search'' for just one page of my site?

The_LED_Museum

*Retired*
Joined
Aug 12, 2000
Messages
19,414
Location
Federal Way WA. USA
I've been asked about this numerous times.
How do I add a "search" feature that will find various products on just one web page of my web site?

The page I want to have searched is http://ledmuseum.home.att.net/menutop.htm

This web page contains all of my evaluations (it is just 141K in length); I do not need to search the entire 110.3 megabytes of my website.

The general idea is to have it function like CTRL-F in Windows; but I can have the search results in a new web page (using the 'target="bottom"' directive) if necessary.

Any ideas here?

I tried finding some Javascript search scripts and was even furnished with one from another website visitor, but I have had no joy with them.
 
Last edited:

PhotonBoy

Flashlight Enthusiast
Joined
Mar 11, 2003
Messages
3,304
Location
Annapolis Valley, Nova Scotia, Canada http://tinyu
Fastest way is to put a link to Google using a link like:

http://www.google.com/search?hl=en&q=menutop+surefire&btnG=Google+Search

I've used Google to search your page many times. The keyword is 'menutop'. It's not a common word on the internet.

But, if you're thinking of doing something like that, why not join Google's adsense program and earn bucks by having search links on all of your pages? Each time someone clicks through, you earn a bit of cash, depending on the value determined by Google and/or the advertiser. You don't even need Paypal or a credit card. I'm not sure though, how well that would sit with your existing advertisers.
 

gadget_lover

Flashaholic
Joined
Oct 7, 2003
Messages
7,148
Location
Near Silicon Valley (too near)
another way to do it is to use the "site:" keyword.

I used this string in google's search web page
luxeon site:http://ledmuseum.home.att.net

and it gave me 39 hits. The resulting URL was displayed as

http://www.google.com/search?as_q=l...search=http://ledmuseum.home.att.net&safe=off

You could get the same with http://www.google.com/search?as_q=luxeon&as_sitesearch=http://ledmuseum.home.att.net

I know a simple CGI script on your web site could take the search term from an input mask and make it into a URL referencing google. There are probably other ways too.

Daniel
 

The_LED_Museum

*Retired*
Joined
Aug 12, 2000
Messages
19,414
Location
Federal Way WA. USA
Thank you for your suggestions so far.
But what I want is a search box where the user would type in something (like "acculux" or "colordial" for example), and the search result would appear in the large window to the right (where one would normally see my evaluations) and it could then be clicked on.
 

IsaacHayes

Flashlight Enthusiast
Joined
Jan 30, 2003
Messages
5,876
Location
Missouri
I thought google had code for something like this...
EDIT:

Here ya go. check this page out. Probably the Free WebSearch or Public Service Search is what you need.

Click here for the free websearch for searchign your site.

If you need help getting it to show up in the main frame (assuming you are going to have the search in the left frame, then someone can post and tell you how to do the focus tag or whatever. I haven't messed with HTML since like 96 or something.
 
Last edited:
Top