Could someone please help me with a query I have regarding a background image slide show using jQuery code? I have set up a slide show with multiple images and would like to make the last image clickable. Is it possible to achieve this specific functionality?
Here is the link to what I have done so far for reference:
The plugin I am using is BGSLIDER-INIT.JS
/*global $:false */
/*global window: false */
(function(){
"use strict";
$(function ($) {
//BG SLIDESHOW WITH ZOOM EFFECT
$.mbBgndGallery.buildGallery({
containment:"body",
timer:1300,
effTimer:1300,
controls:false, //updated in v1.1
grayScale:false,
shuffle:false,
preserveWidth:false,
preserveTop: true,
effect:"fade",
images:[
"images/bg/01.jpg",
"images/bg/02.jpg",
"images/bg/03.jpg",
"images/bg/04.jpg",
"images/bg/05.jpg",
"images/bg/06.jpg",
],
onStart:function(){},
onPause:function(){},
onPlay:function(opt){},
onChange:function(opt,idx){},
onNext:function(opt){},
onPrev:function(opt){}
});
});
})();
I am looking to make the last image (image06) clickable. Could someone guide me on how to modify the code to add this interactivity? I also want to link it to a section on my page and assign a scroll class to it.