attachCarousel

attaches a carousel object to the popup

dhtmlXCarousel attachCarousel(number width,number height,object conf);

Parameters

widthnumbercarousel width
heightnumbercarousel height
confobjectoptional, carousel config for object-api init

Returns

dhtmlXCarouseldhtmlXCarousel instance

Example

var myPop = new dhtmlXPopup(...);
var myCarousel = myPop.attachCarousel(400, 300, conf){
    ...
});

Back to top