#1 Clock by Proculopsis 05.08.2012 13:49

avatar

Here's my attempt at a forum clock, there must be a better way, any suggestions?


Administration > Layout > Header & Footer > Footer

1
2
3
4
5
6
7
8
9
10
11
 
<div id="clock" style="float: left; display: none;">
<embed src=http://flash-clocks.com/extdocs/custom-flash-clock---pd2.swf height=28 wmode=transparent type=application/x-shockwave-flash></embed>
</div>
 
<script>
jQuery( document ).bind( "ready", function() {
 
$("div.topnavigation_wrap").prepend( $("#clock").show() );
 
});
</script>
 

#2 RE: Clock by Ingmar 06.08.2012 10:24

avatar

The embed-code itself seems to be correct (I'd place it in the "footer"-section just to make sure Jquery is done loading before the code is executed).

I'm sure you'll find tons of JS-clocks with a simple google search.

Xobor Create your own Forum with Xobor