Jump to content

Alternating Css Files


genkidave

Recommended Posts

Hey guys! Merry X-Mas!

 

OK, I've had advice on this question, but I still can't find any specific code for it.

 

Here's the problem:

 

I have 4 different css files that are related to the 4 different seasons (spring.css, summer.css, fall.css and winter.css)

 

OK, what I want is to find some code that I can insert into my web page that will automatically activate a particular css file according to a starting date and an ending date.

Eg: The winter.css file will be activated on the first day of winter up until the last day of winter, which is when the spring.css file will be activated.

 

I'm currently reading a book about JAVA 2, but I'm one of the most illogical people known to man, therefore I'm having a difficult time grasping the concept. VB is no problem, so long as I'm creating an application (and I'm reading the book) , but at least I'm trying... :dance:

 

Anyway, is there a specific java script out there that will do this, and if not, are there any eager beavers out there who might find this concept a nice little challenge and be nice enough to share it with me, or ALL OF US???

 

P L E A S E!!!!! :dance:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...