PageSourceSearch

http://pupas.ru/wp-content/plugins/nextgen-gallery/products/photoc…/nextgen_basic_slideshow.js?ver=5.1.19

js pupas.ru collected 2026-10-05 00:11:40 UTC 1,865 bytes, 55 lines download raw bytes

1jQuery.fn.nggShowSlideshow = function(args) {
2  
3    var defaults = {
4        id: 1,
5        width: 600,
6        height: 400,
7        fx: 'fade',
8        domain: '',
9        timeout: 5000
10    };
11                   
12    var s = jQuery.extend({}, defaults, args);
13    var selector = this.selector;
14	
15    jQuery(selector + '-loader').empty().remove();
16		
17		var container = jQuery(selector);
18    var gallery = jQuery(selector + '-image-list');
19    var self = this;
20
21    jQuery(gallery).waitForImages(function() {
22        var list = gallery.contents().detach();
23        var placeholder = container.attr('data-placeholder');
24        
25        gallery.remove();
26
27        list.appendTo(self);
28
29        self.show();
30        
31        if (placeholder) {
32        	self.prepend('<img class="image-placeholder" src="' + placeholder + '" width="' + s.width + '" height="' + s.height + '" style="width: ' + s.width + 'px; height: ' + s.height + 'px;" />');
33        }
34
35        if (self.children().length > 1) {
36            self.cycle({
37                fx: s.fx,
38                slideExpr: '.ngg-gallery-slideshow-image',
39                slideResize: false,
40                containerResize: false,
41                fit: 1,
42                timeout: s.timeout,
43                next: self, // advance to next image when clicked
44                after: function(currSlideElement, nextSlideElement, options, forwardFlag) {
45                    // update the pro-lightbox triggers should they exist
46                    jQuery(nextSlideElement).parent().siblings('div.ngg-trigger-buttons').each(function() {
47                        jQuery(this).find('i').each(function() {
48                            jQuery(this).data('image-id', jQuery(nextSlideElement).find('img').data('image-id'));
49                        });
50                    });
51                }
52            });
53        }
54    });
55};

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.