Re: Links hierarchy maintenance
| From: | Per Jessen | Date: | Sun, 09 Mar 2008 10:05:26 +0000 |
| Subject: | Re: Links hierarchy maintenance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271169@lists.php.net to get a copy of this message | ||
Adil Drissi wrote:
> Hi,
>
> 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.
CSS ? If that's not enough to alter the display, you need to make your
includes sensitive to or aware of the context they're being included
in.
/Per Jessen, Zürich