Click to See Complete Forum and Search --> : How to know if a url is down with javascript


cesar
09-08-2003, 07:03 AM
Hi all

I'm working in a page where I want to controlate if a url is down with javascript. This url is the url that serve the
advertorials and we want to continue serving our page
if the advertorial is down.

Thanks everybody

Khalid Ali
09-08-2003, 07:22 AM
try using a script like this

http://www.webapplikations.com/pages/html_js/document/FindOutAServerIsUp.html

cesar
09-08-2003, 08:44 AM
Hi again

It's a good idea but the problem is that I don't controlate the server so I don't know where I can find an image.

Ciao

Khalid Ali
09-08-2003, 08:53 AM
lol...that should not be a problem their gotta be some image that you can point to on that server....

cesar
09-08-2003, 08:56 AM
I'll try it.

Thanks a lot for you help

Ciao