|
FAO Java Script Guru's and Script Kiddies
|
View this Thread in Original format
| _Nut_ |
So here is my dilema.
I need to have the ability to test if something exists or not.
For instance:
the image residing at http://moe.met.fsu.edu/tcgengifs/no...072400/slp0.png exists.
where as the image at
http://moe.met.fsu.edu/tcgengifs/no...072600/slp0.png
does not exist. But in 2 days the image will exist. My js file basically changes the data at a set time to pull in the most recent data... but the people that create the images dont always update their images on a routine basis. I want to test to see if the image exists, and if it does let it pass through the program, otherwise roll back to a date that has a valid image.
I am aware of the .fileSize function... but that is only usable in M$ Internet Exploder. I need to make it work cross browser for M$, FF, Op & Saf.
Any ideas? |
|
|
| _Nut_ |
| quote: | Originally posted by Nou
JS kinda sucks for this sorta thing... :p |
Since I can't do anything server side, this is what I have to resort to. |
|
|
|
|