<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<link href="testmain.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="Content">
<a href="#" onmouseover="loop=true; RepertoireObj.up(1);window.status='';return true;" onmouseout="loop=false">nach unten</a>
<a href="#" onmouseover="loop=true; RepertoireObj.down(1);window.status='';return true;" onmouseout="loop=false">nach oben</a>
<br />
<script type="text/javascript">
/* <![CDATA[ */
function init()
{
if(navigator.appName=="Netscape")
{ var w=innerWidth;
document.Repertoire.left=200;
}
else
{ var w=document.body.offsetWidth;
Repertoire.style.left=200;
}
}
var n = (document.layers) ? 1:0;
var ie = (document.all) ? 1:0;
var loop, timer1, timer2;
function makeObj(obj,nest)
{
nest=(!nest) ? '':'document.'+nest+'.';
alert("hallo 1");
this.css=(n) ? eval(nest+'document.'+obj):eval(obj+'.style');
alert("hallo 2");
this.up=goUp;
this.down=goDown;
this.obj = obj + "Object";
eval(this.obj + "=this");
return this;
}
function goDown(speed)
{
clearTimeout(timer1);
clearTimeout(timer2);
if(isNaN(parseInt(this.css.top))) { this.css.top=0; }
this.css.top=parseInt(this.css.top)+3;
if(loop) timer1=setTimeout(this.obj+".down("+speed+")",speed);
}
function goUp(speed)
{
clearTimeout(timer2);
clearTimeout(timer1);
if(isNaN(parseInt(this.css.top))) { this.css.top=0; }
this.css.top=parseInt(this.css.top)-3;
if(loop) timer2=setTimeout(this.obj+".up("+speed+")",speed);
}
function init1()
{
RepertoireObj=makeObj('RepertoireScroll','Repertoire');
init();
}
onload=init1;
/* ]]> */
</script>
<div id="Repertoire">
<div id="RepertoireScroll">
<p>Hier ist der Text den Sie scrollen können ..... <br><br>
Klaus Hentschel´s Java Scripte Seiten..... <br><br>
sind einfach klasse . <br><br>
Hier finden Sie Scripte die Sie sicherlich..... <br><br>
gebrauchen können . <br><br>
Also viel Spaß beim surfen wünscht ihnen ...... <br><br>
<font color="red"><b>das Team !!</font> </b><br><br>
</p>
</div>
</div>
</div>
</body>
</html> |