I’ve seen this question being asked 1000 times, but I’d tried almost all methods and I’m not sure why its not working for me -__-“. I have quite a few .js files. Some pertaining to jquery, some for mootools. I’ve tried moving jquery files to the top and adding a noconflict script. When I do that, only the mootools work. But the order of things doesn’t resolve the issue. If I don’t do anything, both scripts won’t work.
I’ve checked to make sure all jquery functions are using jquery(); instead of $();. Mootools is still using $ functions though. Through testing, i found that jquery1.26min.js is the culprit. But I’m not sure what I’m doing wrong. Any tips would help, thanks in advance!
This is what I have so far btw the tags, the first two script lines shouldn’t affect anything:
<script type="text/javascript" src="includes/minmax.js"></script>
<script type="text/javascript" src="includes/validate.js"></script>
<script type="text/javascript" charset="utf-8" src="includes/mootools.js"></script>
<script type="text/javascript" charset="utf-8" src="includes/mootoolt.js"></script>
<script type="text/javascript" charset="utf-8" src="includes/Fx.js"></script>
<script type="text/javascript" charset="utf-8" src="includes/BarackSl.js"></script>
<script type="text/javascript" charset="utf-8" src="includes/demo.js"></script>
<script src="includes/jquery-1.2.6.min.js" type='text/javascript'></script>
<script type='text/javascript'>jQuery.noConflict(); </script>
<script src="includes/jquery-easing.1.2.js" type='text/javascript'></script> <script src="includes/jquery-easing-compatibility.1.2.js" type='text/javascript'></script> <script src="includes/coda-slider.1.1.1.js" type='text/javascript'></script>
<script type='text/javascript'>
$(function () {
$("#blogSlider2").codaSlider();
});
</script>
I guess this
should better be