<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1002368" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1002368</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010578</link>
    <description> &lt;p&gt;I have also been very disapointed with the support at Dynamic Drive -I have in fact written several times and never recieved an answer... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
JP &lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
The Webmaster Promotion and Resource Center.&lt;br /&gt;
&lt;strong&gt;Visit:&lt;/strong&gt; &lt;a href=&quot;http://www.what-next.com&quot; class=&quot;bb-url&quot;&gt;http://www.what-next.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 07 Aug 1999 01:11:00 +0000</pubDate>
 <dc:creator>JP Stones</dc:creator>
 <guid isPermaLink="false">comment 1010578 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010577</link>
    <description> &lt;p&gt;benc,&lt;/p&gt;
&lt;p&gt;I had a look at your script and changed a few things, this works for me in IE5:&lt;/p&gt;
&lt;p&gt;&amp;lt;html&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;New Page 1&amp;lt;/title&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;/p&gt;
&lt;p&gt;var moveBox = &amp;quot;&amp;quot;&lt;br /&gt;
var sub; &lt;/p&gt;
&lt;p&gt;function move(m) {&lt;br /&gt;
if (document.layers)&lt;br /&gt;
{&lt;br /&gt;
sub = document.layers[m];&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;else&lt;br /&gt;
{&lt;br /&gt;
sub=document.all(&#039;moveBox&#039;).style; }&lt;br /&gt;
x=parseInt(sub.left);&lt;br /&gt;
if (x&amp;lt;=150)&lt;br /&gt;
{&lt;br /&gt;
x+=5;&lt;br /&gt;
sub.left=x;&lt;br /&gt;
setTimeout(&#039;move(&#039;+moveBox+&#039;)&#039;, 100);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;#&amp;quot; onClick=&amp;quot;move(&#039;moveBox&#039;); return false&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;p&amp;gt;&amp;lt;img src=&amp;quot;menu/html.gif&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;25&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;moveBox&amp;quot;&lt;br /&gt;
style=&amp;quot;position:absolute; left:0px; top:131px; width:150;&lt;br /&gt;
height:23; z-index:3; background-color: #FF3333; layer-background-color:&lt;br /&gt;
#FF3333;; visibility: visible&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;Hopefully it works for you to &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Later,&lt;br /&gt;
PJ&lt;/p&gt;
 </description>
     <pubDate>Sat, 07 Aug 1999 00:06:00 +0000</pubDate>
 <dc:creator>PJ</dc:creator>
 <guid isPermaLink="false">comment 1010577 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010583</link>
    <description> &lt;p&gt;Let me throw my hat into the ring. I modified the script from the project cool site. The advantage to this script is you can move from any location to any other location. left to right, right to left, up to down, down to up, and diag. The disadvantage is you have to make sure the distance is divisiable (sp) by the step.&lt;/p&gt;
&lt;p&gt;&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;script language=JavaScript&amp;gt;&lt;br /&gt;
ie4 = ((navigator.appName == &amp;quot;Microsoft Internet Explorer&amp;quot;) &amp;amp;&amp;amp; (parseInt(navigator.appVersion) &amp;gt;= 4 ))&lt;br /&gt;
ns4 = ((navigator.appName == &amp;quot;Netscape&amp;quot;) &amp;amp;&amp;amp; (parseInt(navigator.appVersion) &amp;gt;= 4 ))&lt;/p&gt;
&lt;p&gt;if (ie4){&lt;br /&gt;
 document.write(&#039;&amp;lt;link rel=stylesheet type=&amp;quot;text/css&amp;quot; href=&amp;quot;/styles/dynamic.css&amp;quot;&amp;gt;&#039;)&lt;br /&gt;
}&lt;br /&gt;
else {document.write(&#039;&amp;lt;link rel=stylesheet type=&amp;quot;text/css&amp;quot; href=&amp;quot;/styles/dynamicNS.css&amp;quot;&amp;gt;&#039;)}&lt;/p&gt;
&lt;p&gt;if (ns4) {&lt;br /&gt;
 layerRef=&amp;quot;document.layers&amp;quot;;&lt;br /&gt;
 styleRef=&amp;quot;&amp;quot;;&lt;/p&gt;
&lt;p&gt;} else {&lt;br /&gt;
 layerRef=&amp;quot;document.all&amp;quot;;&lt;br /&gt;
 styleRef=&amp;quot;.style&amp;quot;;&lt;/p&gt;
&lt;p&gt;}  &lt;/p&gt;
&lt;p&gt;function moveDivision(which, startv, finishv, stepv,starth, finishh, steph, speed){&lt;br /&gt;
 if (ie4 ¦¦ ns4){&lt;br /&gt;
 if (startv &amp;lt; finishv){&lt;br /&gt;
  eval(layerRef + &#039;[&amp;quot;&#039; + which +&#039;&amp;quot;]&#039; + styleRef + &#039;.top = startv&#039;);&lt;br /&gt;
  startv=startv+stepv;&lt;br /&gt;
}&lt;br /&gt;
  if (startv &amp;gt; finishv){&lt;br /&gt;
  eval(layerRef + &#039;[&amp;quot;&#039; + which +&#039;&amp;quot;]&#039; + styleRef + &#039;.top = startv&#039;);&lt;br /&gt;
  startv=startv-stepv;&lt;br /&gt;
}&lt;br /&gt;
  if (startv == finishv){&lt;br /&gt;
  eval(layerRef + &#039;[&amp;quot;&#039; + which +&#039;&amp;quot;]&#039; + styleRef + &#039;.top = startv&#039;);&lt;br /&gt;
  startv=startv;&lt;br /&gt;
}&lt;br /&gt;
  if (starth &amp;lt; finishh){&lt;br /&gt;
  eval(layerRef + &#039;[&amp;quot;&#039; + which + &#039;&amp;quot;]&#039; + styleRef + &#039;.left = starth&#039;);&lt;br /&gt;
  starth=starth+steph;&lt;br /&gt;
}&lt;br /&gt;
  if (starth &amp;gt; finishh){&lt;br /&gt;
  eval(layerRef + &#039;[&amp;quot;&#039; + which + &#039;&amp;quot;]&#039; + styleRef + &#039;.left = starth&#039;);&lt;br /&gt;
  starth=starth-steph;&lt;br /&gt;
}&lt;br /&gt;
  if (starth == finishh){&lt;br /&gt;
  eval(layerRef + &#039;[&amp;quot;&#039; + which + &#039;&amp;quot;]&#039; + styleRef + &#039;.left = starth&#039;);&lt;br /&gt;
  starth=starth;&lt;br /&gt;
}&lt;br /&gt;
 }&lt;br /&gt;
setTimeout(&amp;quot;moveDivision(&#039;&amp;quot;+which+&amp;quot;&#039;,&amp;quot;+startv+&amp;quot;,&amp;quot;+finishv+&amp;quot;,&amp;quot;+stepv+&amp;quot;,&amp;quot;+starth+&amp;quot;,&amp;quot;+finishh+&amp;quot;,&amp;quot;+steph+&amp;quot;)&amp;quot;,speed);&lt;br /&gt;
}&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body bgcolor=white onload=&amp;quot;moveDivision(&#039;I&#039;,210,70,2,170,100,1,0); moveDivision(&#039;Love&#039;,70,210,2,100,100,1,0);&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;div id=I style=&amp;quot;position: absolute; top: -100; left: -100;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;img src=&amp;quot;../Assets/Images/IBack.GIF&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;div id=Love style=&amp;quot;position: absolute; top: -100; left: -100;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;img src=&amp;quot;../Assets/Images/IBack.GIF&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;If you can clean this up please do and return the file to me. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Thanks&lt;/p&gt;
&lt;p&gt;By the way the smilies are ; ) without the space&lt;br /&gt;
----------&lt;br /&gt;
My goal in life is found in Phillipians 4:8-9&lt;/p&gt;
 </description>
     <pubDate>Fri, 06 Aug 1999 23:32:00 +0000</pubDate>
 <dc:creator>Jim Shilt</dc:creator>
 <guid isPermaLink="false">comment 1010583 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010582</link>
    <description> &lt;p&gt;Good Job Benc!&lt;/p&gt;
&lt;p&gt;I had finally gotten it to go through the first time also, but the m variable kept coming in as [object] the second time. Now I remember why...doh! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/surprise.png&quot; title=&quot;Shocked&quot; alt=&quot;Shocked&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Glad to see you got it working! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
Page Resource: &lt;a href=&quot;http://www.pageresource.com&quot; class=&quot;bb-url&quot;&gt;http://www.pageresource.com&lt;/a&gt;&lt;br /&gt;
JavaScript City: &lt;a href=&quot;http://www.javascriptcity.com&quot; class=&quot;bb-url&quot;&gt;http://www.javascriptcity.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 06 Aug 1999 19:27:00 +0000</pubDate>
 <dc:creator>John Pollock</dc:creator>
 <guid isPermaLink="false">comment 1010582 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010581</link>
    <description> &lt;p&gt;I GOT IT!!!!!&lt;/p&gt;
&lt;p&gt;ok, i was right about the problem, and just now i figured out how to solve it: it&#039;s all in the parameter passing. take a look at the new setTimeout statement:&lt;/p&gt;
&lt;p&gt;setTimeout(&#039;move(\&#039;&#039;+m+&#039;\&#039;)&#039;, 5)&lt;/p&gt;
&lt;p&gt;stupid parameter passing rules &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;hope this helps someone someday &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;-benc&lt;/p&gt;
 </description>
     <pubDate>Fri, 06 Aug 1999 18:42:00 +0000</pubDate>
 <dc:creator>benc</dc:creator>
 <guid isPermaLink="false">comment 1010581 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010576</link>
    <description> &lt;p&gt;I already have talked to dynamic drive...well i should say i emailed them. haven&#039;t heard since....&lt;/p&gt;
 </description>
     <pubDate>Fri, 06 Aug 1999 18:03:00 +0000</pubDate>
 <dc:creator>benc</dc:creator>
 <guid isPermaLink="false">comment 1010576 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010580</link>
    <description> &lt;p&gt;ok, maybe this will help in solving the problem - what does happen is the layer gets moved that first 5 pixels to the left. it&#039;s the second call (1st recursive call) of the move function that has a problem with the object. that only makes me more confused, but maybe its how i&#039;m passing the parameter recursively that&#039;s screwing me up?&lt;/p&gt;
&lt;p&gt;-benc&lt;/p&gt;
 </description>
     <pubDate>Fri, 06 Aug 1999 17:56:00 +0000</pubDate>
 <dc:creator>benc</dc:creator>
 <guid isPermaLink="false">comment 1010580 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010575</link>
    <description> &lt;p&gt;I cant give you the answer your looking for but if you visit &lt;a href=&quot;http://www.dynamicdrive.com&quot; class=&quot;bb-url&quot;&gt;dynamicdrive.com&lt;/a&gt; they might be able to help you. They have many cross browser scripts that work fine. All you have to do is cut and paste and a good set of instructions are included.&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;a href=&quot;mailto:lloydhass@hotmail.com&quot;&gt;lloydhass@hotmail.com&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.vegas.com.au/~jasper&quot; class=&quot;bb-url&quot;&gt;vegas.com.au/~jasper&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 06 Aug 1999 17:11:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1010575 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recursive-dhtml-animation-having-trouble-moving-layer#comment-1010579</link>
    <description> &lt;p&gt;first of all - thanks a lot pj - that script cetainly worked. but here&#039;s the problem - i&#039;m gonna want to do something like that for about 8 different situations - that means simply inserting the layer id in 8 different functions. *highly* inefficient in case i want to change anything. and besides that, i REALLY want to figure this out since i thought i had it &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;and yes - dynamic drive is sucking too =P&lt;/p&gt;
&lt;p&gt;-benc&lt;/p&gt;
 </description>
     <pubDate>Fri, 06 Aug 1999 04:49:00 +0000</pubDate>
 <dc:creator>benc</dc:creator>
 <guid isPermaLink="false">comment 1010579 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
