JQuery UI Tabs allows you to create HTML tabs in a very simple fashion. Listed below are the different steps you need to take:
- Add a reference to the JQuery javascript files
- Add a reference to a JQuery UI css
- Create your tabs by adding an unordered list in a div – note the href=”#tabs-1” part which points to the id of a div which will contain the tab content
- Create the divs which will contain the tab content
- Initialize your tabs by adding some javascript code
Finally your code should look this
Some interesting references:
No comments:
Post a Comment