[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-24 Thread Martin Hughes
Sorry Hugh - didn't mean to send it just to you!! Hi! Thanks for the help! It works great, but I've now made the array 2 dimensional: Les Misérables" => array ("About Les Misérables"), "Introduction" => array ("About Les Misérables"), "Changes & Cuts" => array ("About Les Misérables"),

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Martin Hughes
Thanks everyone for the help!!! Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Hugh Bothwell
"Martin Hughes" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK here's the code in the page: > > > > > > > Welcome > > Home > Introduction > Changes & Cuts > Scores > Orchestra > Synthesizers > Sound System > Articles > 21st Century Les > Misérables >

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Gabe da Silveira
Okay, well you could either put code like this into each td cell like this: > That is kind of ugly, however. A more elegant solution would be to make an array containing the links then do a loop kind of like this (I'm just typing the code off the top of my head, so there is likely to be some

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Martin Hughes
OK here's the code in the page: Welcome Home Introduction Changes & Cuts Scores Orchestra Synthesizers Sound System Articles 21st Century Les Misérables Information Discussion Forums I am using this 1 page as the php 'template' with content added depending on the url. For example, to

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Gabe da Silveira
Is the menu part of each page? Or is it a separate file/script that gets included in each page? Or is the navigation in a separate frame? If the menu is hard-coded into each page, then there's no reason to use PHP, because you have to modify each page ANYWAY, so you might as well just set eac