Venobox Plugin Error in Safari Mac Osx

Asked

Viewed 39 times

0

I have a small problem in this plugin, the name is Venobox. With the same function as Colorbox, it opens iframes, photos, external links and HTML in the famous lightbox effect.

I took a project in which the developers who created the structure used this plugin, and in Safari (mac osx) it when opening, it seems to me that runs more than once the click function, so it displays the modal and then the loading from above, and the information that should be displayed is left behind. In the Console no plugin error is displayed, only jquery.map errors I have already placed the file and even then the problem persists.

To view the problem: www.pinheironeto.com.br (footer links - Terms of Use / Privacy Policy)

Valeu and abs!

1 answer

0

After some testing, we found a possible error in the plugin, which was fixed in line 538 of the plugin:

  content.animate({
    'opacity': '1'
  },'slow',function(){
    //fix to Safari on MacOS
    $(".vbox-preloader").hide();
  });

}

We just put an Hide on the div preloader, which was above the box, thus solving the Safari preview issue on Mac OSX.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.