Archive for February, 2010

SimpleTabs: A pure javascript easy tab implementation

February 18th, 2010

I’ve written — and lost — at least two reusable tab components in Javascript before. So I’m posting this one here as a reminder to myself to never, ever, ever write one of these again.

There are tons of HTML tabbing classes/functions/extensions/plugins/blahblah out there but almost every one I’ve ever found has been a plugin for [insert Javascript library here]. I don’t see a point in using [insert Javascript library here] just to have 3 tabs on a page, do you?

So here it is, a simple tab class with callbacks that could be extended to do all your tabbing needs at 1.7kb min’d. You could probably get that down to 1k if you really wanted to and didn’t need callbacks. What’s an extra 1.7kb in your Javascript file? You are including a single JS file instead of ten 5kb files, aren’t you?

Source/examples after the break.

» Read more: SimpleTabs: A pure javascript easy tab implementation

Facelift mentioned in print

February 1st, 2010

FLIR has recently been mentioned in a book by author Allan Walker entitled Joomla 1.5: Multimedia. This is a first for the project as far as I know, so I thought it was worth noting. Cool stuff! In other news, I discovered that Rackspace’s cloud hosting site has a nice use of Facelift. It looks so nice that I almost paid for some service right there!

About Joomla 1.5: Multimedia

Joomla! is a content management system designed to organize and deliver content within a web site environment. Multimedia provides us with stunning interactive user experiences and wonderful design options, but it requires discipline and knowledge to utilize it effectively so that we do not alienate our audiences. If you want to display more than just text on your Joomla! pages, this book has been designed for you and is a must-read. It takes you beyond the basics of Joomla! and helps to take full advantage this powerful CMS structure to deliver media-rich web content to your site users.

Click through for the relevant page.

» Read more: Facelift mentioned in print