Click to See Complete Forum and Search --> : Highlighting IE Search Results like google
eshipman
September 23rd, 2003, 08:33 PM
Anyone know how google does it and how to highlight
search results without changing page source? I've seen many
algorithms that replace the search terms with a span but that is
not how google does it.
khp
September 24th, 2003, 08:08 AM
I'am not quite sure what you mean by IE search results, but ofcourse the answer is css stylesheets.
eshipman
September 25th, 2003, 06:14 PM
In order to do that, each FOUND search word must be located in
an element with an assignable id/name.
If you do a google search and look at the source of one of your
result pages, you'll see that there are no extra stylesheets defined and the source is not changed at all.
There must be some other way...
khp
September 25th, 2003, 06:37 PM
Originally posted by eshipman
If you do a google search and look at the source of one of your
result pages, you'll see that there are no extra stylesheets defined and the source is not changed at all.
I also get exactly the same rendering as if I had visited the page directly rather than following a link from google. In short, I don't quite see what you mean.
eshipman
November 6th, 2003, 05:52 PM
http://207.44.232.13/~austin1/images/googlesearch.jpg
I found this:
http://www.unganisha.org/home/pages/dhtmlmarker/index.html
But that is not the way that Copernic does it, AFAIK...
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.