Reply to Re: Where would I put this markup and script

Your name:

Reply:


Posted by Nico Schuyt on 02/06/06 05:29

Barbara de Zoete wrote:
> Here is a first example of a horizontally layed out menu bar (though
> not with images; that's not that hard to achieve though):
> <URL:http://www.pretletters.net/_test/voorbeeld_horizontaal-menu.html>
> And here is a vertically layed out menu using images:
> <URL:http://www.pretletters.net/_test/css_rollover_met_images.html>

> Don't know about the include, but if, as you state, the nav bar is
> going to be different on every page, it seems not possible to me to
> use an include.

In the include:

$page=basename($_SERVER['PHP_SELF']);
if ($page=="index.php"){
echo ""; //Coding for active page
}else{
echo ""; //Code for other page
}

--
Nico Schuyt
http://www.nicoschuyt.nl/

[Back to original 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

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