Using JS to see if a site is online?
Hey, so let me explain myself. I have a small site thats being worked on, thats pretty much an online mp3 player with a thousand songs so far.
What I wanted to do was make it so the users can download a .html file that would open up and use JS to see if the site is online, if it is it would forward you to the site and ask you to login, if not it would display an error message.
has anyone tried this? How would I go about doing this.
|