I'd like to implement an automatic copyright date change in my page footer. I drew a placeholder square and I'm using the following javascript snippet to replace the HTML Code (Body) to do so:
© 2006<script>new Date().getFullYear()>2006&&document.write("-"+new Date().getFullYear());</script>, My Company.
My footer is black, so I'd like to change the color of the output text to white. I do have a style assigned for footer text that is white, but I don'[t know how to assign this style to the javascript text. I'm not a javascript expert so any help will be appreciated. Thanks.
Bookmarks