- Join
- Activities
- Activities Calendar
- speedfest
- Cub Scout Activities
- older activities
- Summer Camp
- Winter Camp
- Camping
- Camporees
- Short-Term Camp
- Aquatics
- Climbing and C.O.P.E.
- Conservation Awards
- Eagle Reception
- High Adventure
- International
- National Jamboree
- Order of the Arrow
- Refund Policy
- Report to State
- Scout Offers
- Service Opportunities
- Service Requests
- Shooting Sports
- STEM Activities
- District Events
- Work at Lost Pines
- other councils
- Training
- Giving
- Resources
- Youth Safety
- FAQs
- Advancement
- Awards & Recognition
- brand & logos
- Districts
- Commissioner Resources
- Committees
- Forms
- Den Meetings
- Eagle Resources
- Eagle Reception
- National Eagle Scout Association
- Financial Help
- Flag retirement
- For educators
- FOS campaign tools
- Insurance
- Certificate of Insurance
- Membership
- outreach
- Popcorn
- Promoting Scouting
- quartermaster award
- religious emblems
- Religious Events
- Scholarships
- Scoutbook
- Scout of the Week
- short term camp
- special needs
- summit award
- Tools for Council Registered Units
- Unit Finance
- Unit renewal
- volunteer help
- Web Update
- A+FCU
- About CAC
- Join
- Volunteer
- Donate
- Shop
- Español
Mobile Theme New! | Mybb
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.
$(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: Locate the Mobile Theme’s JavaScript File Typically found
$db->insert_query("settings", [ 'name' => 'mobile_swipe_back', 'title' => 'Enable Swipe to Go Back', 'description' => 'Allow users to swipe right to go to previous page.', 'optionscode' => 'yesno', 'value' => '1', ]); In global_start hook: // swipe code here<
For touch detection without jQuery Mobile (if not loaded), use:
Below is a for adding a common feature: “Swipe to go back to previous page” (touch gesture support). 1. Locate the Mobile Theme’s JavaScript File Typically found in:
Add to mobile.css :