Log in

View Full Version : js search script?



Jon101
05-22-2007, 08:02 PM
anyone know where i can find a nice search script for my site? doesn't have to be js, but I'm sure that will work the best.

Thanks!!

Bob90
05-22-2007, 09:08 PM
Yeah, it called google. ;)

No, seriously.

http://google.com/coop/docs/cse/faq.html

djr33
05-22-2007, 10:19 PM
Javascript can't do this (without using Ajax, and that would be very limited anyway, as well as hard and not compatible with many browsers/setups).

You could write your own using PHP, either directly searching the server or using a database.

However, this is a lot of work and would likely be fairly slow.

If you have a speicfic thing you'd like to index, doing that with a mysql database and php would be workable, but for your whole site, probably too much work.

Many sites use google, and I agree with Bob on this.

Jon101
05-22-2007, 10:55 PM
Ok, ill take a look at my options. Thanks guys.

Jon101
05-22-2007, 10:59 PM
Well actually now that I think about it, maybe I'm not explaining this correctly.. what I need is a search that will do something like.. if you go and type in pricing, a link to the pricing page will show up... something like that...

Sorry if that's not clear.

;)