jeter20131220 3 年之前
父節點
當前提交
7875c812cf
共有 1 個文件被更改,包括 33 次插入0 次删除
  1. 33 0
      index1.html

+ 33 - 0
index1.html

@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Document</title>
+
+
+
+
+<script>
+    
+window.onload=function(){
+    
+    if(screen.width>1024)
+    {
+        window.location.href = "./desktop/index.html";   
+    }
+    else
+    {
+        window.location.href = "./mobile/index.html";  
+        
+    }
+}
+    
+</script>
+    
+</head>
+<body>
+    
+</body>
+</html>