<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1011937" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1011937</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Thanks</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/multiple-javascripts#comment-1068706</link>
    <description> &lt;p&gt;Thanks, Andy for the URL and Vinny, once again we meet and I learn.&lt;br /&gt;
quiet&lt;/p&gt;
 </description>
     <pubDate>Wed, 02 Aug 2000 06:38:28 +0000</pubDate>
 <dc:creator>quietinthecorner</dc:creator>
 <guid isPermaLink="false">comment 1068706 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/multiple-javascripts#comment-1068705</link>
    <description> &lt;p&gt;Hi quiet,&lt;/p&gt;
&lt;p&gt;  That depends on what you mean.  You can put as many scripts as you want between the script tags. For example,&lt;br /&gt;
&amp;lt;script language=&quot;javascript&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;The only exception to the above is if you are &#039;including&#039; a js file.  That needs to have its own script tag, as in:&lt;br /&gt;
&amp;lt;script language=&#039;javascript&#039; src=&#039;someName.js&#039;&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script language=&quot;javascript&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;If, by your question, you mean how do you resolve conflicts between two cut&amp;amp;paste scripts:&lt;br /&gt;
1) look at the variables.  If they are global (declared outside of a function), you will probably find one or more them use the same name (i, messages, divLayer, etc).  You will have to either rewrite the scripts so that you get rid of as many globals as possible or rename the variables.&lt;/p&gt;
&lt;p&gt;If you mean how do you get a script to run two or more times with different data, as in a slideshow or menu system, you will need to either make copies of all the code, rename the copies, and its global variables -- or, rewrite the scripts so that they pass arguments and the &#039;this&#039; keyword so that the script is no longer hardwired. &lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Wed, 02 Aug 2000 05:09:22 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1068705 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/multiple-javascripts#comment-1068704</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://wsabstract.com/javatutors/multiplejava.shtml&quot; class=&quot;bb-url&quot;&gt;http://wsabstract.com/javatutors/multiplejava.shtml&lt;/a&gt; is about exactly that topic:)&lt;/p&gt;
 </description>
     <pubDate>Wed, 02 Aug 2000 00:59:30 +0000</pubDate>
 <dc:creator>AndyB</dc:creator>
 <guid isPermaLink="false">comment 1068704 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
