Topic: Alternating CSS templates |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: Japan |
posted 11-06-2003 11:25
OK, here's an interesting situation and question that I hope someone can help me with. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-06-2003 12:50
genkidave: Any preference on language? I'm not sure there is the exact script out there that you are looking for but I'm sure there are PHP and JavaScript code out there which would do things like, e.g. display a different background for different seasons (I know I have seen ones that provide a day and night colour scheme). |
Nervous Wreck (II) Inmate From: Japan |
posted 11-06-2003 13:14
Well, I'm not too familiar with scripts because I'm just learning about web design now, but a few people have mentioned PHP and JavaScript, but I'm not sure which key words to use when searching. I'm used: |
Maniac (V) Mad Scientist From: :morF |
posted 11-06-2003 13:37
Javascript would probably be your go-er there, unless you want to dynamically generate your page each time it loads. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-06-2003 14:15
genkidave: PHP is a server-side language and you'd have to check with your host to see if it is installed (it is popular though). All you'd need to do is use the date fucntions: |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-06-2003 14:21
This code uses JavaScript to display an image depending on the date: |