kasimir83
Lounge-Member
jetzt wende ich mich mit meiner Blödheit an die Öffentlichkeit, warum kommen die Layer vrule0 und vrule 1 nicht an?
<html>
<head>
<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
var h0,h1,v0,v1;
first = true;
function move_start(){
if (first) {
h0 = -1255;
h1 = -1020;
v0 = -800;
v1 = -800;
first = false;
}
if (document.all) {
if (h0<=45) {
document.all.hrule0.style.pixelLeft = h0;
h0 = h0 + 26;
if(h0>45) {
h0=45;
}
}
if (h1<=30) {
document.all.hrule1.style.pixelLeft = h1;
h1 = h1 + 21;
if(h1>30) {
h1=30;
}
}
if (v0<=30) {
document.all.vrule0.style.pixelTop = v0;
v0 = v0 + 46;
if(v0>30) {
v0=30;
}
}
if (v1<=45) {
document.all.vrule1.style.pixelTop = v1;
v1 = v1 + 46;
if(v1>45) {
v1=45;
}
}
if (h0<=45||h1<=30||v0<=30||v1<=45) {setTimeout("move_start()",5);}
}
}
</SCRIPT>
<STYLE TYPE="TEXT/CSS">
#hrule0 {position: absolute; left: -1200; top: 20}
#hrule1 {position: absolute; left: -1200; top: 35}
#vrule0 {position: absolute; left: 30; top: -800}
#vrule1 {position: absolute; left: 45; top: -800}
</STYLE>
</head>
<body background="10a.gif" ONLOAD="move_start()">
<DIV ID="hrule0"><img border="0" src="hrule0.gif" width="80%" height="4"></DIV>
<DIV ID="hrule1"><img border="0" src="hrule1.gif" width="76%" height="2"></DIV>
<DIV ID="vrule0"><img border="0" src="vrule0.gif" width="4" height="74%"></DIV>
<DIV ID="vrule1"><img border="0" src="vrule1.gif" width="3" height="83%"></DIV>
</body>
</html>
<html>
<head>
<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
var h0,h1,v0,v1;
first = true;
function move_start(){
if (first) {
h0 = -1255;
h1 = -1020;
v0 = -800;
v1 = -800;
first = false;
}
if (document.all) {
if (h0<=45) {
document.all.hrule0.style.pixelLeft = h0;
h0 = h0 + 26;
if(h0>45) {
h0=45;
}
}
if (h1<=30) {
document.all.hrule1.style.pixelLeft = h1;
h1 = h1 + 21;
if(h1>30) {
h1=30;
}
}
if (v0<=30) {
document.all.vrule0.style.pixelTop = v0;
v0 = v0 + 46;
if(v0>30) {
v0=30;
}
}
if (v1<=45) {
document.all.vrule1.style.pixelTop = v1;
v1 = v1 + 46;
if(v1>45) {
v1=45;
}
}
if (h0<=45||h1<=30||v0<=30||v1<=45) {setTimeout("move_start()",5);}
}
}
</SCRIPT>
<STYLE TYPE="TEXT/CSS">
#hrule0 {position: absolute; left: -1200; top: 20}
#hrule1 {position: absolute; left: -1200; top: 35}
#vrule0 {position: absolute; left: 30; top: -800}
#vrule1 {position: absolute; left: 45; top: -800}
</STYLE>
</head>
<body background="10a.gif" ONLOAD="move_start()">
<DIV ID="hrule0"><img border="0" src="hrule0.gif" width="80%" height="4"></DIV>
<DIV ID="hrule1"><img border="0" src="hrule1.gif" width="76%" height="2"></DIV>
<DIV ID="vrule0"><img border="0" src="vrule0.gif" width="4" height="74%"></DIV>
<DIV ID="vrule1"><img border="0" src="vrule1.gif" width="3" height="83%"></DIV>
</body>
</html>