Answer the question
In order to leave comments, you need to log in
How can I change the page background along with switching the main slider?
The essence is simple, it is necessary that when switching the slider on the main one, its main background changes.
Are there any ready-made solutions or an example, maybe just something related to this topic.
I use bxslider as a slider, but it doesn't matter.
Answer the question
In order to leave comments, you need to log in
He, in the callBacks section, has onSlideAfter
default: function(){}
options: function($slideElement, oldIndex, newIndex){ // your code here }
arguments:
$slideElement: jQuery element of the destination element
oldIndex: element index of the previous slide (before the transition)
newIndex: element index of the destination slide (after the transition)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question