Hi Jessen, The question is how to make it aware of the context. Do you know any work dealing with that? Thanks --- Per Jessen <per@xxxxxxxxxxxx> wrote: > 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 > > > -- > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php