Forum Moderators: open
This may seem a silly question but i cant think of a solution for the life of me. I have a site with several pages written as HTML. I want to add a footer to the bottom of each page with copyright and privacy policy etc on. Is there a way i can do it to only make the footer once and have it replicated on each page without copying the code across for each page?
Hope that makes sense
Thanks
document.write('<center>');
document.write('<a href="./link.html">Your Link</a> ');
document.write('</center>');
then use:
<SCRIPT LANGUAGE="JavaScript" src="footer.js">
</script>
Personally I use PHP includes.
// end hiding --->
</SCRIPT>
<center>Copyright © 1997-<SCRIPT LANGUAGE="JavaScript">
<!--- Hide from old browsers
document.write(y0);
// end hiding --->
</SCRIPT> <a href="http://www.yoursite.com/privacy">Click here for our privacy policy</a></center>
______________________________________________________
Good luck with your site!
Also, I am not sure about what browers exactly support this. I know newer NS and IE do, but not sure about NS4