PageSourceSearch

https://natalistom.ru/blog/wp-content/plugins/picassowp/js/pp_shortcodes.js

js natalistom.ru collected 2026-10-08 14:10:48 UTC 1,235 bytes, 19 lines download raw bytes

1jQuery(window).load(function () {
2    //определяем елементы
3    var carousels = jQuery('.carousel');
4    var sliders = jQuery('.slider');
5    //проходим по всем каруселям, добавляем им ИД и пишем в текст документа для этого ид скрипт для карусели
6    carousels.each(function (i) {
7        jQuery(this).attr("id", "carousel" + i + "");
8        jQuery('body').append("<script>jQuery('#carousel" + i + "').flexslider({animation: 'slide',controlNav: false, animationLoop: false,slideshow: false,itemWidth: 180,itemMargin: 5,asNavFor: '#slider" + i + "'});</script>");
9
10    });
11    //проходим по всем слайдерам, добавляем им ИД и пишем в текст документа для этого ид скрипт для слайдера
12    sliders.each(function (j) {
13        jQuery(this).attr("id", "slider" + j + "");
14        jQuery('body').append("<script> jQuery('#slider" + j + "').flexslider({ animation: 'slide',controlNav: false, animationLoop: false, slideshow: false, sync: '#carousel" + j + "', start: function(slider){ jQuery('body').removeClass('loading'); } });</script>");
15
16    });
17
18
19});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.