Mouse77e
11-11-2005, 02:05 PM
<div id="sectionLinks">
<h3>Section Links</h3>
<ul>
<li><a href="Page1.htm”>Page1</a></li>
<li><a href="Page2.htm">Page 2</a></li>
<li><a href="Page3.htm">Page 3</a></li>
<li><a href="Page3.htm">Page 4</a></li>
<li><a href="Page3.htm">Page 5</a></li>
<li><a href="Page3.htm">Page 6</a></li>
</ul>
</div>
<div class="relatedLinks">
<h3>Community Links </h3>
<ul>
<li><a href="tellafriend.php">Tell a friend</a></li>
<li><a href="help.htm">Need help?</a></li>
<li><a href="donate.htm">Please Donate</a></li>
</ul>
</div>
Hello, quick question…
The above is a section from my site, it makes up the links found down the left hand navigation column. As there are an ever-increasing number of pages, but all of them share this code in common.
I assume that there is a way of calling the links from an external file so that I can change just one file and have the changes cascade across the site.
How do I format the text for both the lines of code to call in the external links and how do I format the lines of code in the external file?
:confused:
<h3>Section Links</h3>
<ul>
<li><a href="Page1.htm”>Page1</a></li>
<li><a href="Page2.htm">Page 2</a></li>
<li><a href="Page3.htm">Page 3</a></li>
<li><a href="Page3.htm">Page 4</a></li>
<li><a href="Page3.htm">Page 5</a></li>
<li><a href="Page3.htm">Page 6</a></li>
</ul>
</div>
<div class="relatedLinks">
<h3>Community Links </h3>
<ul>
<li><a href="tellafriend.php">Tell a friend</a></li>
<li><a href="help.htm">Need help?</a></li>
<li><a href="donate.htm">Please Donate</a></li>
</ul>
</div>
Hello, quick question…
The above is a section from my site, it makes up the links found down the left hand navigation column. As there are an ever-increasing number of pages, but all of them share this code in common.
I assume that there is a way of calling the links from an external file so that I can change just one file and have the changes cascade across the site.
How do I format the text for both the lines of code to call in the external links and how do I format the lines of code in the external file?
:confused: