Hello all,
I am by no means a web designer, yet I have been tasked with developing a website for work since I am the only one that has any experience at all
. I am adding dynamic content that is designed to be updated easily since the site has about 40 seperate pages and I went about adding it with .js files
example
document.writeln('<center>');
document.writeln('<h3>Christmas Bounce</h3>');
document.write(' <a href="christmas bounce.htm"><img src="game_icons/Christmas-mini.png" border="0"></a><br> ');
document.writeln('<h5>Sponsored by</h5>');
document.writeln('<h5>Subway</h5>');
document.writeln('</center>');
and then calling it with this
<td width="25%" height="200" valign="top" >
<div align="left">
<script language="JavaScript" src="featuredGame3.js">
</script>
</div></td>
I do get the desired effect of being able to change the .js file and all the pages are updated, however I was wondering if this is the best method, as I will rarely be the person updating the file I was wondering if there is a simple way to achieve the same effect with a text file so people do not have to worry about screwing up the script.
Thanks in advance for any help
HL