View Single Post
Old 01-23-2007, 10:18 AM   #9 (permalink)
Radnor
Contributing Member
 
Join Date: 07-30-05
Posts: 247
iTrader: 0 / 0%
Latest Blog:
None

Radnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really nice
Quote:
Originally Posted by CarolineBogart View Post
As above, plus, you can't do that in javascript unless you set javascript as a server side language which I've never seen done. Pages (with your links) are served by the server.
Granted JS is CLIENT side, not SERVER side. But, why cant you have in a JS file:
Code:
<html> <head> <title>V7N</title> </head> <body> <script src="links.js" language="javascript" type="text/javascript"></script> </body> </html>
Code:
document.write("<a href='link1.htm'>Link 1</a><br />"); document.write("<a href='link2.htm'>Link 2</a><br />"); document.write("<a href='link3.htm'>Link 3</a><br />");
From here you will need the
Code:
<script src="links.js" language="javascript" type="text/javascript"></script>
in every page's nav section

Edit "links.js" as needed....
Radnor is offline   Reply With Quote