Topic: Alternating CSS templates (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Japan |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() This code uses JavaScript to display an image depending on the date: |