do your files have to be named that way? it would be easier if they were kauai0.js, kauai1.js, etc
not impossible either way, though...
Last edited by xelawho; 12-22-2011 at 04:04 PM.
well, assuming that you can't rename the files, you can put this in the head of your html, where you are loading your other scripts...
var month=new Date().getMonth()
+ ' src="kauai' + months[month] + '.js">'
+ '</sc' + 'ript>');
Thank you... I had not thought about adding the '<sc' + 'rpit>' to the filename... Many Mahalo...
Originally Posted by xelawho
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread