jQuery works fine with other Libraries when used in noConflict mode.
<script type="text/javascript" src="mootools.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
jQuery.noConflict();
</script>
The caveat is that you cannot use $ for an identifier on the first line but instead must jQuery.
<script type="text/javascript">
jQuery(document).ready(function ($) {
// ... the $ can be used as it normally would
$('#body').hide();
$('#body').fadeIn(3000);
});
</script>


Reply With Quote
