當前位置:編程學習大全網 - 網站源碼 - Html手機跳轉代碼

Html手機跳轉代碼

& lt腳本& gtif(navigator . platform . index of(' Win32 ')!=-1){ } else { window . location . href = "/c . html ";}

& lt/script & gt;

判斷手機跳轉,如果手機訪問,自動跳轉到wap,如果電腦執行下面的頁面,如果跳轉到另壹個頁面,則添加無條件跳轉。

& ltmeta http-equiv = " refresh " content = " 0.1;url = b.html " & gt

  • 上一篇:c++怎麽壓縮字符串?
  • 下一篇:C#如何把壹個類的對象存入數據庫(此時在數據庫裏面應該保存成什麽數據類型)
  • copyright 2024編程學習大全網