Re: Links hierarchy maintenance

From: Date: Mon, 10 Mar 2008 01:13:29 +0000
Subject: Re: Links hierarchy maintenance
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-271187@lists.php.net to get a copy of this message
Yes like that, but you can consider also that the vertical menu has different style for the link of the current page. Anyway it does not matter for this problem. Can you show us how your php function looks like? Or maybe you are just doing a test for each link for your function to know if it is the link that should be displayed differently. I was wondering if there is a way to do the same thing without the overhead of all that "if " statements. --- tedd <tedd.sperling@gmail.com> wrote: > >Yes this is the correct way to do things. As i > said, > >i'm using different styles for the menus links > >indicating the current page. Suppose my page has > one > >horiontal menu at the top and one vertical menu at > the > >left. In this case, one element of the horizontal > menu > >and one from the vertical menu will be displayed > >differently from the other elements. So the > function > >that will be inluded will be more complex to handle > >this. I was just wondering, how other poeple are > >dealing with that. Of course it is feasable, but i > >want to do it the best way. > > > >I hope the problem i posted is clearer now > > Two menus, do you mean like this: > > http://webbytedd.com/clients/beckyscan/about-company.php > > It's still just css and php -- simply a logic > problem. > > Cheers, > > tedd > > > -- > ------- > http://sperling.com ‰ > u²T/än9åi8Î�g«http://ancientstones.com > http://earthstones.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

« previous php.general (#271187) next »