Zen Cart Logo
Forums / All Other Contributions/Addons / Javascript Conflict with Slimbox and Mootools and jQuery

Javascript Conflict with Slimbox and Mootools and jQuery

Locked

Views: 3,870

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
14 Nov 2010, 8:10 PM
#1
bhensarl avatar

bhensarl

New Zenner

Join Date:
Feb 2010
Posts:
67
Plugin Contributions:
0

Javascript Conflict with Slimbox and Mootools and jQuery

My site uses JQuery Easyslider 1.7 to display images on the splash page, and I've never had issues until I recently installed Slimbox with MooTools. Now I can't get the two to work concurrently. Either one works perfectly if the other isn't loaded, but if they're both loaded Slimbox will work, but Easyslider won't and if I open the error console I get the following error message, "$("#slider") is null. I see that code in the javascript for Easyslider: ```

<script type="text/javascript"> $(document).ready(function(){ $("#slider").easySlider({ auto: false, continuous: true }); }); function my_redirect() { stop(); return 0; } </script>
I know very, very little about Javascript.  Can someone tell me how to work around it?  Thanks in advance.
Brian