Home › Forums › JavaScript › Methods for showing and hiding element › Reply To: Methods for showing and hiding element
July 21, 2014 at 8:46 am
#176027
Participant
@elkrocke
You really don’t need to include jQuery Mobile,
I’d be tempted to do a feature detection first to see if the device using the plugin supports touch, if it does then trigger the menu on touch/click, if not, then trigger the menu on hover,
Check out the method that Modernizr uses to detect for touch enabled browsers here