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

2 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

Leave a reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image