Show a Clock On Your Page

nav_first.pngFirst: blog:more-than-just-a-wiki
More than just a Wiki
Edited: 1257947876|%e %b %Y by: pieterh
Comments: 2
Tags: who-watches-the-watchers

nav_prev.pngPrevious: blog:finally-faster-file-uploads
Finally, Faster File Uploads
Edited: 1257947876|%e %b %Y by: pieterh
Comments: 9
Tags: ghosts-in-the-machine

nav_last.pngLast: blog:mp3-player
MP3 Player
Edited: 1257947876|%e %b %Y by: pieterh
Comments: 10
Tags: music-to-my-ears

nav_next.pngNext: blog:new-price-structure
New prices, 50%-off special offer
Edited: 1257947876|%e %b %Y by: pieterh
Comments: 75
Tags: upgrade-while-its-hot

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:

160.jpg

Comments: 8

Super Cool!
James KanjoJames Kanjo 1257522972|%e %b %Y, %H:%M %Z|agohover

This is super cool!


λ James Kanjo | blog | photos | contact

unfold Super Cool! by James KanjoJames Kanjo, 1257522972|%e %b %Y, %H:%M %Z|agohover
leigerleiger 1257523915|%e %b %Y, %H:%M %Z|agohover

Wow — didn't expect this to make the wikidot blog! :D Thanks pieter!

unfold by leigerleiger, 1257523915|%e %b %Y, %H:%M %Z|agohover
BrunhildaBrunhilda 1257530714|%e %b %Y, %H:%M %Z|agohover

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

unfold by BrunhildaBrunhilda, 1257530714|%e %b %Y, %H:%M %Z|agohover
leigerleiger 1257549559|%e %b %Y, %H:%M %Z|agohover

Brunhilda, please read my answer to this on my blog! XD

  • If you are trying to enter color=red it will not work
  • It must be a hex value (6-digit number)

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:

[[code]]
[[include :leiger:module:analog-clock
|color=ff6633
|timezone=AU-SA
|width=2
|height=2
|title=South Australia
]]
[[/code]]

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.

last edited on 1257549608|%e %b %Y, %H:%M %Z|agohover by leiger + show more
unfold by leigerleiger, 1257549559|%e %b %Y, %H:%M %Z|agohover
pieterhpieterh 1257598087|%e %b %Y, %H:%M %Z|agohover

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…

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.

unfold by pieterhpieterh, 1257598087|%e %b %Y, %H:%M %Z|agohover
BrunhildaBrunhilda 1257584327|%e %b %Y, %H:%M %Z|agohover

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

unfold by BrunhildaBrunhilda, 1257584327|%e %b %Y, %H:%M %Z|agohover
Sorry, on IE (8) this is not working...
Helmuti_pdorfHelmuti_pdorf 1257691747|%e %b %Y, %H:%M %Z|agohover

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 ?

unfold Sorry, on IE (8) this is not working... by Helmuti_pdorfHelmuti_pdorf, 1257691747|%e %b %Y, %H:%M %Z|agohover
Re: Sorry, on IE (8) this is not working...
RobElliottRobElliott 1257694409|%e %b %Y, %H:%M %Z|agohover

This was also reported on the Joomla site so it seems to be something specific to IE8, as it works on IE7.


ad5.png
unfold Re: Sorry, on IE (8) this is not working... by RobElliottRobElliott, 1257694409|%e %b %Y, %H:%M %Z|agohover
Add a new comment

page_revision: 5, last_edited: 1257947876|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License