Detecting touch screen devices with Javascript
<p>In Javascript/jQuery, how can I detect if the client device has a mouse?  </p>

<p>I've got a site that slides up a little info panel when the user hovers their mouse over an item.  I'm using jQuery.hoverIntent to detect the hover, but this obviously doesn't work on touchscreen devices like iPhone/iPad/Android. So on those devices I'd like to revert to tap to show the info panel.</p>
