KsAdmin <ksadmin
NO****@comcast.net> wrote in message news:<t3********************************@4ax.com>. ..
Here you go. The problem you were having is that you had multiple
<body> tags. I just moved the onLoad="DigitalTime()" call up to the
first <body> tag and did away with the redundant one. Hope this helps.
Please let me know if I can help in any other way. Also be careful of
word wrap in your news viewer.
Hi,
thank you for your help.
When I regard the html-code stand-alone in a browser
it is ok now.
I have some html-code created by Dreamweaver. When I insert the
clock-html-code I cannot see the clock.
Where might be a conflict?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<style type="text/css">
<!--
body,td,th {
color: #FFFFFF;
}
body {
background-color: #000000;
margin-right: 0px;
}
..Stil1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW ||
innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</head>
<body text='' link='' vlink='' alink='' bgcolor='000000'
onload="DigitalTime()">
<p>
<center><TABLE cellSpacing="1" cellPadding="1" width="60%"
align="center" border="0" ID="Table1">
<TBODY>
<TR vAlign="top" align="left">
<TD vAlign="top" align="left">
<P align="center"><FONT face="Verdana">
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="100%"
ID="Table2">
<tr>
<td width="100%" height="30"><span id="liveclock"
style="position:absolute;left:10px;top:10px;">
<script
language="JavaScript"><!--
function DigitalTime()
{
if(!document.layers && !document.all)
return
var DigitalClock = new Date();
var hours = DigitalClock.getHours();
var minutes = DigitalClock.getMinutes();
var seconds = DigitalClock.getSeconds();
if (minutes <= 9)
minutes = "0" + minutes;
if (seconds <= 9)
seconds = "0" + seconds;
//change font size here to your desire
digclock = "<font size='4' face='Arial' color='white'><b>" +
"<font size='1'>Uhrzeit:</font></br>" +
hours + ":" + minutes + ":" + seconds + "</a></b></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>
<div id="Layer1" style="position:absolute; width:200px; height:9px;
z-index:1; left: 319px; top: 75px;"><img
src="Grafiken/Willkommenseite/oben_01.gif" width="500"
height="3"></div>
<p> </p>
<p> </p>
<p> </p>
<div id="Layer2" style="position:absolute; width:1px; height:115px;
z-index:2; left: 816px; top: 127px;"><img
src="Grafiken/Willkommenseite/rechts_01.gif" width="3"
height="400"></div>
<div id="Layer3" style="position:absolute; width:200px; height:0px;
z-index:3; left: 119px; top: 527px;"><img
src="Grafiken/Willkommenseite/unten_01.gif" width="700"
height="3"></div>
<div id="Layer4" style="position:absolute; width:2px; height:115px;
z-index:4; left: 119px; top: 188px;"><img
src="Grafiken/Willkommenseite/links_01.gif" width="3"
height="340"></div>
<div id="Layer5" style="position:absolute; width:340px; height:13px;
z-index:5; font-family: Arial, Helvetica, sans-serif; font-size: 16px;
left: 482px; top: 51px; font-weight: bold;">Herzlich Willkommen auf
meiner Homepage </div>
<div id="Layer6" style="position:absolute; width:132px; height:115px;
z-index:10; left: 338px; top: 367px;"><a href="vhdl_start.htm"
target="_self"><img src="Grafiken/Willkommenseite/byte_feld_fpga_kurve.gif"
width="129" height="154" border="0"></a></div>
<div id="Layer9" style="position:absolute; width:211px; height:18px;
z-index:9; left: 614px; top: 541px;"><span
class="Stil1"> <strong>em***@andres-vazquez.de</strong></span></div>
<div id="Layer7" style="position:absolute; width:200px; height:47px;
z-index:11; left: 186px; top: 534px;"><img
src="Grafiken/Willkommenseite/linpipi.gif" width="378"
height="54"></div>
<div id="Layer8" style="position:absolute; width:43px; height:33px;
z-index:12; left: 564px; top: 530px;"><a
href="mailto:em***@andres-vazquez.de"><img
src="Grafiken/Willkommenseite/mail.gif" width="50" height="42"
border="0"></a></div>
<div id="Layer10" style="position:absolute; width:111px; height:80px;
z-index:13; left: 477px; top: 367px;"><img
src="Grafiken/Willkommenseite/fotos.gif" width="129"
height="154"></div>
</body>
</html>