var ajaxurl = "https://www.thomassankara.net/wp-admin/admin-ajax.php"; var global_options_lazy_load = "disable"; var global_options_right_click_protection = "disable"; var global_options_order_by = "disable"; var page_navigation_galleries = "enable"; var sort_albums_by = "sort_order"; var animation_effect = "fadeIn"; var layout_type = "thumbnail_layout"; var album_type = "compact_album"; if (typeof (call_gallery_bank_layout_type_3397) !== "function") { function call_gallery_bank_layout_type_3397() { } } jQuery(document).ready(function () { if (animation_effect !== "none" && layout_type !== "justified_grid_layout") { jQuery(".gb_animate").scrolla_gb(); } if (global_options_lazy_load === "enable") { jQuery(".lazy").lazy( { effect: "fadeIn", effectTime: 1000, attribute: "src", threshold: 0 }); jQuery(document).ajaxStart(function () { jQuery(".gb-ajax-loader-div").css("display", "block"); jQuery("html, body").animate({ scrollTop: jQuery("#gallery_bank_album_main_container_3397").offset().top }, 500); }); jQuery(document).ajaxComplete(function () { jQuery(".gb-ajax-loader-div").css("display", "none"); }); } call_gallery_bank_layout_type_3397(); if (global_options_right_click_protection === "enable") { jQuery(".gallery_bank_album_main_container").on("contextmenu", function (e) { return false; }); } if (global_options_order_by === "enable") { var check_type = ""; switch (sort_albums_by) { case "album_title": check_type = "Title"; break; case "upload_date": check_type = "Date"; break; case "album_name": check_type = "Filename"; break; case "file_type": check_type = "Type"; break; case "sort_order": check_type = "Custom Order"; break; case "random_order": check_type = "Random Order"; break; } jQuery("#ux_gb_order_images_by").html(check_type); jQuery("#" + sort_albums_by).addClass("gb-order-active"); } if (page_navigation_galleries === "enable") { pagination_buttons_gallery_bank_3397(1, 1); } });
1
1
Rechercher
Janvier, 2021
Comentarios recientes