![]() |
JavaScript: Copyright Year Generation
1 Attachment(s)
Just because a bunch of people wanted me to release this. Here's a little JavaScript I wrote that you can place in your copyright statement to keep your year up to date. Just put it where you want the year to display:
HTML Code:
<script type="text/javascript"> HTML Code:
<script type="text/javascript">d = new Date();y = d.getFullYear();document.write(y);</script> A JS file attached just in case you want to keep it as a back up. Thanks to Gasper for reminding me to put in the text/javascript tag. :) Also, this works with any version of vBulletin (or should) and can be seen on vB.org. |
*clicks install*
teehee |
Thanks!
|
Thankyou:up:
|
Well, since we are using it here, id better click install. :)
|
Installed. ;)
Simple hack, but very useful. |
ahh here it was, ;) installed ofc.
|
Quote:
|
Thanks dude, installed :D
|
Thanks. :D
|
All times are GMT. The time now is 12:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|