I am using this code to launch a popup form for people to contact us
<a id="pinfo" class="ajax pullup cboxElement" href="#contact-form">Enquiries</a>
However this popup form doesn't behave nicely on mobile browsers.
I was wondering if I could use some javascript code to detect mobile browsers and point to an e-mail address link in the href
instead of the popup form.