Hi All
I'm developing a website for a company with a link to their company intranet; this will only resolve with DNS from *inside* the network, though (fine, as outside users don't need access to the intranet)
However, I don't want users from outside just getting a generic 404 when they click the intranet link, and was wondering if there was a piece of javascript I could use to check that the URL is reachable from their machine; if not, pop-up a message box, if so, just follow the link.
Thanks in advance
George Preston
BTW, they won't get a 404 error. They'll get something like "Cannot find server or DNS error".