You are here: Re: Need help to code collapsing menu « PHP Programming Language « IT news, forums, messages
Re: Need help to code collapsing menu

Posted by rigga on 07/09/05 11:11

SOR wrote:

> <comp.lang.php , rigga , rigga@hasnomail.com>
> <42cec215$0$22096$ed2619ec@ptn-nntp-reader01.plus.net>
> <Fri, 08 Jul 2005 19:12:36 +0100>
>
>> What is the best way to go about this? I have coded it 'the long way'
>> where there is lots of duplication of code.
>>
>> I hope this all makes sense and that I have explained it clearly.
>>
>> I am new to php so would really appreciate your help as I am totally at a
>> loss on how to best do this.
>>
>
> Using includes should make it quite easy - even for a newbie like me .
>
> blah.php?pass=1 on your main group link .
>
> Assuming you have the nav menu as a include you could do a 'if' and if
> the value is 1 then display the extra sub menu links .
>
> Although , You would need the ?pass=1 on all the sub links as well or
> the sub menu would disappear when you clicked on sub link .
>
> As a fellow php newbie i've found getting stuff working first and then
> trying to tweak and fine tune it later can be useful .
Could you explain further?, how would I get it to highlite the active link?

 

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

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