clock plugin by Luis Machuca B.
Display a clock in DokuWiki
Last updated on 2008-12-24. Provides Syntax.
No compatibility info given!
| No longer under experimental! |
|---|
Welcome to clock, a simple yet functional attempt to display a clock inside DokuWiki. Using only the basis of PHP and JavaScript, as well as some pretty basic CSS styling… and voilà: the current time, in your browser.
Just do in a line of its own:
{{clock}}
Details:
To download and install this plugin point your DokuWiki's Plugin Manager to the following URL: dw-plugin-clock-latest.zip — this link always points to the most recent release.
It is recommended that you clean your Wiki's cache after installing this plugin.
Demo site is up (although, actually, it's the wiki navigation that is the demo for this plugin).
Note language is Spanish but online translators shall do a good job with it.
Only one instance of the clock is allowed to exist in a DokuWiki page. This is by design.
The plugin works correctly with the major releases of both Opera and Firefox. I won't bother to test IE, however, it should render OK even in that attempt of a browser. Note that JavaScript support is required for the plugin to work. If you're using Firefox plugins such as “NoScript” in “ultimate paranoid” mode, you'll see no clock, instead a tag only. Make sure to at least ”allow scripts from the same site” for the clock to work.
Opera 9.5 beta versions have a JS issue where getSeconds() is not correctly implemented, causing the clock to display either ”-1” or ” ” (empty) seconds. It doesn't matter, really: at this point you should be using the 9.6 release.
Download and unpack from the links above to get a view of the Source Code.
The following improvements are planned for the major release (v.1.2):
@font-face support.When will the major be released? Whenever it's ready.
| Other Plugins by Luis Machuca: | plugin:progrecss plugin:tooltip plugin:clock |
|---|
Do you have a question? Using Mosaic? Does the clock actually work in Links? Have an urge to beat me to a pulp unless I release the release?
No worries! Leave your questions here and I will try to answer as politely as I can to avoid being beaten to a pulp.
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported