Uname:
Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
8.0.30 [ PHP INFO ] PHP os:
Linux
Server Ip:
145.239.37.162
Your Ip:
216.73.216.190
User:
dreampi (1009562) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
(function ($) {
"use strict";
$(window).on('elementor/frontend/init', () => {
elementorFrontend.hooks.addAction('frontend/element_ready/motiox-move-cursor.default', ($element) => {
let cursorMove = $element.find('.cursor-move');
if ($(window).width() >= 1024) {
let moveIcon = cursorMove.find('.icon-title-move');
moveIcon.css({
position: 'absolute',
transition: 'transform 0.2s ease, opacity 0.2s ease',
opacity: 0,
pointerEvents: 'none'
});
cursorMove.css({
cursor: 'none'
});
cursorMove.on('mousemove', function (event) {
let relativeX = event.pageX - $(this).offset().left;
let relativeY = event.pageY - $(this).offset().top;
let moveIconWidth = moveIcon.outerWidth();
let moveIconHeight = moveIcon.outerHeight();
moveIcon.css({
transform: `translate(${relativeX - moveIconWidth / 2}px, ${relativeY - moveIconHeight / 2}px)`,
opacity: 1
});
});
cursorMove.on('mouseenter', function (event) {
let relativeX = event.pageX - $(this).offset().left;
let relativeY = event.pageY - $(this).offset().top;
let moveIconWidth = moveIcon.outerWidth();
let moveIconHeight = moveIcon.outerHeight();
moveIcon.css({
transform: `translate(${relativeX - moveIconWidth / 2}px, ${relativeY - moveIconHeight / 2}px)`,
opacity: 1
});
});
cursorMove.on('mouseleave', function () {
moveIcon.css({
opacity: 0
});
});
}
});
});
})(jQuery);