Gear Up Right with Custom-made Mouthguards

Gear Up Right with Custom-made Mouthguards

“13-39% of all dental injuries are sports-related,” as stated in the Journal of the American Dental Association. Mouthguards are protective devices for the mouth that covers the teeth and gums to prevent and reduce injury to the teeth, jaws, arches, lips and gums1. They are designed to absorb and distribute the forces of impact received while participating in contact sports—reducing the risk of sports-related dental injuries.

## III. JavaScript for Interactivity This JavaScript uses jQuery to handle the clicks on the navigation items, showing and hiding the corresponding content. WordPress includes jQuery by default, so we'll use that. The **best way** to add this is via a plugin like "Code Snippets" or "Insert Headers and Footers," ensuring it loads after jQuery and on the frontend. ```javascript jQuery(document).ready(function($) { // Listen for clicks on any navigation item $('.iverson-scanning-systems-nav-item').on('click', function() { // 1. Remove 'active' class from previously active nav item $('.iverson-scanning-systems-nav-item').removeClass('active'); // 2. Hide previously active content item by removing 'active' class $('.iverson-scanning-systems-content-item').removeClass('active'); // 3. Add 'active' class to the clicked navigation item $(this).addClass('active'); // 4. Get the ID of the content item to show (from the data-target attribute) var targetId = $(this).data('target'); // 5. Show the corresponding content item by adding 'active' class $('#' + targetId).addClass('active'); }); });

START TYPING AND PRESS ENTER TO SEARCH