navbar with submenus

R

Ryan.

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.
 
D

dorayme

"Ryan. said:
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.

Ask at alt.php
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top