Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($(this).is(":last-child")) {
- var pos = $(this).offset().top;
- var location;
- if ($(this).offset().left == 0) { location = "right" } else { location = "left" }
- $("#myTools").animate({ top: "+=" + getFullHeight() }, 1000, 'swing', function () {
- $(this).css({ "float": location, location: "0px" }, function () {
- });
- });
- $("#myTools").animate({ top: "-=" + getFullHeight() }, 1000, 'swing');
- //$(obj).parent().animate({ top: ($(document).height() - $(this).height()) }, 500, 'swing');
- }
Add Comment
Please, Sign In to add comment