FTalk

FTalk

Welcome guest! Please Login or Register.

#1  2008-08-03 05:19:48

---xXirukiTepe---
---xXirukiTepe---'s display avatar
» SuperFTalker
FTalk Level: 6
Everyone ♥♥♥ Me!Topic InitiatorTop PosterSome FTalkers ♥ My Threads!
Anadipsic en Sarcophilous
KARAKURA TOWN
11014
1302
Website

Various time of d world (add on)

for ur onload handler... use an iframe script...

simply add this 4 ur overlay ...proffy...


simply, put it inside ur body tag...
^_^

preview: http://xiruki.fileave.com/various.htm



<table border="0" width="200" cellspacing="0" cellpadding="3">
<form name="where">
  <tr>
    <td width="100%">
<select name="city" size="1" onchange="updateclock(this);">
<option value="" selected>Local time</option>
<option value="0">London GMT</option>
<option value="1">Rome</option>
<option value="7">Bangkok</option>
<option value="8">Hong Kong</option>
<option value="9">Tokyo</option>
<option value="10">Sydney</option>
<option value="12">Fiji</option>
<option value="-10">Hawaii</option>
<option value="-8">San Francisco</option>
<option value="-5">New York</option>
<option value="-3">Buenos Aires</option>
</select>

</td>
  </tr>
  <tr>
    <td width="100%">
<script language="JavaScript">

/*
Drop Down World Clock- By Learn iran (http://www.webloger.5u.com)
Portions of code by Kurt @ http://www.webloger.5u.com/
This credit notice must stay intact
*/

if (document.all||document.getElementById)
document.write('<span id="worldclock" style="font:bold 16px Arial;"></span><br>')

zone=0;
isitlocal=true;
ampm='';

function updateclock(z){
zone=z.options[z.selectedIndex].value;
isitlocal=(z.options[0].selected)?true:false;
}

function WorldClock(){
now=new Date();
ofst=now.getTimezoneOffset()/60;
secs=now.getSeconds();
sec=-1.57+Math.PI*secs/30;
mins=now.getMinutes();
min=-1.57+Math.PI*mins/30;
hr=(isitlocal)?now.getHours():(now.getHours() + parseInt(ofst)) + parseInt(zone);
hrs=-1.575+Math.PI*hr/6+Math.PI*parseInt(now.getMinutes())/360;
if (hr < 0) hr+=24;
if (hr > 23) hr-=24;
ampm = (hr > 11)?"PM":"AM";
statusampm = ampm.toLowerCase();

hr2 = hr;
if (hr2 == 0) hr2=12;
(hr2 < 13)?hr2:hr2 %= 12;
if (hr2<10) hr2="0"+hr2

var finaltime=hr2+':'+((mins < 10)?"0"+mins:mins)+':'+((secs < 10)?"0"+secs:secs)+' '+statusampm;
if (document.all)
worldclock.innerHTML=finaltime
else if (document.getElementById)
document.getElementById("worldclock").innerHTML=finaltime
else if (document.layers){
document.worldclockns.document.worldclockns2.document.write(finaltime)
document.worldclockns.document.worldclockns2.document.close()
}


setTimeout('WorldClock()',1000);
}

window.onload=WorldClock
//-->
</script>

<!--Place holder for NS4 only-->
<ilayer id="worldclockns" width=100% height=35><layer id="worldclockns2" width=100% height=35 left=0 top=0 style="font:bold 16px Arial;"></layer></ilayer>

</td>
</form>
  </tr>
</table>


credits: web logger

Last edited by ---xXirukiTepe--- (2008-08-03 05:43:42)

                    

03_khine_03[?] likes this topic.

#2  2008-08-03 06:30:16

03_khine_03
 KHiMMY
03_khine_03's display avatar
» FTalkGeek
FTalk Level: zero
eLLur :)
ReNeGaDeS de Alliance
earth malamang :)
1332
43
Website

Re: Various time of d world (add on)

1st to comment wat a nice Add on


Definitely I'm gone :)

#3  2008-08-03 09:18:19

Lordheinz
 aynztot
Lordheinz's display avatar
» FTalkElite
FTalk Level: zero
Some FTalkers ♥ Me!Some FTalkers ♥ My Threads!
Friendstertalk University
dubai.U.A.E.
5194
242
2010-02-28
Website

Re: Various time of d world (add on)

it doesnt have phils and uae? :eh:

#4  2008-08-04 03:49:33

---xXirukiTepe---
---xXirukiTepe---'s display avatar
» SuperFTalker
FTalk Level: 6
Everyone ♥♥♥ Me!Topic InitiatorTop PosterSome FTalkers ♥ My Threads!
Anadipsic en Sarcophilous
KARAKURA TOWN
11014
1302
Website

Re: Various time of d world (add on)

in local time... i think.

anyway.thnx... ahaha

#5  2008-08-04 11:06:30

Archerie
 Cherry
Archerie's display avatar
» FTalker
FTalk Level: zero
maldita gurlz
Barkada Trip
Cavite
186
25
2009-05-03

Re: Various time of d world (add on)

for wat toh? pls tell me

#6  2008-08-05 10:06:04

shia chan
 ZSHiA
shia chan's display avatar
» FTalkManiac
FTalk Level: zero
just compramising!~ XD
Barkada Trip
konohagakure
652
56
2009-11-02
Website

Re: Various time of d world (add on)

geeezz..
thnx foe sharing^^

#7  2008-08-17 05:39:42

gratitude1
gratitude1's display avatar
» Promoter
FTalk Level: 4
Novice PromoterFTalkers ♥♥ Me!
2720
609

Re: Various time of d world (add on)

nice

tnx for sharing!

#8  2008-08-17 06:27:17

miztahz
 Im the man without clothes
miztahz's display avatar
» FTalkManiac
FTalk Level: zero
Hello! ^,~!
Manila,.
679
17
2010-02-12
Website

Re: Various time of d world (add on)

gratitude1 wrote:

nice

tnx for sharing!

yeah this is nice,.

for me this is not a Gr8

:arrow: this is Perfect =)

tnx for sharing :penguin:

love it,...


x---------------------------x
i cant live without you!
x---------------------------x

#9  2009-01-16 17:23:38

---xXirukiTepe---
---xXirukiTepe---'s display avatar
» SuperFTalker
FTalk Level: 6
Everyone ♥♥♥ Me!Topic InitiatorTop PosterSome FTalkers ♥ My Threads!
Anadipsic en Sarcophilous
KARAKURA TOWN
11014
1302
Website

Re: Various time of d world (add on)

no problemo ahhaha

Search Friendstertalk

Moderated by Ephemeral, aysbeaux

Board footer

The F Talk dot com
© 2002–2010 PunBB

Current time is 07:53:53 GMT

[ 13 queries - 0.025 second ]
Powered by SyntheticNetwork

FTalk

Welcome to FTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)

( hide )