<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1013895" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1013895</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Ok, I think I got it...</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-values-my-function#comment-1080512</link>
    <description> &lt;p&gt;Thanks for your help! While I havent figured out a solution, you have helped me to come up with one (by using objects).. &lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Tenke2x&lt;/p&gt;
 </description>
     <pubDate>Tue, 03 Apr 2001 21:04:02 +0000</pubDate>
 <dc:creator>Tenke2x</dc:creator>
 <guid isPermaLink="false">comment 1080512 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-values-my-function#comment-1080501</link>
    <description> &lt;p&gt;If you declare your variables outside of the function, they should retain their values (as was done with the original post). If you declare your variables in the function, they will get reset.  If you don&#039;t declare your variables, they will be null when you first use them (with every call to that function).&lt;/p&gt;
&lt;p&gt;(sound right to everyone?)&lt;/p&gt;
 </description>
     <pubDate>Tue, 03 Apr 2001 20:12:34 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1080501 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>animdemo</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-values-my-function#comment-1080470</link>
    <description> &lt;p&gt;I looked at your source for the animdemo (dont worry I only like to learn not steal!) and found something that I havent tried yet.&lt;/p&gt;
&lt;p&gt;I have come to the conclusion that when I call setTimeout inside of a function, the variables used inside the function are destroyed. I noticed that your SlideCircles(num) function operates in the same way, and yet &quot;num&quot; doesnt lose its incremental value after you call setTimeout recirsively within your function! Why is this only happening in MY code?&lt;/p&gt;
&lt;p&gt;HOWEVER, I also saw some code that went like this:&lt;/p&gt;
&lt;p&gt;someVariable = setTimeout(&quot;someFunctionCall()&quot;, 40);&lt;/p&gt;
&lt;p&gt;Does calling setTimeout this way preserve the values within the function that setTimeout was called in?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Tenke&lt;/p&gt;
 </description>
     <pubDate>Tue, 03 Apr 2001 15:36:48 +0000</pubDate>
 <dc:creator>Tenke2x</dc:creator>
 <guid isPermaLink="false">comment 1080470 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-values-my-function#comment-1080441</link>
    <description> &lt;p&gt;are you wanting to trigger this onload?&lt;/p&gt;
&lt;p&gt;try looking at &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.bratta.com&quot; class=&quot;bb-url&quot;&gt; bratta&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Plus the DHTMLIB 2.0 has all sorts of functions like this. I simply call from my hybrid version of that when I am trying to move divs everywhere.....&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.insidedhtml.com/dhtmllib/page1.asp&quot; class=&quot;bb-url&quot;&gt;dhtml lib 2.0 &lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 03 Apr 2001 07:49:25 +0000</pubDate>
 <dc:creator>detox</dc:creator>
 <guid isPermaLink="false">comment 1080441 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
