For an HTML based Webpage ( No CGI access btw)
var mydate=new Date()
if (month < 10)
This script works fine, as long as I have an image with the date in the name of the image in the "img" folder,
for example a file called "today1225.gif" is an image for christmas
What I want is to change this so that if there is no image in the img folder to use on that day, it uses a "default.gif" instead.
I don't want to use something like an alt text, I'd rather have an alternative default.gif
I was hoping there is a way to do this without making a database in the script of every image in the folder.
y+".gif alt img="./img/default.gif">`)
but the command "alt img" isn't real.