Quantcast

Forums | MacLife

You are not logged in.

#1 2003-10-21 6:15 pm

jdsmith575
Member
From: Texas Tech Univ.
Registered: 2001-04-09
Posts: 741
Website

Value added approach to style sheets ;)

One of my (many) bosses likes to see fresh content on websites. He seems to think the site should be redone every two or three months. I'm working on a new design and thinking of ways to keep it fresh without doing the whole thing all over again.

My value added approach:
I've got a single background image that sits on the left side of the page. My main style sheet calls the image up at the present time.

I'm going to setup a PHP script that calls up a different background image for the body based upon the date and have it included as a internal style at the top of the page. The one showing now will be for game days.

Two other background images can be seen here.
http://www.casnr.ttu.edu/testing/images … ies_hq.jpg
http://www.casnr.ttu.edu/testing/images … all_hq.jpg

I was impressed with myself. big_smile

Offline

 

#2 2003-10-21 8:50 pm

Basseq
Fixxy of F&S fame
From: D.C.
Registered: 2002-12-18
Posts: 3125
Website

Re: Value added approach to style sheets ;)

Cool idea.

You can always tell your bosses that consistancy is good, too. I mean, how long has Newsweek looked like it does now? USAToday?


Basseq is me, John Whittet.
(Finishing the remainder of the thought expressed in the post has been left as an exercise for the reader.)

Offline

 

#3 2003-10-21 9:30 pm

Dan
Used Member
Registered: 2002-06-18
Posts: 3027

Re: Value added approach to style sheets ;)

You could just use random images / code  shrug


Talk like a pirate day September 19th.

Offline

 

#4 2003-10-22 9:37 am

jdsmith575
Member
From: Texas Tech Univ.
Registered: 2001-04-09
Posts: 741
Website

Re: Value added approach to style sheets ;)

Yeah, but I don't want it random.

A case statement shall be my horse, and I will beat it long after it is dead.

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson