glidej
07-30-2009, 06:33 PM
1) Script Title: Step Carousel Viewer v1.6.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
Hello,
I was unable to find someone with a similar problem on the forum, I apologize if this has been handled before.
I'm working on a project where I have to pop carousels into the DOM dynamically. A carousel is one part of a widget the user will be able to add, and I need to initialize the javascript for the carousel. I have already setup code to create a unique id for the gallery.
I setup a wrapper function around the init code, and passed the galleryId to it, without any luck.
ex:
function insertGallery(galleryId) {
stepcarousel.setup({
galleryid: galleryId,
beltclass: 'belt',
panelclass: 'panel',
autostep: {enable:false},
panelbehavior: {speed:750, wraparound:false, persist:false},
defaultbuttons: {enable: false},
contenttype: ['inline']
})
}
Try to imagine my horror when I execute this function and the entire webpage goes blank. I'm not really sure where to go from here, any ideas would be very helpful.
thanks,
Jacob
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
Hello,
I was unable to find someone with a similar problem on the forum, I apologize if this has been handled before.
I'm working on a project where I have to pop carousels into the DOM dynamically. A carousel is one part of a widget the user will be able to add, and I need to initialize the javascript for the carousel. I have already setup code to create a unique id for the gallery.
I setup a wrapper function around the init code, and passed the galleryId to it, without any luck.
ex:
function insertGallery(galleryId) {
stepcarousel.setup({
galleryid: galleryId,
beltclass: 'belt',
panelclass: 'panel',
autostep: {enable:false},
panelbehavior: {speed:750, wraparound:false, persist:false},
defaultbuttons: {enable: false},
contenttype: ['inline']
})
}
Try to imagine my horror when I execute this function and the entire webpage goes blank. I'm not really sure where to go from here, any ideas would be very helpful.
thanks,
Jacob