CSS + jQuery: Highlight important keywords inside text

  • December 22nd, 2009

A few days ago while working on a new UI component I had to come up with a solution to highlight identified keywords (using named entity recognition) inside of a chunk of user generated text. While the idea was fairly simple, the challenge was creating a solution which would work [relatively] well for all modern […]

Preventing content from "shifting" for Adblockers

  • March 13th, 2007

Anyone who inserts contextual advertisements into their pages – like Google Adsense – are aware of the fact that some readers block advertisements. Oftentimes, methods for removing advertisements from view alter the structure of a page, in turn, changing the layout. For some websites or blogs, this does not pose a problem. For websites created […]

How-to create a "Table of Contents" Navigation

  • March 10th, 2007

Quite a number of months back I released the Foliage Mod WordPress theme which included a Table of Contents (TOC) styled navigation block in the header. A recent post on ScriptyGoddess prompted me to upload the download & tutorial post straight away which is what you find here. In as little as 8 lines of […]

How-to style WordPress author comments

  • March 9th, 2007

Motivated by email requests from a few readers, I’ve thrown together this simple tutorial on how-to style author comments under WordPress without the need for extraneous plugins. What we’re going to do is instruct WordPress to identify specific author emails and assign a unique class name to each. Using the flexibility of Cascading Style Sheets […]

IE7 {css: auto}

  • August 16th, 2006

Stomp CSS hacks in one fell swoop. That’s the logic behind the IE7 Javascript library. IE7 loads and parses all style sheets into a form that Explorer can understand. You can then use most CSS2/CSS3 selectors without having to resort to CSS hacks. The lightweight script is a single-line inclusion in your HTML/XML document. No […]

The IE7 + Clearfix headache

  • July 31st, 2006

Having caught the news that Microsoft will releasing its next browser – Internet Explorer 7 – via a high priority update for all Windows users. I came to the realization that every site that I had ever touched was due for a quick debug using IE7 via Parallels. Fortunately, many of the examples pages that […]

Tall wide navigation tabs

  • March 27th, 2006

If there is one thing that I am semi-consistent with [in regards to site navigation], it’s wide [tall] tabs. Larger clickable real estate makes it a little easier for readers to get where they want to go without having to position their mouse pointer over the limited click area of standard text links. Here’s how […]