|
Author |
Message |
genkidave
Junior WebHelper
Joined: 05 Nov 2003
Posts: 7
|
Posted:
Wed Nov 05, 2003 6:00 am (20 years, 7 months ago) |
|
Is there a way to have a script that rotates automatically starting on the first of the month?
E.g: There are 4 seasons in the year, and you have created 4 CSS templates for those seasons, then on the day that the season begins (Dec 21 is Winter) then the winter.css file would be activated and display that particualr theme...
Am I making any sense here?
Anyway, if you don't have a short circuit while trying to figure out what I'm asking, and know the answer to the question, PLUS have a script or know where I can find one, please
let me know.
Thanks
Genki Dave |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Nov 05, 2003 6:22 am (20 years, 7 months ago) |
|
A simple PHP script would do it - get the current date, analyse it, echo the right HTML...
Are you familiar with PHP? |
________________________________
|
|
|
|
genkidave
Junior WebHelper
Joined: 05 Nov 2003
Posts: 7
|
Posted:
Wed Nov 05, 2003 7:46 am (20 years, 7 months ago) |
|
Umm, no I'm not very familiar with PHP. I'm just getting started right now.
I know some HTML, but as well all know, hTML just doesn't cut it, but I have to learn the ropes before I get into DHTML, XHTML, XML, PHP, and lot.
Could you possible help me on the script at all, and explain what part of what code means?
I'd be very grateful, because I'm doing this as a sort of present to some family members who want a family website, but have no clue as to how to start, so, me being the computer geek in the family, they asked me to try, so here I am doin research and scratching my head wondering how the heck I got into this mess...
Sorry about the rant there
Genki Dave |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Nov 05, 2003 5:14 pm (20 years, 7 months ago) |
|
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.146281 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |