1
嘗試讓父div在點擊某個子元素時向左滑動。不過,我收到了如下錯誤信息:向左滑動不起作用
Uncaught TypeError: Property '#' of object # is not a function
$(".Area").live("click", function() {
$(".sliderAreas").hide('slide',{ direction: 'left' }, 1000);
})
<div class="clear sliderAreas">
<h1>Area</h1>
<h2>Please Select your Current Location</h2>
<br />
<div class='SkiAreas' id="Report">
<div class='Area'></div>
</div>
</div>
如果我刪除了動畫選項,默認滑動操作很好發生。
spot with your answer – goingsideways