<html>
<head>
<style type="text/css" media="screen">
<!--
body
{
border-width: 0px;
overflow: auto;
padding: 0px;
margin: 0px;
}
#bild
{
position: absolute;
left: 30px;
}
//-->
</style>
<script language="JavaScript" type="text/javascript">
<!--
function grafik()
{
var breite = (window.innerWidth ) ? window.innerWidth : document.body.offsetWidth;
var stop = breite - 190;
var stand = document.getElementById('bild').offsetLeft;
if (stand >= stop)
return false;
else
document.getElementById('bild').style.left = (stand + 2) + 'px';
setTimeout('grafik();', 20);
}
//-->
</script>
</head>
<body onload="grafik();">
<img id="bild" src="./test.jpg" border="0" width="161" height="115" alt="" />
</body>
</html> |