Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #895507
    drmodiho
    Participant

    Hello,

    I had a problem with a third party plugin I use. I totally understand, that you cant give any support or information to problems with third party plugins. However I think the problem is actually within X. I tried the plugin with switching the theme to twentysixteen and all worked fine. I did try to deactivate all plugins as well, but its still there.

    The problem was the following:

    When clicking on the tabs of that tabbed content plugin, it auto scrolls down to the tab content. This happened not just with this plugin. I had the same problem with many other similar plugins.

    The tabs are for example on: “Destination > Kenya-copie”.

    However I got this problem solved with the following function:

    jQuery(document).ready(function($) {
    $(‘.wpsm_nav-tabs a’).click(function(e) {
    $(‘html, body’).stop();
    });
    });

    Now, I got another problem on my mobil screen. When clicking the same tabs a weird scroll happens and the tabs can’t be opened.

    For example check: “programs” please.

    Do you have another function I can use, to make it working?

    Thanks in advance for any help,

    best regards

    Moritz

    #895508
    drmodiho
    Participant
    This reply has been marked as private.
    #896404
    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    Please change your code to this 🙂

    jQuery(document).ready(function($) {
    
    setTimeout ( function() { //Late binding
    $('.wpsm_nav-tabs a').off('touchstart touchend').click(function(e) {
    $('html, body').stop();
    });
    }, 300 );
    
    });

    Hope this helps.

    #897275
    drmodiho
    Participant

    Hey Rad,

    Awesome, that’s the one! Thanks a thousand times 😉

    X Support is simply great 🙂

    Best regards,

    Moritz

    #898038
    Rupok
    Member

    You are welcome Moritz!

    Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.

    Thanks for using X.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-895507 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>