The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

clocks

+3
dudey_x
pauldemonteverde
skorpy
7 posters

Go down

clocks Empty clocks

Post by skorpy November 20th 2006, 14:00

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
skorpy
skorpy
Forumember

Female Posts : 323
Reputation : 1
Language : 33
Location : uk, somerset

http://babytalk.megabb.com/

Back to top Go down

clocks Empty Re: clocks

Post by pauldemonteverde November 20th 2006, 14:26

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.
clocks Textareaco2

at the Homepage:

Admin Panel >> General Admin >> Homepage

Put the codes on the text area click <> and paste the codes then save it.
pauldemonteverde
pauldemonteverde
Forumember

Male Posts : 238
Reputation : 9
Language : English and Filipino
Location : Pilipinas

http://isanghimig.online-talk.net

Back to top Go down

clocks Empty Re: clocks

Post by skorpy November 20th 2006, 21:11

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.
skorpy
skorpy
Forumember

Female Posts : 323
Reputation : 1
Language : 33
Location : uk, somerset

http://babytalk.megabb.com/

Back to top Go down

clocks Empty Re: clocks

Post by dudey_x August 23rd 2008, 21:25

please help
dudey_x
dudey_x
New Member

Posts : 17
Reputation : 0
Language : english

http://www.game-land.forumotion.com

Back to top Go down

clocks Empty Re: clocks

Post by Codyy August 23rd 2008, 22:20

i have 1 on my MAIN site & forum/Accounts System.

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>
Codyy
Codyy
Active Poster

Male Posts : 1032
Reputation : 16
Language : English
Location : Florida

http://leprym.com

Back to top Go down

clocks Empty Re: clocks

Post by Strike August 23rd 2008, 22:52

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
Strike
New Member

Posts : 24
Reputation : 0
Language : English

Back to top Go down

clocks Empty Re: clocks

Post by dudey_x August 25th 2008, 18:22

i need a English one plz
dudey_x
dudey_x
New Member

Posts : 17
Reputation : 0
Language : english

http://www.game-land.forumotion.com

Back to top Go down

clocks Empty Re: clocks

Post by Rowdy August 26th 2009, 22:22

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 Confused , Thank You for your time and help Wink
Rowdy
Rowdy
Forumember

Posts : 29
Reputation : 0
Language : English

Back to top Go down

clocks Empty Re: clocks

Post by Glad E Olah August 26th 2009, 22:40

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).
Glad E Olah
Glad E Olah
Forumember

Female Posts : 216
Reputation : -1
Language : English
Location : MO USA

http://shoutaroundtheworld.forumotion.com/index.htm

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum