My first SitePoint article
Enhancing Structural Markup with JavaScript is my first published article for SitePoint, a web development portal that is also home to some of the best web design forums on the web. I’ve been a big fan of SitePoint for a number of years and it’s great to finally have contributed something to the site. The article discusses two methods of building useful Javascript effects on top of well structured markup and is based on my easytoggle and blockquote citations experiments, both previously featured on this blog.
Associated trivia: The dopey looking photograph the accompanies my profile was taken outside a youth hostel in Amsterdam earlier this year.
Congratulations, Simon excellent, excellent stuff.
Ethan - 11th December 2003 02:45 - #
Couldn't have said it better myself
Matt.
Matt - 11th December 2003 10:27 - #
I don't know whether that was a pun or not. Though typically the orange tint tends to make most people look like a cross between the tango man and someone suffering from some form of tropical disease.
Robert Wellock - 11th December 2003 11:15 - #
Andri Sigurðsson - 11th December 2003 11:28 - #
Scrivs - 11th December 2003 14:32 - #
document.write(rather than the dom'screateElement) reliance is essentially "wrong" somehow. My upcoming follow-up article will reveal my function factory technique by which I defined all 288 of those dom-wrong functions. Responding to reader feedback (like yours), I now intend to show how this technique can be applied to the generation of dom-right function a library!Rick Renfrow - 11th December 2003 19:24 - #
Harry Fuecks - 12th December 2003 19:38 - #
Congrats and nice job Simon.
But in your citation script, why not include a
titleattribute in the blockquote and then set the anchor'stitleattribute to that rather than to the value ofcite?Or, alternatively, keep it as it is, but set the anchor text to the value of the blockquote
titleattribute, instead of the generic "Source"?Lars - 13th December 2003 14:48 - #
Simon Willison - 13th December 2003 16:47 - #