소스 검색

add scrolling

huai-sian 3 년 전
부모
커밋
56fbbc10e9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      js/index.js

+ 2 - 0
js/index.js

@@ -2,6 +2,7 @@ let userAgent;
 let isSafari = false;
 let isSafari = false;
 let browserName;
 let browserName;
 window.onload = function(){
 window.onload = function(){
+  //window.scrollBy(0, 1);
   /* if(screen.width >= 901){
   /* if(screen.width >= 901){
       window.location.href = "https://www2.hhh.com.tw/";   
       window.location.href = "https://www2.hhh.com.tw/";   
   } */
   } */
@@ -26,6 +27,7 @@ window.onload = function(){
           renderSec11(result);
           renderSec11(result);
           renderVideo(result);
           renderVideo(result);
       });
       });
+       
 }
 }
 
 
 function detectBrowser(agent){
 function detectBrowser(agent){