Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Fade in happening twice on Chrome WordPress


To view Issue

You can see the images load abruptly and then fade in on Chrome. It works fine on firefox, I am not sure why this is a problem on Chrome. Currently the JQuery is

$(document).ready(function() {
var linkLocation = null;
$("#wrap, #image_content").hide().fadeIn(2000);
linkLocation = this.href;
$("#wrap, #image_content").fadeOut(1000, function() {
function redirectPage() {
window.location = linkLocation;

Answers (1)


Reigel Gallarde answers:

did you try adding stop like this?

$("#wrap, #image_content").stop().hide().fadeIn(2000);

Emma comments:

That didn't work.

Emma comments:

It's also running on masonry, do you think that could be an issue?

Reigel Gallarde comments:

have you tried disabling masonry?

Emma comments:

Yes I just disabled it all. It still did the same thing, which makes me think it is my jquery that is causing the issue.