Re: Calander with highlighting

From: Date: Fri, 05 Jul 2002 02:59:19 +0000
Subject: Re: Calander with highlighting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-105557@lists.php.net to get a copy of this message
Peter wrote:
I'll use that if I have to (which i don't think I do...) but would prefer to do it do that each user has a different colour (there's going to be only around 8 users)
Since your users are identified from a db table, just add a field "CSSproperty" to that table and load the property along with the user, then have it shown when you generate the page (just a <span class"userproperty">number</span> will do the trick). CSS can be used even like this :) You can even have a fully personalized CSS style sheet for each user if they use different monitors/resolutions. Alberto Kiev -- @-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@ LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe TeSt, YeS iT iS ThE tEsT, yEs It Is tHe TeSt, YeS iT iS ThE tEsT, yEs It Is.......

« previous php.general (#105557) next »