• Clicking and dragging to scroll through the slides seems to be overriding the ability to click on links within the slides.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author primisdigital

    (@primisdigital)

    Could you please send the link of page in which slider implemented

    Plugin Author primisdigital

    (@primisdigital)

    If you just want to remove the drag feature on the slider, please follow below steps:

    1. Go to Plugins folder, select post-type-slider
    2. Go to assets >> js folder
    3. Open myscript.js
    4. After line 33, add this : touchEnabled: false

    So the jquery function will be like :
    jQuery(“#”+some_variable_value).bxSlider({
    auto: JSON.parse(autoplay),
    speed: parseInt(slide_moving_speed),
    minSlides: 1,
    maxSlides: parseInt(slide_num),
    //moveSlides:parseInt(slide_move_by),
    slideWidth: parseInt(slideWidth),
    slideMargin: parseInt(margin),
    infiniteLoop:JSON.parse(loop),
    autoHover:JSON.parse(pauseonhover),
    controls:JSON.parse(navigation_arrows),
    pager:JSON.parse(navigation_dots),
    touchEnabled: false
    });

    , Please save and check the pages.

    We will consider this option in our next update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to disable the click and drag function?’ is closed to new replies.