开发者

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

开发者 https://www.devze.com 2023-04-13 00:52 出处:网络
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!

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

精彩评论

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

关注公众号