Scripts - Javascript - Klok images


Klok images

Je eigen klokje in eigen stijl op je website
door simpel de nodige plaatjes aan te passen.

Voorbeeld:




Script:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td align="center"><table border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td><img src="/00200/links.gif" /></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dg8.gif" name="hr1"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dg8.gif" name="hr2"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dgc.gif" name="c"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dg8.gif" name="mn1"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dg8.gif" name="mn2"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dgc.gif" name="c"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dg8.gif" name="se1"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dg8.gif" name="se2"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/dgpm.gif" name="ampm"></td>
          <td bgcolor="#CCCCCC"><img src="/00200/rechts.gif" ></td>
      </table>
      <script language="javascript" type="text/javascript">
<!-- start
dg0 = new Image();dg0.src = "dg0.gif";
dg1 = new Image();dg1.src = "dg1.gif";
dg2 = new Image();dg2.src = "dg2.gif";
dg3 = new Image();dg3.src = "dg3.gif";
dg4 = new Image();dg4.src = "dg4.gif";
dg5 = new Image();dg5.src = "dg5.gif";
dg6 = new Image();dg6.src = "dg6.gif";
dg7 = new Image();dg7.src = "dg7.gif";
dg8 = new Image();dg8.src = "dg8.gif";
dg9 = new Image();dg9.src = "dg9.gif";
dgam= new Image();dgam.src= "dgam.gif";
dgpm= new Image();dgpm.src= "dgpm.gif";
dgc = new Image();dgc.src = "dgc.gif";
function dotime(){ 
theTime=setTimeout('dotime()',1000);
d = new Date();
hr= d.getHours()+100;
mn= d.getMinutes()+100;
se= d.getSeconds()+100;
if(hr==100){hr=112;am_pm='am';}
else if(hr<112){am_pm='am';}
else if(hr==112){am_pm='pm';}
else if(hr>112){am_pm='pm';hr=(hr-12);}
tot=''+hr+mn+se;
document.hr1.src = '/00200/dg'+tot.substring(1,2)+'.gif';
document.hr2.src = '/00200/dg'+tot.substring(2,3)+'.gif';
document.mn1.src = '/00200/dg'+tot.substring(4,5)+'.gif';
document.mn2.src = '/00200/dg'+tot.substring(5,6)+'.gif';
document.se1.src = '/00200/dg'+tot.substring(7,8)+'.gif';
document.se2.src = '/00200/dg'+tot.substring(8,9)+'.gif';
document.ampm.src = '/00200/dg'+am_pm+'.gif';}
dotime();
//end -->
</script> </td>
  </tr>
</table>


Zoek pagina:


Calender / Nieuws

« September 2017 »
Nr Zo Ma Di Wo Do Vr Za
35     12
363456789
371011121314 15 16
38 1718 1920212223
39 24252627282930


Website info

Laatste update

22 Aug.
21 Aug.
26 Mei
27 Jan.

Website

Totaal aantal: 217 pagina's.
Bijgewerkt: 22-08-2017.

Weersverwachting
Leiden
Weeronline.nl - Meer weer in Leidenweeronline.nl Altijd jouw weer