logo

  • Hỏi Đáp
  • Kiến Thức
  • Sức Khỏe
  • Tử Vi
  • Công Nghệ
No Result
View All Result
logo
No Result
View All Result
Trang chủ smooth mousewheel wordpress plugin

SMOOTH MOUSEWHEEL WORDPRESS PLUGIN

by Admin _ June 30, 2022

*

Cách thực hiện

Thêm tổng thể js bên dưới vào trước thẻ vào template.

! function() var e, t = frameRate: 150, animationTime: 400, stepSize: 120, pulseAlgorithm: !0, pulseScale: 4, pulseNormalize: 1, accelerationDelta: 20, accelerationMax: 1, keyboardSupport: !0, arrowScroll: 50, touchpadSupport: !0, fixedBackground: !0, excluded: "" , o = t, a = !1, n = !1, r = x: 0, y: 0 , l = !1, i = document.documentElement, c = <>, u = /^Mac/.test(navigator.platform), d = left: 37, up: 38, right: 39, down: 40, spacebar: 32, pageup: 33, pagedown: 34, end: 35, home: 36 ; o = t; function s() if (!l && document.body) if (m.push( x: t, y: a, lastX: t = o.animationTime, w = p ? 1 : h / o.animationTime; o.pulseAlgorithm && (w = R(w)); var b = s.x * w - s.lastX >> 0, v = s.y * w - s.lastY >> 0; l += b, i += v, s.lastX += b, s.lastY += v, p && (m.splice(c, 1), c--) u ? window.scrollBy(l, i) : (l && (e.scrollLeft += l), i && (e.scrollTop += i)), t ; K(d, e, 0), f = !0 } function w(t) 0, i = -t.wheelDeltaY function b(t) image)$/i; if (/^(textarea function v(t) e = t.target var g, y, S, x = (g = 0, function(e) ), D = ; function k() clearTimeout(y), y = setInterval(function() D = , 1e3) function M(e, t) for (var o = e.length; o--;) D)> = t; return t function T(e) var t = <>, o = document.body, a = i.scrollHeight; vị var r = D; if (r) return M(t, r); if (t.push(e), a === e.scrollHeight) var l = C(i) && C(o) else if (H(e) && E(e)) return M(t, e) while (e = e.parentElement) function H(e) { return e.clientHeight + 10 = 1 ? 1 : e tiếp nối lưu mẫu là xong! lưu ý phải có thư viện jquery sẵn trong template thì hiệu ứng mới chạy nhé!

Share Tweet Linkedin Pinterest
Previous Post

90+ free css html login form page templates

Next Post

Jquery: send json objects with an ajax request

CÙNG CHUYÊN MỤC

jquery file upload (hayageek plugin) error case with json from php

Jquery file upload (hayageek plugin) error case with json from php

28/04/2021
search/filter table rows based on input

Search/filter table rows based on input

28/04/2021
jquery form validation before ajax submit

Jquery form validation before ajax submit

18/03/2021
jquery multiple select dropdown

Jquery multiple select dropdown

28/04/2021
how to get id of an element with javascript/jquery &ndash

How to get id of an element with javascript/jquery &ndash

14/08/2022
jquery

Jquery

14/08/2022

12/08/2022
how do i get the text value of a selected option?

How do i get the text value of a selected option?

05/08/2022

Newsletter

The most important automotive news and events of the day

We won't spam you. Pinky swear.

Chuyên Mục

  • Hỏi Đáp
  • Kiến Thức
  • Sức Khỏe
  • Tử Vi
  • Công Nghệ

News Post

  • Hợp âm là gì guitar

About

Chúng tôi tạo ra trang web nhằm mục đích mang lại kiến thức bổ ích cho cộng đồng, các bài viết được sưu tầm từ nhiều nguồn trên internet giúp mang lại kiến thức khách quan dành cho bạn

©2022 darkedeneurope.com - Website WordPress vì mục đích cộng đồng

Liên Hệ - Giới Thiệu - Nội Quy - Bảo Mật

No Result
View All Result
  • Trang chủ
  • Chuyên mục
    • Hỏi Đáp
    • Kiến Thức
    • Sức Khỏe
    • Tử Vi
    • Công Nghệ
  • Lưu trữ
  • Liên hệ

© 2022 darkedeneurope.com - Website WordPress vì mục đích cộng đồng.