You are here: Re: A: active link « HTML « IT news, forums, messages
Re: A: active link

Posted by Florida Flamingo on 06/22/06 23:29

Well... thank you. I will fool around with that and see what I can come up
with. Really appreciate the starter kit. :)


"Jim Higson" <jh@333.org> wrote in message
news:IuqdnfA0M5m3jwbZRVny2g@eclipse.net.uk...
> Florida Flamingo wrote:
>
>> Thanks for all the great answers. It looks like what I wanted to
>> accomplish is vastly over my head, as I don't write scripts.
>
> Is is actually really easy in PHP because it can be put in the middle of
> your HTML. You only need something like:
>
> <div id="links">
> <? if( $current_page == 'home' ): ?>
> <span>HOME</span>
> <? else ?>
> <a href="http://www.example.com">HOME</a>
> <? endif ?>
> </div>
>
>
> Not too bad, huh? There's a little more to it than that, but not a great
> deal.
>
> --
> Jim

 

Navigation:

[Reply to this 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

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