Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script won't work on Mac IE

Status
Not open for further replies.

jonohara

Technical User
Mar 26, 2000
53
GB
Hi, I'm having a problem with getting this image scroller to work on Mac IE (works fine in windows).
----this is in the head tag-------
Code:
<SCRIPT language=&quot;JavaScript&quot;>
var iTimer;
function timeIt2()
{
iTimer = setInterval(&quot;scrollIt2()&quot;,50);
}
function timeIt()
{
iTimer = setInterval(&quot;scrollIt()&quot;, 50);
}
function stopIt()
{
clearTimeout(iTimer)
window.document.recalc(true)
}
function scrollIt2()
{Layer2.doScroll(&quot;right&quot;);
}
function scrollIt()
{
Layer2.doScroll(&quot;left&quot;);
}
</SCRIPT>
-------------------------

and the following is an image of an arrow

Code:
<td><img src=&quot;assets/layout/index_r10_c4.gif&quot; alt=&quot;scroll right&quot; name=&quot;index_r10_c4&quot; width=&quot;22&quot; height=&quot;42&quot; onmouseover=&quot;timeIt(1)&quot; onmouseout=&quot;stopIt()&quot;></td>


Thanks
 
You'd need to post more of your code (i.e. the complete code).

We have no idea how Layer2 has been set up.

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top