KBD

Keith Devens .com

Tuesday, October 14, 2008 Flag waving
Sometimes a man with too broad a perspective reveals himself as having no real perspective at all. A man who... – Steven Den Beste
← 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)
:

October 2008
SunMonTueWedThuFriSat
 1234
567891011
12131415161718
19202122232425
262728293031 



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

Recent comments XML

new⇒Spider solitaire

I have now won, at the "Difficult"​level, 186 games of Spider​Solitaire.  I...

75.179.28.113: Oct 13, 9:34am

Girls, please don't get breast implants

Please, don't marry him.

You​want to get surgery to make​yourself more i...

gigi: Oct 12, 11:47pm

I hate PHP

Elliot Anderson,

Dude!! You the​man! The reverse replacement for​array_u...

Alex Ndungu: Oct 11, 1:35am

Call a function from a string in Python

?!code:
some_object.__getattribute​__('method_name')()
?!/code

is​the s...

Patrick Corcoran: Oct 8, 3:53pm

Sed one-liners

Hi.

I wanted to let you know​that I wrote an article "Famous Sed​One-Lin...

Peteris Krumins: Oct 8, 3:05am

Generated in about 0.28s.

(Used 8 db queries)

mobile phone