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.

digital clock

+2
Decibel
aLi gFb
6 posters

Go down

digital clock Empty digital clock

Post by aLi gFb January 20th 2008, 10:04 pm

Code:
<center><scripthtml src="http://www.clocklink.com/embed.js"></scripthtml><scripthtml type="text/javascript" language="JavaScript">obj=new Object;obj.clockfile="5010-purple.swf";obj.TimeZone="GMT0200";obj.width=150;obj.height=45;obj.wmode="transparent";showClock(obj);</scripthtml></center>

http://www.clocklink.com/
beyenirisniz.!


Last edited by on January 21st 2008, 1:00 am; edited 1 time in total
aLi gFb
aLi gFb
Forumember

Male Posts : 37
Reputation : 0
Language : Turkish/English/German
Location : Turkey/ÝstanbuL

http://www.fenerbahcem1907.hotgoo.net

Back to top Go down

digital clock Empty Re: digital clock

Post by Decibel January 20th 2008, 10:35 pm

Code:
<SCRIPT LANGUAGE="JavaScript">datetoday = new Date();timenow=datetoday.getTime();datetoday.setTime(timenow);thehour = datetoday.getHours();if (thehour > 18) display = "Evening";else if (thehour >12) display = "Afternoon";else display = "Morning";var greeting = ("Good " + display + "!");document.write(greeting);</scripthtml>&nbsp;It is&nbsp;<scripthtml language="Javascript">   function getime() {   var date= new Date();   var h = date.getHours();   var m = date.getMinutes();   var s = date.getSeconds();   var ampm="A.M.";   if (h > 11) { ampm="P.M." }   if (h > 12) { h-=12 }   if(m<10){ m="0"+m }   if(s<10){ s="0"+s }   clock.innerHTML=h+ ":" +m+ ":" +s+ " " +ampm;   setTimeout("getime()",100)   }</scripthtml><title>Clock</title><span id="clock" class="clock"></span><body onload=getime();>&nbsp;<scripthtml language = "JavaScript">var now = new Date();var dayNames = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");var monNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December");document.write("and today's date is " + dayNames[now.getDay()] + " " + monNames[now.getMonth()] + " " + now.getDate() + ", " + now.getFullYear());</scripthtml>
does this..
Good Afternoon! It is 4:34:18 P.M. and today's date is Sunday January 20, 2008
Will greet with a "Good Morning/Afternoon/Evening" based on your time and the Time is realtime, meaning a running clock.
Decibel
Decibel
Forumember

Male Posts : 201
Reputation : 10
Language : english
Location : Canada

http://decibels.forumsmusic.com

Back to top Go down

digital clock Empty Re: digital clock

Post by tyhodge07 January 20th 2008, 11:58 pm

aLi gFb wrote:
Code:
<center><scripthtml src="http://www.clocklink.com/embed.js"></scripthtml><scripthtml type="text/javascript" language="JavaScript">obj=new Object;obj.clockfile="5010-purple.swf";obj.TimeZone="GMT0200";obj.width=150;obj.height=45;obj.wmode="transparent";showClock(obj);</scripthtml></center>

beyenirisniz.!

how do i get it for 24hrs instead of 12? its reading 17:00 instead of 5:00
tyhodge07
tyhodge07
Forumember

Male Posts : 708
Reputation : 5
Language : english
Location : indiana

http://rcmodzone.all-up.com/

Back to top Go down

digital clock Empty Re: digital clock

Post by directd January 21st 2008, 4:31 pm

where do i put the code to have the clock?
avatar
directd
Forumember

Posts : 204
Reputation : 0
Language : English

Back to top Go down

digital clock Empty Re: digital clock

Post by jinz January 21st 2008, 5:47 pm

directd wrote:where do i put the code to have the clock?

Yeah where do you put it please?
jinz
jinz
Forumember

Male Posts : 146
Reputation : 10
Language : English
Location : computer

Back to top Go down

digital clock Empty Re: digital clock

Post by Luky January 21st 2008, 6:26 pm

You can put it in a custom block on the portal.
Luky
Luky
Energetic

Male Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania

Back to top Go down

digital clock Empty Re: digital clock

Post by aLi gFb April 30th 2008, 12:04 am

http://www.clocklink.com adress clock time's
aLi gFb
aLi gFb
Forumember

Male Posts : 37
Reputation : 0
Language : Turkish/English/German
Location : Turkey/ÝstanbuL

http://www.fenerbahcem1907.hotgoo.net

Back to top Go down

Back to top


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