Sweet Titles Finalized

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 entry was posted in 学习笔记. Bookmark the permalink.

评论暂缺

  • (Required)
  • (Required, will not be published)

使用新浪微博登陆