Das folgende Script, ein einfaches Scrollen, wobei Pfeile und Text auf Ebenen liegen, funktioniert auf dem PC in alles Browsern, nicht aber auf dem Mac im IE. Der Mac gibt keine Fehlermeldung, es bewegt sich einfach nichts. Wer weiß Rat? Ich hänge schon zwei Tage an dem Problem und wäre sehr froh, wenn mir jemand helfen könnte. Brauche ich sowas wie eine Plattformweiche? In der Hoffnung auf eine wissende Person viele Grüße Ingeborg
<html>
<head>
<title>lockes</title>
<style type="text/css"><!--
.siebgrafik { font-family: Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; color: #CAD8E9}
-->
</style>
<script language="javascript">
<!--
nn4=(document.layers)?true:false;
ie4=(document.all)?true:false;
nn6=(document.getElementById && !document.all)?true:false;
var y=1;
function init()
{
if(nn4)
{
texta=document.text;
}
if(ie4)
{
texta=text.style;
}
if(nn6)
{
texta=document.getElementById("text").style;
}
texta.ypos = parseInt(texta.top);
}
function bewege_um(y,ebene)
{
ebene.ypos+=y;
ebene.top=ebene.ypos;
}
function stop()
{
clearTimeout(id);
}
function scrollrunter()
{
if (texta.ypos<100)
{
bewege_um(1,texta)
id=setTimeout("scrollrunter()",1);
}
}
function scrollrauf()
{
if (texta.ypos>=-600)
{
bewege_um(-1,texta)
id=setTimeout("scrollrauf()",1);
}
}
//-->
</script>
</head>
<body onLoad="init()" bgcolor="#020D28">
<div align="right">
<p>text</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10" valign="top" height="472">
<div align="left">
<p> </p>
<div id="pfeilhoch" style="position:absolute; top:1; left:1; visibility: visible;">
</div>
<div id="pfeilrunter" style="position:absolute; top:1; left:1; visibility: visible;"></div>
<p><a href="#" onMouseover="scrollrauf();" onMouseOut="stop();"><img src="logoleiste/sroll1.gif" border=0 width="10" height="14" vspace="5"></a></p>
<p><a href="#" onMouseover="scrollrunter();" onMouseOut="stop();"><img src="logoleiste/sroll2.gif" border=0 width="10" height="14"></a></p>
</div></td>
<td align="left" valign="top" height="472">
<div id="text" style="position:relative; left:1; top:1; visibility:visible">
<table width="100%" border="0" cellspacing="4" cellpadding="0">
<tr align="left" valign="top">
<td width="234" height="1322"> <p> </p>
<p><font face="Arial, Helvetica, sans-serif" size="-1" color="#CAD8E9">Personen</font></p>
<p><font face="Arial, Helvetica, sans-serif" size="-1" color="#CAD8E9">x</font></p>
<p><font color="#CAD8E9" size="-1" face="Arial, Helvetica, sans-serif">x</font></p>
<p><font color="#CAD8E9" size="-1" face="Arial, Helvetica, sans-serif">x</font></p>
</td>
</tr>
</table>
</div>
</td>
</table>
</div>
</BODY>
</HTML>