Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
Time season and calendar changes
Seasons Display
So I wanted to have a little season icon and text that would change based on the calendar, so I managed to get this working. Quote:
I pasted this into the protected function setMoneyBar area of class_sidebar.php file. So my code looks like this: Quote:
Day/Night Cycle I also wanted to create a code for changing my explore page image map based on day and night. So for this I made a page for my image map area called Map. So first you need to create the regular php page in your root folder. public_html. You can call it whatever, but I called mine map.php and inside paste this: Quote:
Paste this into the view file: Quote:
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion Last edited by Micolai; 04-19-2021 at 07:29 PM. |
#2
|
|||
|
|||
This is great! Thanks so much :)
|
#3
|
||||
|
||||
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion |
Tags |
calendar, hour, season, time |
|
|
What's New? |
What's Hot? |
What's Popular? |