-
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>
-
George - post a link? where's the code on your page, where's the other code on your page, c'mon man - show us the whole enchilada, you know it's easier that way!
-
Ah sorry about that. I was thinking there might be something in the code that either resets jQuery or turns off other scripts. I found my way around it though, by deleting one of the other scripts. It's my new site, if you want to take a look at it :D
But yeah, this thread should probably be deleted now. Sorry 'bout that!