Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- /* Run FooBox (v2.4.0.0) */
- (function( FOOBOX, $, undefined ) {
- 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};
- FOOBOX.init = function() {
- $(".fbx-link").removeClass("fbx-link");
- $(".gallery").foobox(FOOBOX.o);
- $(".foobox, [target=\"foobox\"]").foobox(FOOBOX.o);
- $(".wp-caption").foobox(FOOBOX.o);
- $("a:has(img[class*=wp-image-])").foobox(FOOBOX.o);
- };
- }( window.FOOBOX = window.FOOBOX || {}, FooBox.$ ));
- jQuery(function() {
- jQuery("body").append("<span style=\"font-family:'foobox'; color:transparent; position:absolute; top:-1000em;\">f</span>");
- FOOBOX.init();
- jQuery(document).trigger("foobox-after-init");
- jQuery('body').on('post-load', function(){ FOOBOX.init(); });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement