Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 16:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Server time script(A very easy java script)

Discussion on Server time script(A very easy java script) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2006
Posts: 35
Received Thanks: 1
Server time script(A very easy java script)

Put this in ur body tag
<table>
<td>
<span id="liveclock" style="position:absolute;Change this to left or right:1;change this to bottom or top:1;"></span>

<script language="JavaScript">
<!--



function show5(){
if (!document.layers&&!document.all&&!document.getEle mentById)
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>Current Server Time:</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=myc lock
setTimeout("show5()",1000)
}


window.onload=show5
//-->
</script>
</td>
</table>

A thx would be appriciated
simeman is offline  
Thanks
1 User
Old 12/22/2008, 14:11   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Lol, looks really nice,
I'f found this :
Code:
<div id="time">
<span>Server Time (GMT+1)</span><script language="javascript"><!--
new LiveClock('Verdana','2','white','images/time_bg.gif',' ','','110','0','1','0','0','1');
//--></script>
</div>
YukiXian is offline  
Thanks
1 User
Old 12/22/2008, 15:00   #3
 
Beta Limit's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 493
Received Thanks: 71
Quote:
Originally Posted by YukiXian View Post
Lol, looks really nice,
I'f found this :
Code:
<div id="time">
<span>Server Time (GMT+1)</span><script language="javascript"><!--
new LiveClock('Verdana','2','white','images/time_bg.gif',' ','','110','0','1','0','0','1');
//--></script>
</div>

"Stolen" from the CO website
Beta Limit is offline  
Thanks
1 User
Old 12/22/2008, 16:53   #4
 
-Reflexis-'s Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 412
Received Thanks: 314
wow thanks guys, it is perfect for putting on a event page or something for when and how late there are server events
-Reflexis- is offline  
Old 12/22/2008, 18:07   #5
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Quote:
Originally Posted by Beta Limit View Post
"Stolen" from the CO website
Lol, I'm just saying I found it that way,,,
YukiXian is offline  
Reply


Similar Threads Similar Threads
S4 League SP Script [No Time for a Trainer]
05/26/2010 - S4 League Hacks, Bots, Cheats & Exploits - 23 Replies
Wie gesagt hatte keine Zeit um ein SP Trainer zu erstellen ,von daher wie vorher(sry) SP "Reg" Hack Für die die mit CE 5.6 anfangen können .. Funktioniert auf : 32 u. 64 Bit Limit : 40 Anleitung : -Script starten -S4 starten -Viel Spaß haben
[HTML,PHP,Java] Ref Script
03/05/2010 - Web Development - 3 Replies
Hi ich suche ein kleines! Ref Script. Funktion: Man sollte seinen Namen + EMail Adresse angeben können diese daten sollten dann am besten per email verschickt werden(also an meinem private email). zudem soll man danach einen reflink erhalten, also www.meineseite.de/ref123 oder so... Sobald dann jmd über diesen ref link sich "angemeldet" sollte das dann in einer text datei,tabelle etc. gespeichert werden. (Ref Nr | Ref anmeldungen). ich hoffe ich versteht was ich meine ^^ vll. hat ja jmd....
Java-Script zentrieren
10/31/2009 - General Coding - 2 Replies
Hey, ich bastel im Moment an einer Homepage und wollte die TB-Shoutbox dort einfügen. Diese wird aber leider linksbündig angezeigt. Kann mir jemand sagen wie ich die zentriert bekomme? <li> <h2>Technobase:</h2> <!--> <script src="http://ie7-js.googlecode.com/svn/version /2.0(beta3)/IE7.js" type="text/javascript"></script> ; <!-->
A SCRIPT FOR THE MEAN TIME ^^
10/07/2009 - Grand Chase Philippines - 3 Replies
well i dont know how to make some links but i can teach u how to make a 1 hit KO for the mean time since our editors are busy ^^ 1st find the CRCH2 in this site download it~~~ uhm~ then find the instruction on how to edit files~ i think a thread about it was made pakihanap lang po~ gmtn nyo ung new script ^^ tutal mean time lang kahit d muna mkuha ung new items sorry for the nooby suggestion ^^ well sana nakatulong ^^ search nyo ung CRCH2 and how to do it then use your script.kom (new...



All times are GMT +2. The time now is 16:06.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.