Highlight search terms

He has: 388 posts

Joined: Apr 2005

Have you ever been searching on google and clicked on a result. when you get to the page you just clicked on any search terms you enterd into google are highlighted. how is this done im almost posative it has somthing to do with server side scripting.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

You could look for some scripts for that, I forgot where Ive seen the code before but I did see the way it was done with the codes...
Irony: Youll use google to search for this one...

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

With the google toolbar button it's done with DOM scripting and integrated into the browser
Here is some ASP code I wrote for an answer at tek-tips Text Highlight.

I will get it written up and on my site at some point. Laughing out loud

Chris

Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples

He has: 388 posts

Joined: Apr 2005

Thanks everyone thats great

SearchBliss's picture

He has: 267 posts

Joined: Feb 2005

Yes, I do it with asp using the Replace method.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.