ole: Image in fester Position halten

Beitrag lesen

hi y

probiers hiermit:

<HTML>
<HEAD>

<TITLE>BLABLABLA</title>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function setVariables() {
imgwidth=235;  // logo width, in pixels
imgheight=19;  // logo height, in pixels
if (navigator.appName == "Netscape") {
horz=".left";
vert=".top";
docStyle="document.";
styleDoc="";
innerW="window.innerWidth";
innerH="window.innerHeight";
offsetX="window.pageXOffset";
offsetY="window.pageYOffset";
}
else {
horz=".pixelLeft";
vert=".pixelTop";
docStyle="";
styleDoc=".style";
innerW="document.body.clientWidth";
innerH="document.body.clientHeight";
offsetX="document.body.scrollLeft";
offsetY="document.body.scrollTop";
   }
}
function checkLocation() {
objectXY="branding";
var availableX=eval(innerW);
var availableY=eval(innerH);
var currentX=eval(offsetX);
var currentY=eval(offsetY);
x=availableX-(imgwidth+30)+currentX;
y=availableY-(imgheight+20)+currentY;
evalMove();
setTimeout("checkLocation()",10);
}
function evalMove() {
eval(docStyle + objectXY + styleDoc + horz + "=" + x);
eval(docStyle + objectXY + styleDoc + vert + "=" + y);
}
// End -->
</SCRIPT>
</HEAD>

<BODY onload="setVariables(); checkLocation();">

<div id="branding" style="position:absolute; visibility:show; left:235px; top:-50px; z-index:2">
<table width=10 bgcolor=#ffffff><td>
<a href="http://www.uepselon.com" onmouseover="window.status='Danke für den Besuch!';return true" onmouseout="window.status='';return true"><center><img src="uepselon.gif" width="235" height="19" border="0"></center></a></font></td>
</table>
</div>
</body>
</html>

hoffe hab keine tipfehler drin *g*

so long
ole
(8-)>