Instead of dropping in and out of the scene. The element stays put and fades out instead of dropping like it's suppose to...
What am I doing wrong here?
Thanks
$(document).ready(function () {
$("button").click(function () {
$(".target").hide("drop", {
direction: "up"
}, 1000);
});
});
and
<button>Show</button>
<div class="target">
<img src="http://i.imgur.com/EwHWLHV.png" alt="SO" />
</div>
Use different versions. Eg:- jQuery 1.11.1 + jQuery UI 1.9.2
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.