Show a Clock On Your Page
From the desk of pieterh
Via the running-out-of-stripes department, on 1257518133|%e %B %Y, %H:%M
The prodigious Shane Smith writes, "have you ever wanted to add an analog clock to your Wikidot site? I've just created a module that does exactly that!"
Shane's analog-clock module is one of a growing set of reusable Wikidot userspace modules. To use it, add code like this to your Wiki page:
[[include :leiger:module:analog-clock
|color=ff6633
|timezone=PL
|width=2
|height=2
|title=Wikidot Time!
]]
You can choose colors to match your site. Here, a clock that matches the color of the Techno Minimalist theme:






This is super cool!
λ James Kanjo | blog | photos | contact
Wow — didn't expect this to make the wikidot blog! :D Thanks pieter!
— Shane | Blog | CycloDS Revolution | Compatibility List | Want me to manage your next wiki? | XBL: leiger40
Automatic code replacement — Rate it up!
Couldn't we get the code from included page? I mean, this is the page that is at Shane's site, and if something happens to that page (I am not implying that it will happen, but just in case), all the clocks around Wikidot will be broken…
I really do like that clock, and I would like to have it at my site, but I would prefer to have included my page rather than the page from some other site that I don't have any control over it…
Also, I put the color red and it shows orange… Could it be made smaller?
The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. Bertrand Russell
Brunhilda, please read my answer to this on my blog! XD
Can you post here the code you are using?
As for the code… nothing is going to happen to that page — I can assure you. However, if you want the code that can easily be achieved.
Just type the code above and surround it with code blocks, like so:
Then copy and paste the code that you get from that. If you use that copy/pasted code, you will get exactly the same result. The only difference is that it is more confusing when you are editing your source code.
— Shane | Blog | CycloDS Revolution | Compatibility List | Want me to manage your next wiki? | XBL: leiger40
Automatic code replacement — Rate it up!
True. Shane, I'd suggest putting the clock code into modules.wikidot.com, so that it's consistent with all other modules. We may rename the include pages later from numbers to names, and update references.
The Wikidot Blog | My other works
Thanks! I copied the code you provided me at your blog, and it works fine… Thank you once again, Shane… :D
The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. Bertrand Russell
on FF this looks good…( Adobe Flöash 10 player)
What can be the reason ?
Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)
Wollen Sie Wikidot helfen im deutschen » Handbuch ?
This was also reported on the Joomla site so it seems to be something specific to IE8, as it works on IE7.