<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1036075" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1036075</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/linking-javascript-document-html-page#comment-1207935</link>
    <description> &lt;p&gt;EDIT: I just realized you have to put something in the head. So ignore the below post.&lt;/p&gt;
&lt;p&gt;You might want to switch all the extensions on your site from htm or html, to PHP (if it is enabled by your server) and then you can use a simple PHP include.&lt;/p&gt;
&lt;p&gt;First create a file called navigation.php with just the javascript in it (no  etc) then, on each of your pages that you want to see the menu, put this at the top, right after &lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include (&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;navigation.php&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; and that will include navigation on the top of the page. Anytime you add a page, just change navigation.php and it will work.&lt;/p&gt;
&lt;p&gt;I think there is a way to do it in js, but I don&#039;t know how.&lt;/p&gt;
 </description>
     <pubDate>Sun, 01 Oct 2006 03:06:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1207935 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
