Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| [SC] Pimp My Clock; Make clock live and set to user's time | |
|---|---|
| Tweet Topic Started: Jul 19 2008, 04:25 PM (3,311 Views) | |
| Zoopey | Jul 19 2008, 04:25 PM Post #1 |
|
Can anyone else hear the music?
![]()
|
Name: Clock Upgrade Description: This handy little code replaces the board clock with a live updating one with a seconds field. It also adds a "th", "nd", or "st" after the date, adding that personal touch other boards will not have. It is linked to the viewer's computer so it'll almost always be correct. Preview: Check the bottom of this forum. :shifty: Code:
Put it at the bottom of your theme layout, or in the last box of your board template. Credit goes to Leda for the wonderful code idea. Enjoy! Choco :choco: |
| ♬ Come sail away, come sail away, come sail away with me! ♬-Styx[ustyle][prefix=][suffix=][/ustyle] | |
![]() |
|
| Leda | Jul 19 2008, 04:40 PM Post #2 |
![]()
|
Looks awesome Choco! :wub: |
![]() |
|
| Zoopey | Jul 19 2008, 04:59 PM Post #3 |
|
Can anyone else hear the music?
![]()
|
Thanks Leda! :wub: |
| ♬ Come sail away, come sail away, come sail away with me! ♬-Styx[ustyle][prefix=][suffix=][/ustyle] | |
![]() |
|
| Jesus | Jul 19 2008, 05:31 PM Post #4 |
|
The Holy Savior
![]()
|
OOO This is nice This is going on my forums right now. ![]() Edit: Uh oh Choco I can't seem to get it working on my forums O-o I tried putting it at the end of my theme layout then the very last box of my board templates which would be menu:. Am I doing something wrong here or putting it in the wrong place, or possible have to put it in both places?I am using the exact code at the top as well ![]()
Edited by Jesus, Jul 19 2008, 05:38 PM.
|
![]() | |
![]() |
|
| ZeroVelocity | Jul 21 2008, 07:28 AM Post #5 |
|
Mrs. Tentacles likes chocolate
![]()
|
Same here. |
| NO SIGS 4 U! | |
![]() |
|
| Zoopey | Jul 21 2008, 08:48 AM Post #6 |
|
Can anyone else hear the music?
![]()
|
Update the code with the new one I've posted in the first post and check.
|
| ♬ Come sail away, come sail away, come sail away with me! ♬-Styx[ustyle][prefix=][suffix=][/ustyle] | |
![]() |
|
| Jesus | Jul 21 2008, 08:57 AM Post #7 |
|
The Holy Savior
![]()
|
Ok works nicely now. Thank you for the code.
|
![]() | |
![]() |
|
| davadude | Jul 21 2008, 09:08 AM Post #8 |
![]()
|
This works like a charm! Great code Choco. Question: Is it possible to get the image back? |
![]()
| |
![]() |
|
| Zoopey | Jul 21 2008, 10:51 AM Post #9 |
|
Can anyone else hear the music?
![]()
|
Davadude: You can add it in using CSS. Add this to the bottom of your stylesheet and replace the bold with the URL of the clock image: #foot_datetime { padding-left: 25px; width: 1%; background: url(http://) no-repeat left center; } |
| ♬ Come sail away, come sail away, come sail away with me! ♬-Styx[ustyle][prefix=][suffix=][/ustyle] | |
![]() |
|
| Jesus | Jul 21 2008, 01:55 PM Post #10 |
|
The Holy Savior
![]()
|
Um, It seems to have stop working yet again What went wrong D:
|
![]() | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Zetaboards Modifications · Next Topic » |














This is going on my forums right now. 



What went wrong D:

7:51 PM Jul 10