Greetings, webmasters and mistresses!
I have my own website. And I have a rather large index going down the left side in column form. I may or may not wish to change that to the kind where you can hover over and see subsections but that's not my question right now.
Here's the deal. The index is getting to be huge as I add more pages. It currently looks a lot like this:
Code:<div id = "menu">
<ul><li>Internal Links
<ul>
<li><a href="index.html">Index</a></li>
<li><a href="A.html">A page</a></li>
<li><a href="B.html">B page</a></li>
<li><a href="C.html">C page</a></li>
<li><a href="D.html">D page</a></li>
</li></ul>
<!-- <li><a href="place">Placeholder</a></li> -->
<ul><li>Section 1
<ul>
<li><a href="Section1index.html">Section 1 index</a></li>
<li><a href="Section1subpage.html">Section 1 subpage</a></li>
</li></ul>
<!-- <li><a href="place">Placeholder</a></li> -->
<ul><li>Section 2
<ul>
<li><a href="Section2index.html">Section 2 index</a></li>
<li><a href="Section2subpage.html">Section 2 subpage</a></li>
</li></ul>
<!-- <li><a href="place">Placeholder</a></li> -->
<ul><li>Section 3
<ul>
<li><a href="Section3index.html">Section 3 index</a></li>
<li><a href="Section3subpage.html">Section 3 subpage</a></li>
</li></ul>
<!-- <li><a href="place">Placeholder</a></li> -->
<ul><li>Section 4
<ul>
<li><a href="Extrapage1.html">Extra Page 1</a></li>
<li><a href="Extrapage2.html">Extra Page 2</a></li>
<li><a href="Extrapage3.html">Extra Page 3</a></li>
<li><a href="Extrapage4.html">Extra Page 4</a></li>
<li><a href="sitemap.html">Site Map and Search</a></li>
</ul>
</li>
<!-- <li><a href="place">Placeholder</a></li> -->
<li>External Links
<ul>
<li><a href="http://www.whatever1.com">external page 1</a></li>
<li><a href="http://www.whatever2.com">external page 2</a></li>
<li><a href="http://www.whatever3.com">external page 3</a></li>
<li><a href="http://www.whatever4.com">external page 4</a></li>
<li><a href="http://www.whatever5.com">external page 5</a></li>
<!-- <li><a href="place">Placeholder</a></li> -->
</ul>
</li>
</ul>
</div> <!-- end menu div -->
This is a lot to copy over each time, plus as you can see I already have a boatload of pages. It's possible that, in the future, I would forget to update a page or two with the full and complete menu.
Hence what I am looking for is something, either on the cascading style sheet itself, or perhaps some page where all of the other pages could pull from, which would show the menu. Then I figure I would only be updating the menu page, as opposed to every single page. All of the other pages (the non-menu ones) would simply have a link to the menu page, or it would work flawlessly as a piece of the cascading style sheet.
But -- I don't know what this is called or even if it would work. I am sure that enormous sites do not require this kind of manual updating of every damned page every single time a menu is updated. And I also recognize that the css is probably not the place for it, but that's kind of the idea, to have a centralized spot for the menu, and the effect would be a similar one.
Anyway, thank you in advance and I hope this explanation is clear.