Comments nadav almagor started the conversationApril 24, 2020 at 12:39pmIs there a way to stop to effects of the images on mouse over? 1,973Support repliedApril 28, 2020 at 3:08pmHi,try opening /js/scripts.js and remove or comment this bit:// Tilt Showcase Wrapper var maxTilt = 1.5; var mouseX, mouseY; $(document).on("mousemove", function(event) { mouseX = event.pageX; mouseY = event.pageY; }); $('#showcase-tilt').each(function() { var thisWidth = $(this).width(); var thisHeight = $(this).height(); var thisOffset = $(this).offset(); $(document).mousemove(function() { var horTilt = ((mouseX / thisWidth) * (maxTilt * 2)) - maxTilt; var verTilt = (((mouseY - thisOffset.top) / thisHeight) * (maxTilt * 2)) - maxTilt; TweenMax.to('#showcase-tilt', 1,{rotationY: horTilt, rotationX: verTilt, scale: 1.05, ease:Power1.easeOut}); }); });there are two: one for the showcase slider and another one for showcase carousel.Hard refresh the page (Ctrl+F5) to see the changesThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy Sign in to reply ...
Is there a way to stop to effects of the images on mouse over?
Hi,
try opening /js/scripts.js and remove or comment this bit:
// Tilt Showcase Wrapper
var maxTilt = 1.5;
var mouseX, mouseY;
$(document).on("mousemove", function(event) {
mouseX = event.pageX;
mouseY = event.pageY;
});
$('#showcase-tilt').each(function() {
var thisWidth = $(this).width();
var thisHeight = $(this).height();
var thisOffset = $(this).offset();
$(document).mousemove(function() {
var horTilt = ((mouseX / thisWidth) * (maxTilt * 2)) - maxTilt;
var verTilt = (((mouseY - thisOffset.top) / thisHeight) * (maxTilt * 2)) - maxTilt;
TweenMax.to('#showcase-tilt', 1,{rotationY: horTilt, rotationX: verTilt, scale: 1.05, ease:Power1.easeOut});
});
});
there are two: one for the showcase slider and another one for showcase carousel.
Hard refresh the page (Ctrl+F5) to see the changes
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy