Okay
  Public Ticket #2375361
stop image effect in full screen slider
Closed

Comments

  • nadav almagor started the conversation

    Is there a way to stop to effects of the images on mouse over?

  •  1,803
    Support replied

    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