Results 1 to 12 of 12
Jan 6, 2003, 12:17 #1
- Join Date
- Sep 2002
- Bournemouth, South UK
- 1 Post(s)
- 0 Thread(s)
check file exists before linking....
Is there a way of checking a file exists before linking to it?
I sell didjeridoos and handdrums.
I was hoping to create small html program for each drum, somthing like this....
and saved as drum000 to drum999
Now I need a function included in the creatpage.js, that checks if a file exists,(eg drum000.html) if it does, go there, if it doesn't, try drum001.html