what if there is a multiple slider on one page how can we define a event then ?
what if there is a multiple slider on one page how can we define a event then ?
Hi,
How can I do to make the play button appear again when the slider stop?
Hi,Roshan, here is where you have to put your lines:
var sliderOptions=
{
sliderId: "slider",
startSlide: 0,
effect: "13",
effectRandom: false,
pauseTime: 2000,
transitionTime: 3000,
slices: 14,
boxes: 11,
hoverPause: 2,
autoAdvance: false,
thumbnailsWrapperId: null,
m: true,
license: "mylicense"
};
function afterSlideChange(args) {
//args[0]-currentSlide index,
//args[1]-currentImage
if(args[0]==3) imageSlider.changeOptions({ autoAdvance: false }); }
var imageSlider=new mcImgSlider(sliderOptions);
/* Menucool Javascript Image Slider v2016.9.27. Copyright www.menucool.com */
function mcImgSlider(i){for(var I=function...
P.s.=(args[0]==3) in case you have 4 images
Without reviewing the entirety of your source code, I cannot say. You can test afterSlideChange's functionality, add a new slide, verify that you're using the most recent version of JavaScript, etc.
1.52.219.73
If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;
If your question is related to the Javascript Image Slider, click:
Ask new question: Javascript Image SliderOtherwise navigate to one of the following forum categories, and post your question there.
##