1. Trang chủ
  2. » Giáo Dục - Đào Tạo

lam blog di chuyen len

2 7 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Nội dung

function if temp=iecompattest.scrollTop else temp=window.pageYOffset if alt=1 else alt=0 if curpos1=temp else curpos2=temp if if currentpos=iecompattest.scrollTop+speed else currentpos=w[r]

(1)Code làm blog di chuyển lên , xuống Phóng to || Thu nhỏ Code này cực hay các bạn xem Demo Code <script language="JavaScript1.2"> /* Top-Down scrolling window Script- © trongbang studio visit http://bloggiaovienthaibinh.webng.com/blog/index.html This */ //change var var function startit() } function return } to another integer to (document.compatMode!="BackCompat")? function if temp=iecompattest().scrollTop else temp=window.pageYOffset if alt=1 else alt=0 if curpos1=temp else curpos2=temp if if currentpos=iecompattest().scrollTop+speed else currentpos=window.pageYOffset+speed window.scroll(0,currentpos) } else{ currentpos=0 window.scroll(0,currentpos) } } function setInterval("scrollwindow()",10) } window.onload=initialize </script> Điều chỉnh tốc độ var speed=1 Di chuyển xuống thì Down alter the notice MUST scroll speed For stay full source code, intact for use faster speed=1 currentpos=0,alt=1,curpos1=0,curpos2=-1 initialize(){ document.documentElement Greater : is iecompattest(){ document.body scrollwindow(){ (document.all) (alt==0) (alt==0) (curpos1!=curpos2){ (document.all) startit(){ (2) (3)

Ngày đăng: 07/06/2021, 18:47

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w