Could you link me to your site? I will check if there is a jQuery confliction.
Matthew.
I am working on it on a local installation via Xampp.
I will try to Firebug it, but haven’t really used it for debugging javascript much. I’ll give it a go. I actually just got this 500 page book on javascript to try and educate myself so this will be a learning experience.
I am wondering if it is conflicting with the superfish menu which is built into this theme.
So with my limited knowledge of debugging javascript in Firebug and doing against my local installation I came up with the below errows. I actually got one error when I had the load javascript set to “TRUE” and three errors when it was set to “FALSE”. Any ideas?
I tried to google the errors and found various subject matter. I’m guessing it might be some noConflict error with Superfish. That 500 page javascript book I just got is gonna take me a while to work through : ). Love to figure this out sooner rather than later.
1 ERROR – When set to true
jQuery.easing[jQuery.easing.def] is not a function
Line 46
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
3 ERRORS – When set to false
jQuery is not defined
plugins/easing-slider/js/jquery.easing.js?ver=1.3
jQuery.easing[‘jswing’] = jQuery.easing[‘swing’];
jQuery is not defined
plugins/easing-slider/js/script.js?ver=1.1.7
[Break on this error] })(jQuery)
jQuery is not defined
[Break on this error] jQuery.noConflict();
//Here
jQuery.noConflict();
36jQuery(document).ready( function($){
37 var buttons = { previous:$(‘#lofslidecontent45 .lof-previous’) , next:$(‘#lofslidecontent45 .lof-next’) };
38 $obj = $(‘#lofslidecontent45’)
39 .lofJSidernews( { interval : 4000,
40 easing : ‘easeInOutExpo’,
41 duration : 1200,
42 auto : true,
43 maxItemDisplay : 10,
44 startItem:0,
45 navPosition : ‘horizontal’, // horizontal
46 navigatorHeight : 15,
47 navigatorWidth : 25,
48 buttons : buttons,
49 mainWidth:480} );
50});</script>
It’s tough to help out when I cannot access the website. Judging by the error ‘jQuery is not defined’, is jQuery being loaded before the Easing Slider’s scripts? It needs to be loaded above them, otherwise it won’t function correctly.
Man, that was it! Indeed the Jquery call was falling below the Easing Slider call.
For me, I decided to set the Easing Slider call for Jquery to false and then simply repositioned the jquery.1.4.2.js toward the very top.
It may have just been the way the theme I bought was developed. However, I am betting this little tidbit will help other also.
Thanks!!
How do we figure if it is loaded after other jQuery is loaded?
Thank you!