<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1011863" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1011863</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-include#comment-1069317</link>
    <description> &lt;p&gt;Hey TWTCommish... I&#039;m familiar with .js includes and SSI (used both), but what is Microsoft Shared Borders and how does it work? I&#039;ve heard of a site that uses it, but never really understood...&lt;/p&gt;
 </description>
     <pubDate>Sun, 13 Aug 2000 04:50:33 +0000</pubDate>
 <dc:creator>mjames</dc:creator>
 <guid isPermaLink="false">comment 1069317 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-include#comment-1068789</link>
    <description> &lt;p&gt;Commy (if I may call you that &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;)-&lt;/p&gt;
&lt;p&gt;I&#039;d only use &#039;javascript includes&#039; (or whatever the hell you want to call them) for javacsript - certainly not HTML.  I&#039;d be using the same javascript on all my pages though.  Oh, is that what you mean?  Just use SSI to include the javascript?  I guess that&#039;s possible.  That&#039;s why I want to get down SSI first...&lt;/p&gt;
&lt;p&gt;That was my other question - what is the difference between virtual and file?  I&#039;ve seen those before but I don&#039;t think I ever came to any conclusion as to which one to use, advantages, disadvantages, etc.  Anyone?&lt;/p&gt;
 </description>
     <pubDate>Thu, 03 Aug 2000 17:57:30 +0000</pubDate>
 <dc:creator>benc</dc:creator>
 <guid isPermaLink="false">comment 1068789 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-include#comment-1068786</link>
    <description> &lt;p&gt;I don&#039;t see any reason to use JavaScript unless you need to...I&#039;d go with SSI.&lt;/p&gt;
&lt;p&gt;Or FrontPage Shared Borders! Those are GREEATT! (not sarcasm).&lt;/p&gt;
 </description>
     <pubDate>Thu, 03 Aug 2000 17:23:07 +0000</pubDate>
 <dc:creator>TWTCommish</dc:creator>
 <guid isPermaLink="false">comment 1068786 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-include#comment-1068764</link>
    <description> &lt;p&gt;that works and also&lt;br /&gt;
i think they both only work online. don&#039;t think they work locally.&lt;br /&gt;
i have never used either so i am not 100%. this is what i have read about it. i&#039;ll need to try it myself sometime i guess &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;
 </description>
     <pubDate>Thu, 03 Aug 2000 13:42:11 +0000</pubDate>
 <dc:creator>Rageforth</dc:creator>
 <guid isPermaLink="false">comment 1068764 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-include#comment-1068737</link>
    <description> &lt;p&gt;Thanks Vinny and Rage &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;Actually, it&#039;s not just my javascript that I want site-wide, it&#039;s also my nav.  I was planning to use SSI for that...speaking of which:&lt;/p&gt;
&lt;p&gt;Does that look remotely correct?&lt;/p&gt;
 </description>
     <pubDate>Wed, 02 Aug 2000 22:00:47 +0000</pubDate>
 <dc:creator>benc</dc:creator>
 <guid isPermaLink="false">comment 1068737 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-include#comment-1068415</link>
    <description> &lt;p&gt;by &quot;include&quot; are you talking about ASP style include where it could put your entire navigation on the page for you just from a couple lines of ASP code? I am bad at explaining things I know. He is what I am trying ot say...&lt;br /&gt;
you make your js file like Vincent Puglia said. put the entire code in that js file for your navigation (of course give it a variable name). in the html page you do the &amp;lt;script src=&quot;FILE.js&quot;&amp;gt;&amp;lt;/script&amp;gt; and in the body you put&lt;br /&gt;
document.write(NAME_OF_VARIABLE). that would put the navigation on the page for you. that is kinda like an include....javascript style. that way, you update one file and all the pages are changed. did that make sense at all or am i just way to confusing? &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;
 </description>
     <pubDate>Sat, 29 Jul 2000 03:38:24 +0000</pubDate>
 <dc:creator>Rageforth</dc:creator>
 <guid isPermaLink="false">comment 1068415 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/js-include#comment-1068100</link>
    <description> &lt;p&gt;Hi ben,&lt;/p&gt;
&lt;p&gt;The Code:&lt;/p&gt;
&lt;p&gt; &amp;lt;script language=&#039;javascript&#039; src=&#039;somename.js&#039;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;The contents/rules:&lt;/p&gt;
&lt;p&gt; 1) The file can only contain javascript; that means no tags, no html&lt;br /&gt;
 2) if you must include html, embed it within a string &lt;/p&gt;
&lt;p&gt;   var myStr=&quot;&quot;;&lt;/p&gt;
&lt;p&gt;   or, a javascript method:&lt;/p&gt;
&lt;p&gt;    document.write(&quot;&quot;);&lt;/p&gt;
&lt;p&gt;Comments:&lt;/p&gt;
&lt;p&gt;   The use of a *.js file does not protect/hide your code.  Nothing does.  See the thread posted by quietinthecorner, &quot;no right-click script&quot;.  It only allows you to centralize your functions &amp;amp; preload them in certain cases.&lt;/p&gt;
&lt;p&gt;   If you would like to see examples of *.js files in use. Go to my site; half of the pages use the same funcs.js file. If you would like to see the contents, either rightClick the home page or download the file using the *.js.&lt;br /&gt;
Vinny&lt;/p&gt;
 </description>
     <pubDate>Mon, 24 Jul 2000 18:17:33 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1068100 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
