Okay
  Public Ticket #183760
Nector Slider
Closed

Comments

  • Jesse started the conversation

    Is there a method for the nector slider to autorotate and not loop once it reaches the last slide. I have not selected loop slider but I have selected auto rotate.

    The slider still loops, is there a best practice so that the slider will reach the last slide and stop?

  •  8,443
    Tahir replied

    Hey Jesse!

    I am afraid we dont have that option. 

    Thanks


    ThemeNectar Support Team 

  • [deleted] replied

    on line 3333 use following 

    function nectarSlideRotate(slider, sliderNum){

    if($nectarSliders[sliderNum].activeIndex < (($(slider).find('.swiper-wrapper > div.swiper-slide').length) - 1)){

    if($nectarSliders[sliderNum].activeIndex + 1 < $(slider).find('.swiper-wrapper > div.swiper-slide').length){

    $nectarSliders[sliderNum].swipeNext();

    } else {

    $nectarSliders[sliderNum].swipeTo(0,800);

    }

    } else{

    return false;

    }

    }

  •  8,443
    Tahir replied

    Hey Pratik!

    Thanks for your input. 

    Cheers


    ThemeNectar Support Team 

  • Timothy replied

    Pratik - Line 3333 of what file?

  • Timothy replied

    ok... assuming it's nectar-slider.js. added code; slider still rotates endlessly between the two slides assigned to that area. any thoughts?

  • [deleted] replied

    Hello I already implemented on my website =>http://linux.aress.net/ESCtNewWeb .   :)  Here slider stops after last image (here its 3rd). You might have done something wrong with nectar-slider.js file .

    You please clear your cache ,session, cookies etc .And take js file from here ,Replace your js file with THIS js file , http://linux.aress.net/ESCtNewWeb/wp-content/theme...

  •  988
    ThemeNectar replied

    Hey everyone! This indeed is not an option by default but Patrik's solution should be valid.

    Patrik - thanks for sharing this with others and helping out Timothy :)

    Cheers

  • [deleted] replied

    Welcome , Can you please add This option(stop after last image) ? Bcoz client told us his requirement.As there was no option , I had to do Trial and Error .And thank god ,I could figure it out wat should be done in 3500 lines of file in 3 hours only. :)

  • Timothy replied

    Thanks, Pratik. I just saw your response, downloaded your .js file and replaced the file on my installation. Now, looking for how I specify which image the slider stops on. Thought it might default to the last slide assigned to a location, but apparently not.

    Any thoughts?

  •  988
    ThemeNectar replied

    Pratik - I've noted it for the wishlist :)

    Timothy - I'll leave this ticket open in case Pratik in case he has time to comment


  • Timothy replied

    Thanks! 

  • Timothy replied

    I solved the problem by purchasing Revolution Slider, which does have the option to stop, though it doesn't integrate well into the theme. Or at least, I haven't figured out how to make it look so seamless as the included sliders do.

  • Timothy replied

    If anyone thinks to go down the Revolution Slider road, I'd say don't. Great features, but doesn't integrate into the page nearly so well as the Nectar and Home sliders do. Perhaps you can figure out how Pratik's solution works; or hopefully this feature will be introduced soon.

  •  988
    ThemeNectar replied

    Hey again! Thanks for the updates and this is indeed on the wishlist :)

    Cheers

  • Timothy replied

    any idea of when it might be implemented? days, weeks, months?

    thanks

  •  8,443
    Tahir replied

    Hey Timothy!

    It will likely take more then two weeks. 

    Thanks


    ThemeNectar Support Team 

  • Timothy replied

    Thanks, Tahir. 

  • [deleted] replied

    Helo ,Timothy Shaw ,Which slider are you Currently using?Helo i can discuss now.I just found mail in my GmailBox.sorry

  • Timothy replied

    Pratik - sorry for the delay. Had given up on this thread for a bit. I'm using the Nectar slider. Or, I'd like to use the Nectar slider and have it stop on the second slide.

    thanks

  • Timothy replied

    site is under development here: http://bestdamnagent.info/

  •  988
    ThemeNectar replied

    Hey guys! Just to confirm - this still is on the wishlist, but i'll leave the ticket open for public dicussion :)

    Cheers

  • [deleted] replied

    @Timothy Shaw  , Can u email me personally ? my mail id is [email protected] .As this thread is causing delay in ur development .U can just mail me quickly if u have any doubt .So if ur problem gets solved immediately we will add it here.I think I solved the slider issue ,but no worries ,we will see in ur way.Mail me personally to reduce development gap.

  • [deleted] replied

    Take nectar-slider.js from Website i told above and Comment line from 2570 to 2579 Like

     /*$('.swiper-slide .slider-video').mediaelementplayer({

    enableKeyboard: false,

    iPadUseNativeControls: false,

    pauseOtherPlayers: false,

    // force iPhone's native controls

    iPhoneUseNativeControls: false,

    // force Android's native controls

    AndroidUseNativeControls: false

    });

    */

    It stops on last slide.Properly .I think U can sort out small CSS issues ! Cheers .Personally mail me to get fast response.

  •  988
    ThemeNectar replied

    Thanks for helping out Timothy, Pratik! :)

  • Timothy replied

    Yes, thank you! Will try and get back to you. Sent you a personal email

  • Timothy replied

    Thanks, Pratik. In the .js file I installed that code begins on line 2629 and is already commented.