Another JavaScript goodie for this site: Now if you follow a URL with a fragment (that is, a hash-mark indicating a particular entry on the page), the entry is highlighted when you get there. This makes it easier to find particular blog entries, since I don't typically have a page per entry. For example, the yearly archive pages are full of fragment links. David Dorward's Fragment Highlight script was a good crib sheet, and is more sophisticated than mine. If you want to do something like this, his script is a good place to start.

tagged: site, javascript, web» 1 reaction

Comments

[gravatar]
Ryan Nielsen 1:02 PM on 23 Jun 2004

The highlight rendering in Safari's a little off. If you wish, I can send you a picture. I used to have a bookmark of a site that would render a page on safari and then post a window capture on the web which would make debugging a little easier, but I seem to have lost the link. Looks great on mozilla-based browsers, though!

Add a comment:

name
email
Ignore this:
not displayed and no spam.
Leave this empty:
www
not searched.
 
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.