Advertisement
EduardET

second error

Nov 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2.     /* Run FooBox (v2.4.0.0) */
  3. (function( FOOBOX, $, undefined ) {
  4.   FOOBOX.o = {wordpress: { enabled: true }, pan: { enabled: true, showOverview: true, position: "fbx-top-right" }, deeplinking : { enabled: true, prefix: "foobox" }, excludes:'.fbx-link,.nofoobox,.nolightbox,a[href*="pinterest.com/pin/create/button/"]', affiliate : { enabled: false }, slideshow: { enabled:true}, social: {"enabled":true,"position":"fbx-above","excludes":["iframe","html"]}, preload:true};
  5.   FOOBOX.init = function() {
  6.     $(".fbx-link").removeClass("fbx-link");
  7.     $(".gallery").foobox(FOOBOX.o);
  8.     $(".foobox, [target=\"foobox\"]").foobox(FOOBOX.o);
  9.     $(".wp-caption").foobox(FOOBOX.o);
  10.     $("a:has(img[class*=wp-image-])").foobox(FOOBOX.o);
  11.  
  12.   };
  13. }( window.FOOBOX = window.FOOBOX || {}, FooBox.$ ));
  14.  
  15. jQuery(function() {
  16.  
  17.   jQuery("body").append("<span style=\"font-family:'foobox'; color:transparent; position:absolute; top:-1000em;\">f</span>");
  18.   FOOBOX.init();
  19.   jQuery(document).trigger("foobox-after-init");
  20.   jQuery('body').on('post-load', function(){ FOOBOX.init(); });
  21.  
  22. });
  23. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement