views:

47

answers:

0

I have to use jcarasoul and Lightbox plugin both together in a file of php. the Jcarasoul is working fine for the light box all paths are correct but it always says that

 $("#gallery a").lightbox is not a funtion. 

Same as for fancy box or how do I can use Lightbox2 of prototype with jQuery.

I used the below for no confliction

var $jx = jQuery.noConflict();
$jx(function() {
   $jx(".jgallery").jCarouselLite({
         btnNext: ".morePost",
   visible: 8,
   scroll:8   

 });

for using with prototype. The Prototype Light Box Start working but Jcarasoul not work after this.