[jQuery] setInterval not working
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=375441617-18102007><FONT face=Arial size=2>hi
friends,</FONT></SPAN></DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial size=2>can someone tell me
what i'm doing wrong:</FONT></SPAN></DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial size=2>i'm implementing a
list displayed horizontally, that should position itself according to the user
position. if the mouse is in the extreme left, div should move to the left
rapidly, if it is in middle left, it should move half the speed, etc.
</FONT></SPAN></DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial size=2>this is my
code: <A href="http://m2.lab-au.com/_js/frontend/datascape.js"><U><FONT
color=#0000ff
size=2>http://m2.lab-au.com/_js/frontend/datascape.js</U></FONT></A></FONT></SPAN></DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial size=2>check this
prototype :<FONT size=2> </FONT><A
href="http://m2.lab-au.com/proto_metalab2_datascape.htm"><U><FONT color=#0000ff
size=2>http://m2.lab-au.com/proto_metalab2_datascape.htm</U></FONT></A></FONT></SPAN></DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial size=2>it appears the
function responsible for updating the zone position is only triggered once,
whereas it is launched via a setInterval, so i assumed it should be triggered
every n millisecondds.</FONT></SPAN></DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial size=2>Could someone
enlighten me?</FONT></SPAN></DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=375441617-18102007><FONT face=Arial size=2>thanks a
lot,</FONT></SPAN></DIV>
<DIV> </DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Verdana">Alexandre
Plennevaux - <SPAN class=SpellE><SPAN class=GramE>LAb</SPAN></SPAN><SPAN
class=GramE>[</SPAN>au] <SPAN class=SpellE>asbl.vzw</SPAN></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"> / </SPAN><SPAN
class=SpellE style1="style1"><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana">MediaRuimte</SPAN></SPAN><BR><SPAN
class=SpellE><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">Lakensestraat</SPAN></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">/Rue de Laeken
104<BR></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">B-1000
Brussel-Bruxelles-Brussels<BR></SPAN><SPAN class=SpellE><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">Belgie</SPAN></SPAN><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">-Belgique-<SPAN
class=SpellE>Belgium</SPAN></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">Tel:+32(0)2.219.65.55<BR>Fax:+32(0)2.426.69.86<BR>Mobile:+32(0)476.23.21.42<BR><A
title=http://www.lab-au.com/
href="blocked::http://www.lab-au.com/">http://www.lab-au.com<BR></A><A
title=http://www.mediaruimte.be/
href="blocked::http://www.mediaruimte.be/">http://www.mediaruimte.be</A></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"><A
title=http://www.mediaruimte.be/
href="blocked::http://www.mediaruimte.be/"></A></SPAN><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"
xml:lang="EN-GB">__________________________________________________________________________</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana" xml:lang="EN-GB">The
information in this e-mail is intended only for the addressee named above.
If you are not that addressee, please note that any disclosure, distribution or
copying of this e-mail is prohibited.<BR>Because e-mail can be electronically
altered, the integrity of this communication cannot be guaranteed.</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"
xml:lang="EN-GB">__________________________________________________________________________</SPAN></P>
<DIV> </DIV></BODY></HTML>
<BR>
<P><FONT SIZE=2>Ce message Envoi est certifié sans virus connu.<BR>
Analyse effectuée par AVG.<BR>
Version: 7.5.488 / Base de données virus: 269.15.0/1076 - Date: 17/10/2007 19:53<BR>
</FONT> </P>