0
我正在使用jQuery Mobile作爲簡單的移動網站。 使用SwipeJS掃描圖片。 在iPhone上,所有3張照片都會自動加載並輕掃。 在iPad上,只有第一張照片因此不會滑動,因爲它會讀取圖庫中的其他照片。從圖庫加載單張圖片直到我轉到另一頁[Swipe JS]
所有的三張照片只加載後,我去加載另一個頁面,然後回到頁面。
JavaScript是打開
<div id = "slider">
<ul>
<li style = 'display:block'><a href="../customer/19"><img src="../firstPhoto.jpg", width="80%"></a></li>
<li style = 'display:none'><a href="../customer/20"><img src="../secondPhoto.jpg", width="80%"></li></a>
<li style = 'display:none'><a href="../customer/21"><img src="../secondPhoto.jpg", width="65%"></a></li>
</ul>
</div>