Posted by Mark Parnell on 11/22/61 11:39
Deciding to do something for the good of humanity, John Salerno
<johnjsal@NOSPAMgmail.com> declared in alt.html:
> I'd rather use a PHP include to insert this markup on each page, but how
> would I do that and also be sure that the proper element gets the id?
Didn't you ask that the other day? Or was it someone else?
<li<?php if(basename($_SERVER['PHP_SELF']) == 'location.php') {print('
id="uberlink"');} ?>>Home</li>
--
Mark Parnell
Now implementing http://blinkynet.net/comp/uip5.html
Navigation:
[Reply to this message]
|