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. 


advertisement
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!
  Next Page: Design an Object Oriented Tabbed UI


Page 1: IntroductionPage 4: Create the HTML File
Page 2: Design an Object Oriented Tabbed UIPage 5: Automate the Process
Page 3: Create CSS Style Sheets for the UI