开发者

Jquery explode works, but in some unusal way. Any thoughts?

http://patrikmakrai.com/buttonka/ - This is the place where I try to make jquery's explode work, but it works in a weird way. Any thought why this is happening? Thanks in advance!

<div id="container">
<div id="buttonka">
</div>
<script type="text/javascript">
$('#buttonka').click(function() {
        $('#buttonka').hide('explode');
});
</script>
</div&g开发者_开发技巧t;


You're downloading jQuery ui before jQuery itself. Change

<script src="js/jquery-ui-1.8.16.custom.min.js"></script>
<script src="js/jquery-1.6.2.min.js"></script>

to

<script src="js/jquery-1.6.2.min.js"></script>
<script src="js/jquery-ui-1.8.16.custom.min.js"></script>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜