I have an HTML link that links to an external site. I want to be able to add a dialog message when the user taps on the link and no internet connection is available. I want to be able to do this using HTML and javascript.
See this example of what I am trying to achieve. Thanks. https://www.dropbox.com/s/r5qgxgjuusr8o1n/2014-07-15-15.20.28.png