Browse DevX
Sign up for e-mail newsletters from DevX


Generate Tabbed Interfaces Automatically With JavaScript OOP

It seems like everyone uses the folder tab metaphor on their Web pages these days. Find out how you can do it too.

y last DHTML solution showed you how to create a tabbed user interface (UI). Unfortunately, the code to write the UI was specific for each document. It would be far more convenient to have a way to generate such interfaces automatically using generic routines. That way, you could create as many tabbed UIs as you need—without repeating the code each time.

Creating tabbed interfaces is straightforward, but tedious and document-specific. How can you automate the process and make it reusable?

Mixing object oriented programming(OOP) with some clever string tricks makes creating the tabbed UI generator a snap!

Thanks for your registration, follow us on our social networks to keep up-to-date