clocks
+3
dudey_x
pauldemonteverde
skorpy
7 posters
Page 1 of 1
clocks
I wanted to add a clock to my forum,but I cant add <embed src="http code only http.How am I able to add a clock as I ave looked on the internet and they all come with <embed src="http codes
Re: clocks
you can place it
at the Portal:
Admin Panel >> Portal >> Portal Structure >> Create A Custom Block
Put the codes on the text area click <> and paste the codes then save it.
at the Homepage:
Admin Panel >> General Admin >> Homepage
Put the codes on the text area click <> and paste the codes then save it.
at the Portal:
Admin Panel >> Portal >> Portal Structure >> Create A Custom Block
Put the codes on the text area click <> and paste the codes then save it.
at the Homepage:
Admin Panel >> General Admin >> Homepage
Put the codes on the text area click <> and paste the codes then save it.
Re: clocks
I knew I could do one there..but I already have something there that I got no room for a clock,Or it would look too much.
I wanted the clock at the bottom left of the forum where the box is under who is online.
I wanted the clock at the bottom left of the forum where the box is under who is online.
Re: clocks
i have 1 on my MAIN site & forum/Accounts System.
here is the code
here is the code
- Code:
<span id="liveclock" style="position:absolute;left:0;top:0;">
</span>
<script language="JavaScript">
<!--
/*
*/
function show5(){
if (!document.layers&&!document.all&&!document.getElementById)
return
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="PM"
if (hours<12)
dn="AM"
if (hours>12)
hours=hours-12
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here to your desire
myclock="<b>It Is Currently:</br>"+hours+":"+minutes+":"
+seconds+" "+dn+"</b>"
if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}
else if (document.all)
liveclock.innerHTML=myclock
else if (document.getElementById)
document.getElementById("liveclock").innerHTML=myclock
setTimeout("show5()",1000)
}
window.onload=show5
//-->
</script>
Re: clocks
here is one more code
- Code:
<html>
<head>
<script type="text/javascript">
function startTime()
{
var today=new Date();
var h=today.getHours();
var m=today.getMinutes();
var s=today.getSeconds();
// add a zero in front of numbers<10
m=checkTime(m);
s=checkTime(s);
document.getElementById('txt').innerHTML=h+":"+m+":"+s;
t=setTimeout('startTime()',500);
}
function checkTime(i)
{
if (i<10)
{
i="0" + i;
}
return i;
}
</script>
</head>
<body onload="startTime()">
<div id="txt"></div>
</body>
</html>
Strike- New Member
- Posts : 24
Reputation : 0
Language : English
Re: clocks
Was wondering where would these codes go for putting a clock on your forum but not in a widget ? not really sure but thought I would ask, do they go in the CSS is so exactly where please, still learning all this stuff , Thank You for your time and help
Rowdy- Forumember
- Posts : 29
Reputation : 0
Language : English
Re: clocks
Why would you need a clock if the time is already on the forum home page? It is not a clock but info telling you the current time (your own preference of time zone from your profile info).
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum