Reloading Responsive jQuery Content Slider

StatusIDPriorityType
Closed25721NormalContent Timeline jQuery
Profile Reply
roman Client

In
your documentation I am
missing description how to dynamicaly
reload the carousel with an ajax / json output.

In
may case I build
the image_array when iterating through a json data structure as
following :

$.each(image_array,
function(index, element) {

console.log(element);

slider += ‘<div
class=”circle_slider_text_wrapper” id=”sw’+i+’”>’;

slider += ‘<div
class=”content_slider_text_block_wrap”><h3>’+estab_name+’</h3></div>’;

slider += ‘<div
class=”clear”></div></div>’;

i++;

});

The
above loop generate about 20 blocks which are supposed to refresh the
carousel and I am trying to achieve it with the bellow snippet :

$(‘div#slider1′).html(slider);
//adding slider to views

Unfortunatly
instead of the carousel I am getting only lines with establishment
names.

Question
:

What
is regular approach to dynamically reload the carousel content with a refreshed
image_array ?

Replies

User Description Posted On
roman Client

Hi guys I have a pending dev process because of this issue. Is there anybody from your technical team that could have a look at this?

× This ticket is closed.