You are here: navbar with submenus « HTML « IT news, forums, messages
navbar with submenus

Posted by Ryan. on 10/18/07 20:38

Hi All,

I want to create an external file for my navigation bar (using the PHP
"include") with submenus and I do not want the submenu to be displayed
unless the user is at that particular page. Here is an example of
what I want.

Navbar:
Option 1
Option 2
->subOption 1
->subOption 2
Option 3
->subOption 1
->subOption 2
->subOption 3
Option 4
Option 5
->subOption 1
->subOption 2

If the user is at the page 'Option 3' then I want its submenu to be
displayed but not the subenus for Options 2 and 5. I have searched
this group and Google and I can't seem to find the answer that I
want. I'm not familiar with PHP except for the 'include' option but I
figure this can be done using it. Any assistance will be greatly
appreciated.

Thanks,
Ryan.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация