Tagged: x
-
AuthorPosts
-
April 22, 2016 at 10:11 am #895507
drmodihoParticipantHello,
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
April 22, 2016 at 10:11 am #895508
drmodihoParticipantThis reply has been marked as private.April 23, 2016 at 3:02 am #896404
RadModeratorHi 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.
April 24, 2016 at 4:28 am #897275
drmodihoParticipantHey Rad,
Awesome, that’s the one! Thanks a thousand times 😉
X Support is simply great 🙂
Best regards,
Moritz
April 24, 2016 at 11:30 pm #898038
RupokMemberYou 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!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-895507 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
