|
Posted by dorayme on 03/31/07 14:20
In article <Xns99042F6B5511arbpenyahoocom@69.28.186.121>,
Adrienne Boswell <arbpen@yahoo.com> wrote:
> Gazing into my crystal ball I observed dorayme
> <doraymeRidThis@optusnet.com.au> writing in
> news:doraymeRidThis-1B9190.09592031032007@news-vip.optusnet.com.au:
>
> > In article
> ><0001HW.C2334F60000FF348B019F94F@News.Individual.Net>,
> > patrick j <usemywebsite@googlemail.com> wrote:
> >> This is all described rather well in this article here:
> >
> >> <http://alistapart.com/articles/keepingcurrent/>
> >
> >
> > So! A way to get rid of all the hand inserted class="current"s.
> > Excellent.
> >
>
> Yes, dear, and you can even make an array/function to do it. Just make
> your array contain the page names and links, then while loop through
> send the info to the function to see if $thispage is the current page,
> and add your class. Easy peasy!
Like uneaten chocolates, all these wonderful things are there,
one only needs to open the lid and pick and choose.
--
dorayme
Navigation:
[Reply to this message]
|