還好這裏的jQuery Cookie是我的代碼至今jQuery的動畫
$(window).load(function() {
$("#notify").animate({top: 0}, 200, null);
//for css positioning prblem
$("#notify").css("position", "relative");
}); // end window load
$(document).ready(function(){
//Hide notify bar
$('.notify-close').click(function(){
$("#notify").slideToggle({top: -100}, 300, function() {
$("#notify").css("position", "absolute");
});
});
});
我怎樣才能讓這個當用戶點擊該按鈕與.notify-close
類,在未來什麼都那麼時間限制通知欄不顯示。
有關回答第二想過,但後來我看到這一點。 – jsalonen
@ j08691:你在哪裏看到的? – Ryan
@dystroy:我的意見,但我肯定覺得這有點難過。 – Ryan