2013-06-23 143 views

回答

1

可以使用這樣:

$(this).hide("slide", { direction: "left" }, 1000); 
$(this).show("slide", { direction: "left" }, 1000); 

Here is duplicate

而且here is through plugins

從右下角到左上角嘗試如此。 另一種方式 - 您可以在功能中更改選項marginLeft和marginTop。

jQuery.fn.blindLeftTopOut = function (duration, easing, complete) { 
    return this.animate({ 
     marginLeft: -this.outerWidth(), 
     marginTop: -this.outerHeight() 
    }, jQuery.speed(duration, easing, complete)); 
}; 
$(element).blindLeftTopOut(); 
+0

slideTopRightCorner() –

+0

@ c-link取決於你的CSS,但通常默認使用'.hide(800)'來實現' –