KBD

Keith Devens .com

Friday, December 5, 2008 Flag waving
Men never do evil so completely and cheerfully as when they do it from religious conviction. – Blaise Pascal (attributed)
← Search term highlighting on my siteShort language references needed →

Daily link icon Tuesday, April 29, 2003

Client-side word highlighter

Ok, I'll look into doing a client-side version of it. Time to learn the DOM better.

← Search term highlighting on my siteShort language references needed →

Comments XML gif

Donncha (http://blogs.linux.ie/xeer/index.php) wrote:

Client side highlighting is an excellent idea! I ran into caching problems while testing the google highlighting on my own blog.
When I went to a link via Google the search term was highlighted, but because the page itself was cached by Smarty, anyone else visiting that particular page would see the cache and highlighting too. That might have been because the page was cached in my browser but I doubt it as the page could a few moments to load.

∴ Donncha | 1-May-2003 5:11am est | http://blogs.linux.ie/xeer/index.php | #1958

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

December 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 4 posts

Recent comments XML

Girls, please don't get breast implants

I have 34 A breast but at 22 years​old they seem to be growing again​which ...

76.64.120.153: Dec 3, 10:00am

Perl 6 1.0 in March?

Doh, my mistake. I'm aware of the​relation between Parrot and Rakudo​but I'...

Keith: Dec 2, 1:03am

Free image hosting sites

Well, TinyPic has this in its​FAQ:

> Images and videos is in​your accoun...

Keith: Dec 1, 1:13am

Join a NameValueCollection into a querystring in C#

Well with a lamba expression, this​is what I came up​with:

?!code:csharp...

Gustaf Lindqvist: Nov 30, 4:38pm

Generated in about 0.191s.

(Used 8 db queries)

mobile phone