Tabbed menu

Discussion in 'HTML & Website Design' started by pitttih, Feb 6, 2008.

Thread Status:
Not open for further replies.
  1. #1
    i want to create tabbed menus for my website. ( with php )
    here is an example, click on one of those menu to see.. : http://citehealth.com

    i want if menu is active.. For example, if I'm on the About Us page of a website, the About Us navigational tab should use a class. (css)

    the code should be something like this :

    <li (start php)class="blah"(end php)><a href="/blah"></a></li>
    Code (markup):
    php code should be inside (start php) and ended at (end php)

    thanks,
     
    pitttih, Feb 6, 2008 IP
  2. ayushsaran

    ayushsaran Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    How are you creating the pages, manually in html ?

    or generated via PHP
     
    ayushsaran, Feb 9, 2008 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The best way to go about this is to use the Sliding Doors technique combined with a "current-page" class or ID being fed to the current page via a server-side programming language.
     
    Dan Schulz, Feb 10, 2008 IP
Thread Status:
Not open for further replies.