For touch detection without jQuery Mobile (if not loaded), use:
$(document).on("swiperight", function(e) { if (history.length > 1) { history.back(); return false; } }); $(document).on("swipeleft", function(e) { // Optional: go forward (if you store next page) // Or just close modal/menu }); mybb mobile theme
/images/mobile_theme/jquery.mobile.js If you’re using the plugin: For touch detection without jQuery Mobile (if not
if($mybb->settings['mobile_swipe_back'] && $GLOBALS['mobile_theme_enabled']) { $GLOBALS['headerinclude'] .= "<script>// swipe code here</script>"; } Another popular feature request – toggles dark/light mode. function(e) { if (history.length >
/inc/plugins/gomobile/inc/mobile.js Append this to the mobile.js file:
Donate to JoomGallery friends
Apart from a lot of volunteery work for the development of our software the maintenance of this website costs real money.
Additionally the form has to be hosted and maintained.
Support the development of our JoomGallery project with a donation so that we can continue to provide most of our software free and ad-free.
We say THANK YOU for your support!