我想用某種動畫向左/右滑動頁面。 (就像iphone應用程序一樣)在Web應用程序中滑動頁面
<body>
<div id="page1">
<!-- Full screen content with a button at bottom, on click I want to show #page2 but with slide animation. #page1 will slide-out left and #page2 will slide-in from right-->
</div>
<div id="page2">
<!-- Full screen content with a button at bottom, on click It will show page1 with slide animation -->
</div>
</body>
你能查看這個頁面http://204.93.167.12/AppMy/EcoHome/testpage.html並點擊Main Floor,滑動動畫不起作用。 – coure2011 2011-03-13 08:06:43
從我在Web檢查器(ctrl + alt + I)中快速看到的它看起來像幻燈片動畫**是**工作(我手動添加類,因爲通過單擊它沒有被添加,這看起來像一個問題你的JS),只是不顯示頁面。一個猜測是,這是一個Z指數問題。如果不是這樣,簡化的測試案例會有所幫助。 – 2011-03-13 20:11:10