Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1262597

    Sehr geehrte Damen und Herren,

    momentan befinde ich mich in einer Situation, die ich nicht selbst lösen kann.
    Ich habe auf meiner Website einen Before/After-Slider (Slider Revolution) innerhalb des Reiterelements. Da sich das Reiterelement auf mobilen Endgeräten bequem mit einem Wischen nach links oder rechts navigieren lässt, ist es nicht kompatibel mit meinem B/A-Slider. Sobald ich auf einem Smartphone oder Tablet den B/A-Slider benutzen möchte, greift hier die übergeordnete Animation/Funktion des Reiter-Elements in dem sich der B/A-Slider befindet.

    Gibt es eine Möglichkeit die Funktion des Wechselns der Reiter-Elemente (Tabs) mit einem Wisch zu unterbinden/deaktivieren?

    Vielen Dank schon einmal im Vorraus!
    LG Marcel

    • This topic was modified 3 years, 9 months ago by fruntkeMarcel. Reason: Privater Text bearbeitet
    #1264242

    Hey Marcel,

    Thanks for contacting us and sorry for the late reply!

    – Please go to /enfold/config-templatebuilder/avia-shortcodes/tab_section/tab_section.js file and copy it inside /shortcodes/ folder in your child theme
    – Open tab_section.js file on your child theme and find following line

    
    content_wrap.avia_swipe_trigger({prev:'.av_prev_tab_section', next:'.av_next_tab_section'});
    

    and change it to following

    
    //content_wrap.avia_swipe_trigger({prev:'.av_prev_tab_section', next:'.av_next_tab_section'});
    

    – Add following code to bottom of Functions.php file of your child theme

    function wp_change_tab_section_js() {
    wp_dequeue_script( 'avia-module-tabsection', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/tab_section/tab_section.js', array( 'avia-shortcodes' ), false, true );
    wp_enqueue_script( 'avia-tabsection-child', get_stylesheet_directory_uri().'/shortcodes/tab_section.js', array('jquery'), 2, true );
    }
    add_action( 'wp_print_scripts', 'wp_change_tab_section_js', 100 );

    – Go to Enfold child theme options > Performance and disable JS file merging and compression, save theme options, confirm that Tab Section is working as expected on mobile and then enable JS file merging and compression once again :)

    Best regards,
    Yigit

    #1264324

    Thank you for the reply.
    Sorry but it didn’t help me.
    I posted my credentials in privat chat. Maybe you can have a look?

    #1264499

    Hi,

    You forgot to paste the file inside /shortcodes/ folder. So I simply created /shortcodes/ folder and moved modified file inside it.

    Please review your website :)

    Best regards,
    Yigit

    #1264829

    Thank you very much!!

    Topic can be closed now :)

    • This reply was modified 3 years, 9 months ago by fruntkeMarcel.
    #1264881

    Hi fruntkeMarcel,

    Great :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.

    Best regards,
    Victoria

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Deaktivieren der "Wisch-Funktion" des Reiter-Elements auf mobilen Endgeräten.’ is closed to new replies.