Answer the question
In order to leave comments, you need to log in
How to screw the slider in the form of background?
Greetings everyone :)
There is a div with a background-image property, but inside this block there is still a bunch of code, pictures, buttons, a menu, etc., how to properly implement a slider so that the content remains in its place, and the background itself changes, and more and the navigation was highlighted corresponding (in the form of dots)?
Maybe there is some plugin? I looked, it seems that the most popular ones are not suitable for this task :(
Answer the question
In order to leave comments, you need to log in
Through js or the jQuery library. You take an array of images through setInterval, you change the background of the divs, you can also add a class for the menu.
$('div').css('background-image','url(photo link) no-repeat');
Or maybe just set the block with the slider to absolute positioning and a negative z-index?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question