Closed ovcinatasa closed 7 years ago
Solved :)
function isTouchDevice() { return 'ontouchstart' in window || navigator.msMaxTouchPoints > 0; } jQuery(document).ready(function($) { if (isTouchDevice()) { $("#mission, #vision, #goals").flip({ axis: 'y' }); } else { $("#mission, #vision, #goals").flip({ axis: 'y', trigger: 'hover' }); } });
Is it possible to have on Laptop/Desktop flip on hover, and tablet/mobile flip on click?