Sie sind auf Seite 1von 3

<html>

<head>
<title>table lesson</title>
</head>
<body>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td><img src="top-left.jpg"></td><td><img src="top-right.jpg"></td>
</tr>
<tr>
<td><img src="bot-left.jpg"></td><td><img src="bot-right.jpg"></td>
</tr>
</table>
</body>

<head>
<title>table lesson</title>
</head>
<body>
<img src="http://www.esnips.com/nsdoc/0979e323-08df-49e4-bb5e-37399565b931">
<img src="http://www.esnips.com/nsdoc/687bf514-147d-4617-b0d0-b967f633cd49">
<img src="http://www.esnips.com/nsdoc/0228741f-0345-48a4-8b92-b59307bb3f79">
<img src="http://www.esnips.com/nsdoc/50788096-c26a-448f-8780-ffed2c1252c1">
</body>

<head>
<script type=text/javascript><!--

b=document.all;
c=document.layers;
t1=new array("http://www.esnips.com/nsdoc/a322d5df-2428-4d6f-873d-
cf1cbd583f91",100,100,
"http://www.esnips.com/nsdoc/0aeb1140-b17b-49f6-963c-48ddf8b1a5e5",100,100
"http://www.esnips.com/nsdoc/b3c8306e-db8b-4914-b039-72427a9bdb6f",100,100
"http://www.esnips.com/nsdoc/26ba2658-5540-4d00-9451-59c56cc6efac",100,100
"http://www.esnips.com/nsdoc/85599e4e-8d63-4e96-b621-1333171e21a5",100,100
"http://www.esnips.com/nsdoc/ab791946-fa06-4fd7-b325-16fd88eecf26",100,100
"http://www.esnips.com/nsdoc/32bb6934-e0a0-4277-864d-3987fe0ad535",100,100
"http://www.esnips.com/nsdoc/674bb7ff-4409-47cc-b8d2-75293af167f7",100,100
"http://www.esnips.com/nsdoc/870906c5-5885-496e-8f32-259a3f7d1ed8",100,100
"http://www.esnips.com/nsdoc/6afb923a-ce82-43f6-8c82-f1c179622442",100,100
"http://www.esnips.com/nsdoc/b1b18b2d-37c3-45ca-894a-c43ac7704c16",100,100
"http://www.esnips.com/nsdoc/23ddd45b-6472-4c5f-8055-b0e48e13f22d",100,100
"http://www.esnips.com/nsdoc/d2e1af64-2197-4965-bd98-699e3febc72a",100,100
"http://www.esnips.com/nsdoc/7aa7b8b6-6ccd-4191-a5cb-20aac78e66ec",100,100
"http://www.esnips.com/nsdoc/b27aa273-f7f4-42ce-8e4b-79d6ba1b1195",100,100
"http://www.esnips.com/nsdoc/c3f20193-8b8a-4d39-9ce4-ebba3e1e843e"100,100)
nos=parseint(t1.length/3)
rate=50
ie5fix1=0;
ie5fix2=0;
for (i=0;i<nos;i++){
createcontainer("cur"+i,i*10,i*10,i*3+1,i*3+2,"","<img src='"+t1[i*3]+"'
width="+t1[(i*3+1)]+" height="+t1[(i*3+2)]+" border=0>")}
function createcontainer(n,xp,yp,w,h,at,ht,op,st){
with (document){
write((!b) ? "<layer id='"+n+"' left="+xp+" top="+yp+" width="+w+" height="+h :
"<div id='"+n+"'"+" style='position:absolute;left:"+xp+"; top:"+yp+"; width:"+w+";
height:"+h+"; ");
if(st){
if (c)
write(" style='");
write(st+";' ")
}
else write((b)?"'":"");
write((at)? at+">" : ">");
write((ht) ? ht : "");
if (!op)
closecontainer(n)
}
}
function closecontainer(){
document.write((b)?"</div>":"</layer>")
}
function getxpos(n){
return (b) ? parseint(b[n].style.left) : c[n].left
}
function getypos(n){
return (b) ? parseint(b[n].style.top) : c[n].top
}

function movecontainer(n,dx,dy){
c=(b) ? b[n].style :c[n];c.left=dx;c.top=dy
}
function cycle(){
//if (ie5)
if (document.all&&window.print){
ie5fix1=document.body.scrollleft;
ie5fix2=document.body.scrolltop;
}
for (i=0;i<(nos-1);i++){
movecontainer("cur"+i,getxpos("cur"+(i+1)),getypos("cur"+(i+1)))
}
}
function newpos(e){
movecontainer("cur"+(nos-
1),(b)?event.clientx+ie5fix1:e.pagex+2,(b)?event.clienty+ie5fix2:e.pagey+2
)
}
if(document.layers)
document.captureevents(event.mousemove)
document.onmousemove=newpos
setinterval("cycle()",rate)
//--></script>

</head>

</html>

Das könnte Ihnen auch gefallen