Đăng kí thành viên · Quên MK?

Lần hoạt động

Diễn đàn | Wap Web | Script - Js
Tìm kiếm
  Code JS Chuyển Hình Ảnh Liên Tục
Admin  Admin [FOUNDER]
 
PRO
(06.12.2018 / 20:49) TOP
  1. <script>var rotate = false;
  2. function setbackground(){
  3. window.setTimeout( "setbackground()", 5000);
  4. newImage = rotate ? 'url(//abs.twimg.com/b/front_page/v1/JP_ASIA_6.jpg)' : 'url(//abs.twimg.com/b/front_page/v1/JP_ASIA_2.jpg)';
  5. rotate = !rotate;
  6. document.getElementsByTagName('body')[0].style.backgroundImage = newImage;
  7. }
  8. setbackground();</script>
  9. <style type="text/css">body{background-repeat:no-repeat;background-position-x:50%;transition:background 1s ease;}</style>
114 Lượt xem chủ đề  Tổng số: 1 Comment

Cùng chuyên mục
Lọc theo tác giả
Xem chủ để ngoại tuyến (Offline)

Trong diễn đàn

Sắp xếp theo thứ tự từ trên xuống
Forum.GiaiTri321.Info
Trang chủ
0 / 1

DucVuVip.Pro - Diễn Đàn DucVuVip.Pro, Chia Sẻ Code, Thủ Thuật Wap/Webmaster 6.2.1

© Forum.GiaiTri321.Info