button1
12-10-2008, 02:42 AM
Facebox image and content viewer (v 1.1) and Step Carousel Viewer v1.6.1
Facebox: http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm and Step Carousel Viewer: http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
Step by Step: http://www.dynamicdrive.com/dynamicindex4/stepcarousel_suppliment4.htm
Problem:
I am trying to integrate the Facebox image and content viewer (v 1.1) with the Step Carousel Viewer v1.6.1
I first installed Facebox on my page and verified that it worked with test images etc. I then followed the exact same procedure with the Carousel Viewer assuming the Carousel images are hyperlinked, and gave each of the links the requisite rel="facebox" declaration.
Everything works perfectly when the content setting is 'inline’. However, when I try the same where panels are defined in an external file and fetched via Ajax I get “A Error on Page” - Object doesn't support this property or method.
When I click on an image it opens in its own window and the Facebox style is ignored.
I added the oninit function as instructed:
oninit:function(){
jQuery('#galleryB a[rel*=facebox]').facebox()
}
Any ideas what the heck I'm doing wrong?
Facebox: http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm and Step Carousel Viewer: http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
Step by Step: http://www.dynamicdrive.com/dynamicindex4/stepcarousel_suppliment4.htm
Problem:
I am trying to integrate the Facebox image and content viewer (v 1.1) with the Step Carousel Viewer v1.6.1
I first installed Facebox on my page and verified that it worked with test images etc. I then followed the exact same procedure with the Carousel Viewer assuming the Carousel images are hyperlinked, and gave each of the links the requisite rel="facebox" declaration.
Everything works perfectly when the content setting is 'inline’. However, when I try the same where panels are defined in an external file and fetched via Ajax I get “A Error on Page” - Object doesn't support this property or method.
When I click on an image it opens in its own window and the Facebox style is ignored.
I added the oninit function as instructed:
oninit:function(){
jQuery('#galleryB a[rel*=facebox]').facebox()
}
Any ideas what the heck I'm doing wrong?