html
  • css
  • 2012-07-05 61 views 0 likes 
    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> 
    

    回答

    0

    原來這是用刷卡JS 1.0毛刺,我升級到Swipe 2.0和它固定的問題。
    更多的信息在這裏 - https://github.com/bradbirdsall/Swipe/issues/16

    相關問題