Tutorials

Digitale Uhr mit einem Link Tutorial

Einloggen
Benutzername:
Passwort:

Passwort vergessen?
Kostenlos
Anmelden
anzeigen
Digitale Uhr mit einem Link


3814 - utilitybox - 03.06.2008 09:22 Uhr - Version: 1 - - verlinken als BB-Code


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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<HTML>
<HEAD>
<style type="text/css">
<!--
a {  
    color: magenta; 
    text-decoration: none;
}

a:hover {  
    color: lime; 
    text-decoration: none;
}
-->
</style>
</HEAD>
<BODY  bgcolor="#000000" text="orange" onLoad="DigitalTime()">

<br><br>
<table  border="0" width="80%" cellpadding="6">
    <tr>
        <td height="300">
        <span id="liveclock" style="position:absolute;left:265px;top:100px;">
<script language="javascript" type="text/javascript">

<!--
//Utility Box - http://www.utilitybox.altervista.org
function DigitalTime()

{
 
      if (!document.layers && !document.all)
     
    return
 
     var DigitalClock = new Date();
 
     var hours = DigitalClock.getHours();
 
     var minutes = DigitalClock.getMinutes();
 
     var seconds = DigitalClock.getSeconds();
    
      var dn = "";
    
     if (hours > 24)
            
    if (hours == 0)
    
         hours = 24;
        
     if (minutes <= 9)
        
         minutes = "0" + minutes;
    
     if (seconds <= 9)
            
         seconds = "0" + seconds;
                
        
        
    digclock = "<font size='5' face='Arial' color='orange'><b>" +
    "<font size='4'>Es ist jetzt:   </font><b>" +
    "<a href='http://www.utilitybox.altervista.org'>" + 
    hours + ":" + minutes + ":" + seconds + " " + dn + "</a></b>Uhr.</font>";

    if (document.layers)
    
    {
        document.layers.liveclock.document.write(digclock);
        
        document.layers.liveclock.document.close();
        
    }
    
    else if (document.all)
    
        liveclock.innerHTML = digclock;
    
setTimeout("DigitalTime()",1000)
 
 
 }

//-->
</script>
        </SPAN>
        </td>
    </tr>
</table>
<body>
</HTML>


Mitglieder-Kommentare


#2 von npage-club
Interessantes Script....
#1 von ntmb
Nettes Tutorials, aber du solltest bei den nächsten Tutorials mehr Erklärung reinpacken. Leider hab ich auch festgestellt das dieses Script nicht unter Firefox funktioniert. Smily NR:9

mfg Eugen
Der freundliche Admin aus der Nachbarschaft
Lachecke.de - Dein täglicher Lacher im Internet
Listrank.de - Die ultimative Topliste nach Themen

Nur registrierte Mitglieder könnten einen Kommentar schreiben.

Melde dich doch ganz einfach an, es ist kostenlos. :-)