Answer the question
In order to leave comments, you need to log in
The name of a similar Jquery slider?
Hello! Please recommend a similar Jquery slider like in the image. It should have vertical image navigation, while the navigation block can be scrolled with the up and down arrows.
Answer the question
In order to leave comments, you need to log in
darsa.in/sly
+
Perform a simple function of replacing the central image by clicking on the pictures.
Anything in style
$('.sl-item').click(function(){
$('#central-image').attr('src',$(this).data('path-to-full-image'));
})
there after all the array comes.
this is how you need it:var key = json[0].device + ' - ' + json[0].id;
You are referring to the result as an object, but if you look closely, it is an array, and already in it is an object.var key = json[0].device + ' - ' + json[0].id;
Is the page you're running this script on a local server or a server? If on the server - is it via HTTPS? Look at the console - it will become clear what the problem is.
Option: page over HTTPS, and you are trying to load JSON from plain HTTP.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question