navbar with submenus

navbar with submenus

am 18.10.2007 22:38:13 von rchughes

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.

Re: navbar with submenus

am 18.10.2007 22:57:07 von dorayme

In article
<1192739893.691275.13200@i13g2000prf.googlegroups.com>,
"Ryan." wrote:

> 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

--
dorayme

Re: navbar with submenus

am 18.10.2007 23:17:29 von rchughes

On Oct 18, 4:57 pm, dorayme wrote:
> Ask at alt.php

Thanks, will do.

Ryan.