- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
JS Animated. How to change year in the copyright
May 5, 2015
This tutorial shows how to change the year in the copyright in JS Animated templates.
The copyright notice is usually located in the footer position.
In order to change the year in the copyright, you should perform the following:
Open up the js/tm-scripts.js file and locate the following code
$("#copyright-year").text( (new Date).getFullYear() );});
Change the
(new Date).getFullYear()
piece of code to a string with your own value for the copyright year text, like this$("#copyright-year").text( '2006-2015' );});
Save the changes in the js/tm-scripts.js file and upload it to the server.
Feel free to check the detailed video tutorial below:
JS Animated. How to change year in the copyright