May 7th, 2007

Easily create CSS tabs with PHP and AJAX

There are many different ways of simplifying an interface, and one of the best is by means of using tabs. I've written a couple of tutorials on making tabbed interfaces with CSS. However, it would be even easier to just have a class that generates the tabs automatically. Well, this class can be used to generate a tab based Web interface.

It generates HTML with Javascript to present a tab bar with links that when clicked switch the content that is presented underneath.

The content is loaded from the server using AJAX to avoid page reloading.

The tab links may have a fallback URL that is used when loading the pages via AJAX is not possible.
Here's the link to the class: http://www.phpclasses.org/browse/package/3824.html

  • Share/Bookmark

4 Responses to ' Easily create CSS tabs with PHP and AJAX '

Subscribe to comments with RSS or TrackBack to ' Easily create CSS tabs with PHP and AJAX '.

  1. nathan said,

    on June 5th, 2007 at 9:47 pm

    ok…ill try

  2. Hafiz said,

    on October 24th, 2007 at 4:56 am

    I was looking for it

  3. rere said,

    on June 25th, 2008 at 7:27 pm

    really great
    i will try it
    thank you

  4. el22or said,

    on September 10th, 2008 at 4:01 pm

    sorry man :(
    i'm look at that and i don't like it
    i need some simplier
    anyway, thanks

Leave a reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word