Can anyone tell me why does the following script just.. turn off all my other jQuery scripts on the page?
Code:
<script src="jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="jquery.slicebox.js"></script>
<script type="text/javascript">
$(function() {
$('#sb-slider').slicebox({
slicesCount : 5,
disperseFactor : 30,
sequentialRotation : true,
colorHiddenSides : '#F7931E',
slideshow : true,
sequentialFactor : 100
});
if( !Modernizr.csstransforms3d ) {
$('#sb-note').show();
$('#sb-examples > li:gt(2)').remove();
$('body').append(
$('script').attr( 'type', 'text/javascript' ).attr( 'src', 'js/jquery.easing.1.3.js' )
);
}
});
</script>