Title: Tab system
Last modified: August 8, 2022

---

# Tab system

 *  Resolved [jayrossouw](https://wordpress.org/support/users/jayrossouw/)
 * (@jayrossouw)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/tab-system/)
 * Hey there,
 * Really like the plugin and I really want to use it on our site. I found in your
   forum someone else that had issues and I tried applying the solutions that were
   given there but it doesn’t seem to be working for me. We are using Divi and a
   tab module created by Divi flash.
 * I truly hope you can help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftab-system%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Joe](https://wordpress.org/support/users/morehawes/)
 * (@morehawes)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/tab-system/#post-15898476)
 * Hi [@jayrossouw](https://wordpress.org/support/users/jayrossouw/),
 * Thanks for reaching out. I understand the issue and wrote some JavaScript that
   can be added to your site; it adjusts the Map when tabs are switched:
 *     ```
       jQuery(document).on('ready', function() {
         jQuery('.df_at_nav').on('click', function() {
           setTimeout(function() {
   
             var waymark_map = jQuery('.df_at_content_active .waymark-map');
   
             if(waymark_map.length) {
               var waymark_instance = waymark_map.data('Waymark');
   
               if(typeof waymark_instance === 'object' && typeof waymark_instance.map === 'object') {
                 waymark_instance.map.invalidateSize();
   
                 waymark_instance.map.fitBounds(waymark_instance.map_data.getBounds());
               }
             }    
           }, '500');
         });
       });
       ```
   
 * Please do let me know if you have any further issues.
 * Cheers,
 * Joe
 *  Thread Starter [jayrossouw](https://wordpress.org/support/users/jayrossouw/)
 * (@jayrossouw)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/tab-system/#post-15911252)
 * Hay Joe,
 * Thanks for the resposne. Sadly the Javascript isn’t working on my side. I think
   it might be due to Divi?
 *  Thread Starter [jayrossouw](https://wordpress.org/support/users/jayrossouw/)
 * (@jayrossouw)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/tab-system/#post-15911536)
 * Hey Joe,
 * I just found the issue.
    The java script does work on my site the only thing 
   I needed to change was the first line: jQuery(document).on(‘ready’, function()
 * to: jQuery(document).ready(function() {
 * then it worked fine. Thanks so much!
 *  Plugin Author [Joe](https://wordpress.org/support/users/morehawes/)
 * (@morehawes)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/tab-system/#post-15911572)
 * Hi [@jayrossouw](https://wordpress.org/support/users/jayrossouw/) ,
 * Good catch – I’m glad that worked for you 🙂 Please do let me know if there is
   anything else I can assist with.
 * If you like the plugins [reviews](https://wordpress.org/support/plugin/waymark/reviews/)
   are greatly appreciated!
 * Cheers,
 * Joe

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Tab system’ is closed to new replies.

 * ![](https://ps.w.org/waymark/assets/icon-256x256.png?rev=3491393)
 * [Waymark](https://wordpress.org/plugins/waymark/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/waymark/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/waymark/)
 * [Active Topics](https://wordpress.org/support/plugin/waymark/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/waymark/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/waymark/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Joe](https://wordpress.org/support/users/morehawes/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/tab-system/#post-15911572)
 * Status: resolved