| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] Skin Changes with Time of Day | |
|---|---|
| Tweet Topic Started: Jun 28 2011, 02:40 PM (266 Views) | |
| MasterHiku | Jun 28 2011, 02:40 PM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
Board Address: Private Board Software: ZetaBoards Description: I would like a code that will change the skin with the time of day it is. For instance in my situation, if the time is between 7am - 6pm it will display the DayTime skin. If it's 6:01pm -6:59am then it will display the nighttime skin. Thanks for the help!
|
![]() |
|
| Cory | Jun 28 2011, 02:48 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
This is fairly simple if you want to change the CSS only, if you want to change the Theme Layout contents as well, it will require something more complex. |
![]() |
|
| MasterHiku | Jun 28 2011, 02:49 PM Post #3 |
|
Member
![]() ![]() ![]() ![]()
|
Yes, just the CSS; buttons and everything else would simply stay the same. |
![]() |
|
| Cory | Jun 28 2011, 03:21 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Admin CP Themes Board Template Below the BoardHopefully that will work, this is my first time trying out date objects. |
![]() |
|
| MasterHiku | Jun 28 2011, 03:41 PM Post #5 |
|
Member
![]() ![]() ![]() ![]()
|
I couldn't get it to work, not sure if I did it correct I put the links to the CSS's Where it said "Night Time CSS Link" and "Daytime CSS Link" |
![]() |
|
| Cory | Jun 28 2011, 03:45 PM Post #6 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Please post the code you tried to use. |
![]() |
|
| MasterHiku | Jun 28 2011, 03:46 PM Post #7 |
|
Member
![]() ![]() ![]() ![]()
|
|
![]() |
|
| Cory | Jun 28 2011, 03:54 PM Post #8 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try that instead. |
![]() |
|
| MasterHiku | Jun 28 2011, 03:56 PM Post #9 |
|
Member
![]() ![]() ![]() ![]()
|
It worked! Thanks a bunch!
|
![]() |
|
| ElementalAlchemist-ZNR | Jun 28 2011, 07:37 PM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:30 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)


Themes
8:30 PM Jul 10