Posts: 40
Location: i live with your mom
|
I'm trying to make a JavaScript server side include so I only have to edit and save 1 .html file. Instead having to save every file and every new hyperlink that I make.
If you go to my page, www.pokerhungry.com on the left side I list like 8 links and each link is a .html link and I put all those links in each page. This is a problem for me because I'm going to be adding more and more links as I go and If I add more, I will have to save new links and new pages on every single page.
So I'm trying to do the menu on the left as a server side include in javascript but I can't seem to design it the way I want it. I tried to put CSS on it but it won't work. I guess I can only choose one at a time. can anyone help me make a menu with javascript like the one on my page. So I only have to call it once on my each page like this:
<script language="JavaScript" type="text/javascript" src="menu.js"></script>
|