i am dustin diaz

a JavaScriptr...

boosh.

don't worry about it.

Sweet Titles Finalized

I've been meaning to get to this for quite some time... so without further waiting...

Introducing Sweet Titles 1.0 Final

In this final release I have changed the file names to give it a fresh start. It remains having only three files:
  • sweetTitles.css
  • addEvent.js
  • sweetTitles.js
The change log is included in the read-me.txt file, but for the sake of making this post worth while, I'll let you know what I've done anyway.

Sweet Titles got sexier

No longer is a new object created upon each instance of the 'mouseover' event, and then removed upon 'mouseout' - it simply reuses the same toolTip and moves stealth like throughout the page. The code is a bit more elegant than it was taking full advantage of the this keyword where necessary. Plus the hard-coded allowable elements has been removed... you can now use it on pretty much any element you want with a title attribute (please use with caution (I'll just stick with the standard 'a','acronym', and 'abbr' tags)). And finally, that horrid scrollbar jump has been fully taken care of. So, if this is all new to you, or you're in the mood for an update... then by all means, get Sweet Titles today! Download Sweet Titles: Version 1.0 Final Also see when the Sweet Titles launch article for history. The original article is outdated, but it's nice for reference. I have purposely turned off comments in that one because the feature requests were getting out of hand.

Other than that. Enjoy!

this is who i am

Hi, my name is Dustin Diaz and I'm an Engineer @ObviousCorp. Previously @Twitter, @Google, and @Yahoo, author of Strobist® Info co-author of JavaScript Design Patterns, co-creator of the Ender JavaScript Framework, a Photographer, and an amateur Mixologist. This is my website. Welcome!

On this site I write about JavaScript. You can also follow along with my open-source work on Github.

This site is optimized and works best in Microsoft Internet Explorer 6.