Useful Tools

 

Useful Tools


    Apply the MTGenWeb "brand" to your site.  Right click on the MTGenWeb shortcut logo image to the left and save it to your sites root directory as favicon.ico, then put this line of code within the <.head> section:

<.link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

 

 Note: after the line of code is in place, remove the "period" after the opening angle bracket.

Here is the link to the favicon generator if you would like another.


This is a script that automatically updates a year, useful to update a copyright year. 

 

Highlight the following script and copy it into your code exactly where you want it to appear.  Please note that you may not see the date until the page has been saved and uploaded.  You will also need to remove the "period" after the opening angle bracket after you place the script in the code for your page.


<.script language="javascript" type="text/javascript">

var today = new Date()

var year = today.getFullYear()

document.write(year)

</script>


Last Updated: 08.28.2015