Javascript if function for executing script based on the month
Page 1 of 1
Javascript if function for executing script based on the month
- Code:
Code to put inside JavaScript tags to customise a script!
- Code:
var d = new Date();
var month = new Array();
month[0] = "January";
month[1] = "February";
month[2] = "March";
month[3] = "April";
month[4] = "May";
month[5] = "June";
month[6] = "July";
month[7] = "August";
month[8] = "September";
month[9] = "October";
month[10] = "November";
month[11] = "December";
var n = month[d.getMonth()];
if ( n = 'December') {
SnowStart();
// document.getElementById("snow").innerHTML = n;
}
Merry Xmas From J~Net Have A Snow Flakes JavaScript that runs automatically when included on December and January months and can be customized!:
https://app.box.com/s/dbzrpudxvh1ayuix058l
https://app.box.com/s/dbzrpudxvh1ayuix058l
Similar topics
» PHP & JQUERY JAVASCRIPT DYNAMIC PROGRESS BAR
» Working Copy To Clipboard Javascript
» Javascript and Jquery js
» Animate for web dev html5 javascript
» Object Oriented JavaScript 2015
» Working Copy To Clipboard Javascript
» Javascript and Jquery js
» Animate for web dev html5 javascript
» Object Oriented JavaScript 2015
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|