lschena
07-28-2011, 02:39 PM
Hello,
I am fairly new to Javascript - so HELP!!!.
I have to make a template page with "Date Last Modified" on the bottom of the page and next to this date will be a name, copyright symbol and 2011.
The Javascript code has to be put in an external file.This is the code for the date I need to use:
This document was last modified on:
<script type="text/javascript">
document.write(document.lastModified);
</script>
(Then this?)Guys Name    copyright symbol 2011
I am not sure what goes where - the src"" reference of the external file goes in the top of the body, I think, then how do I get the footer to display at bottom of page and do I write in the guys name and copyright/year part after the closing </script> that will be included in the external file??
The easier way for me would be better if there are various ways to do this. Any input would be greatly appreciated!
Jim
I am fairly new to Javascript - so HELP!!!.
I have to make a template page with "Date Last Modified" on the bottom of the page and next to this date will be a name, copyright symbol and 2011.
The Javascript code has to be put in an external file.This is the code for the date I need to use:
This document was last modified on:
<script type="text/javascript">
document.write(document.lastModified);
</script>
(Then this?)Guys Name    copyright symbol 2011
I am not sure what goes where - the src"" reference of the external file goes in the top of the body, I think, then how do I get the footer to display at bottom of page and do I write in the guys name and copyright/year part after the closing </script> that will be included in the external file??
The easier way for me would be better if there are various ways to do this. Any input would be greatly appreciated!
Jim