Tony Lukasavage

Caffeine. Whiskey. Code. Mostly the last one.

ShadowBox JS for Wordpress

Just a quick update to let you know that my Flash demos will be from now on be displayed in ShadowBox.js via the ShadowBox JS Wordpress plugin.  Its a lightweight javascript library that allows you to show all kinds of media on your website in a slick popup window.  You’ve probably seen them before on video and image gallery sites.

While the ShadowBox JS plugin will handle all your images, videos, SWFs, etc… by default, I prefer to manually determine which media will utilize it.  And to do so, its as simple as adding “rel=shadowbox” to your anchor tags, which I use in my Box2D demo post:

<a rel="shadowbox;height=600;width=800;"
  <img class="  " title="Box2D demo"
         alt="Box2D demo" width="516" height="487" />

I avoided pre-built blogs for the longest time because I’m a ridiculously customization driven programmer, but with what Wordpress has available for free, I wonder why I wasn’t using it all along.  I highly suggest ShadowBox.js for your Wordpress blog or any website that needs a little extra eye-catching flair.  And let’s face it, if you’ve been around my blog for any amount of time, it’s all about eye candy.