Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 48: | Line 48: | ||
var currentPadding = $cells.css('padding'); | var currentPadding = $cells.css('padding'); | ||
$cellContentWrappers = $(this).find('.slideRowUp'); | $cellContentWrappers = $(this).find('.slideRowUp'); | ||
$cellContentWrappers.slideUp(sR.thisCallArgs.slideSpeed,sR.thisCallArgs.easing).parent().animate({ | $cellContentWrappers.slideUp({ | ||
duration: sR.thisCallArgs.slideSpeed, | |||
easing: sR.thisCallArgs.easing, | |||
progress: function(promise, progress, remains){ | |||
if(typeof sR.thisCallArgs.callback_ticking == "function") | |||
sR.thisCallArgs.callback_ticking.call(this); | |||
} | |||
}).parent().animate({ | |||
paddingTop: '0px', | |||
paddingBottom: '0px'},{ | |||
complete: function () { | |||
$(this).children('.slideRowUp').replaceWith($(this).children('.slideRowUp').contents()); | |||
$(this).parent().css({'display':'none'}); | |||
$(this).css({'padding': currentPadding}); | |||
} | |||
}); | |||
var wait = setInterval(function () { | var wait = setInterval(function () { | ||
if($cellContentWrappers.is(':animated') === false) { | if($cellContentWrappers.is(':animated') === false) { |