<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021123" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021123</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130200</link>
    <description> &lt;p&gt;i saw that, and i decided to go ahead and link to an external document, as i do with php as well...thanks, i got it working now&lt;/p&gt;
 </description>
     <pubDate>Tue, 29 Apr 2003 00:11:32 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1130200 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130116</link>
    <description> &lt;p&gt;if your using server side as well (PHP, ASP ...) don&#039;t use &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt; (don&#039;t need xml version and can put the encoding in meta tag) or the cdata comments as it can mess things up.&lt;br /&gt;
The  is meant to be the new comment system for xml but IMHO wasn&#039;t thought out properly as it messes with serverside stuff. comments inside your script tags are for the older browsers that don&#039;t support it, you can easily leave them out these days as 99% of browsers support it, even if they don&#039;t they wont be able to display the xhtml anyways.&lt;/p&gt;
 </description>
     <pubDate>Sun, 27 Apr 2003 23:04:47 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1130116 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130105</link>
    <description> &lt;p&gt;argh...ok, thanks...i&#039;ll try to see what i can do, if i cant figure it out, i&#039;ll start a new thread&lt;/p&gt;
 </description>
     <pubDate>Sun, 27 Apr 2003 17:50:00 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1130105 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130078</link>
    <description> &lt;p&gt;Ok that code was written on a unix machine or something and I have to say that without the full page we won&#039;t be able to help.  The javascript is not the problem most likely, instead the xhtml is probably the culprit.&lt;br /&gt;
-dk&lt;/p&gt;
 </description>
     <pubDate>Sat, 26 Apr 2003 21:32:57 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1130078 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130072</link>
    <description> &lt;p&gt;yea, thats what i thought...anyways, its a long script...so i&#039;ll post a link&lt;/p&gt;
&lt;p&gt;this is a test page:  (and its in a file instead of being in the page, cuz i really don&#039;t want to show the page itself right now)&lt;br /&gt;
 &lt;a href=&quot;http://westernciv.sarvihosting.com/header.js&quot; class=&quot;bb-url&quot;&gt;http://westernciv.sarvihosting.com/header.js&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 26 Apr 2003 15:51:09 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1130072 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130058</link>
    <description> &lt;p&gt;Can we see the page because I know you need the cdata things for it to work. If not then the xml preprocessor will think that your javascript (eg. if(myvar &amp;gt; 1) ) is actually html and make it into: if(myvar &amp;gt; 1) ) &lt;/p&gt;
&lt;p&gt;If you show the code we may be able to see whats wrong.&lt;br /&gt;
-dk&lt;/p&gt;
 </description>
     <pubDate>Sat, 26 Apr 2003 07:57:22 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1130058 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130042</link>
    <description> &lt;p&gt;actually i did a little research on w3c.org about the XHTML Strict documentation...and i found the reason was acutally i didn&#039;t explain it was &quot;unescaped javascript content&quot;...so heres what i got, but the JS doesnt work:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE html &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; xml:lang=&amp;quot;en&amp;quot; lang=&amp;quot;en&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
blah, blah&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;&amp;lt;![CDATA[&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
rest of the JS&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;]]&amp;gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;if i take the CData stuff out...it works...but with it, it doesnt...i copied and pasted straight from W3C  &lt;a href=&quot;http://www.w3.org/TR/xhtml1/#h-4.8&quot; class=&quot;bb-url&quot;&gt;http://www.w3.org/TR/xhtml1/#h-4.8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;anybody got a clue?  thanks&lt;/p&gt;
 </description>
     <pubDate>Sat, 26 Apr 2003 02:55:17 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1130042 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130041</link>
    <description> &lt;p&gt;i don&#039;t have to close the &quot;&amp;lt;script LANGUAGE=&quot;thelanguageofthescript&quot;&amp;gt;&quot;?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
 </description>
     <pubDate>Sat, 26 Apr 2003 02:27:44 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1130041 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/referencing-external-js#comment-1130026</link>
    <description> &lt;p&gt;the best way to link to a javascript file is:&lt;/p&gt;
&lt;p&gt;&amp;lt;script TYPE=&quot;text/javascript&quot; SRC=&quot;http://www.javalocation.com/filename.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
	&amp;lt;script LANGUAGE=&quot;VBScript&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;It should be as sime as that.&lt;/p&gt;
&lt;p&gt;DB&lt;/p&gt;
 </description>
     <pubDate>Fri, 25 Apr 2003 21:07:41 +0000</pubDate>
 <dc:creator>fspigroup</dc:creator>
 <guid isPermaLink="false">comment 1130026 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
