I'm spanish (sorry for my english), and it's the first time that i write here for ask something.
After hours of debugging and searching why the Fancybox script didn't work i search a conflict between two scripts in my website (now in Maintence Mode)
I use a few scripts on my website, but I can safely say that I have a conflict between these two scripts:
AND
The first two scripts is the plugin for jquery "<a href="http://fancybox.net/" rel="nofollow">fancybox</a>", the other is the main javascript (Ajax) for wordpress plugin: BuddyPress.
The latter creates conflict in fancybox. If I remove BuddyPress' script, fancybox works perfectly, but if not, fancybox don't work.
BuddyPress' script, global.js has a variable defined at the outset that is the one that makes the script.
I try to define it this way:
var jq = jQuery.noConflict ();
But still not working.
Any suggestions?
In Firebug console i got this:
[Detener en este error] e,this.options.orig[e]);this.options.c...++)ab||a.splice(b--,1);a.length||
Line 143 of
Thanks
After hours of debugging and searching why the Fancybox script didn't work i search a conflict between two scripts in my website (now in Maintence Mode)
I use a few scripts on my website, but I can safely say that I have a conflict between these two scripts:
Code:
http://www.planetdescargas.com/wp-content/themes/bigfoot/javascripts/jquery.mousewheel-3.0.4.pack.js
http://www.planetdescargas.com/wp-content/themes/bigfoot/javascripts/jquery.fancybox-1.3.4.pack.js
AND
Code:
http://www.planetdescargas.com/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js?ver=3.0.5
The first two scripts is the plugin for jquery "<a href="http://fancybox.net/" rel="nofollow">fancybox</a>", the other is the main javascript (Ajax) for wordpress plugin: BuddyPress.
The latter creates conflict in fancybox. If I remove BuddyPress' script, fancybox works perfectly, but if not, fancybox don't work.
BuddyPress' script, global.js has a variable defined at the outset that is the one that makes the script.
I try to define it this way:
var jq = jQuery.noConflict ();
But still not working.
Any suggestions?
In Firebug console i got this:
Code:
c.easing[this.options.specialEasing && this.options.specialEasing[this.prop] || a] is not a function
[Detener en este error] e,this.options.orig[e]);this.options.c...++)ab||a.splice(b--,1);a.length||
Line 143 of
Code:
http://www.planetdescargas.com/wp-includes/js/jquery/jquery.js?ver=1.4.2
Thanks