隨着Mr.Vytautas布特庫斯, 我用他的代碼的參考,使用他的代碼,我可以得到垂直的效果,但我要顯示和隱藏的水平效果。如何隱藏和顯示分度,特殊效果
$(document).ready(function(){
var $content = $(".content").hide();
$(".toggle").on("click", function(e){
$(this).toggleClass("expanded");
$content.slideToggle();
});
})
所以請建議我該怎麼做水平隱藏和顯示效果的div?
http://jqueryui.com/show/滑動? – mishik
看到這個:: http://stackoverflow.com/questions/14470081/jquery-slidetoggle-horizontal-alternative –
Thnaks mishik和蘇德赫,我看到了兩個鏈接我的東西會爲我的工作讓我測試..! – AloNE