PageSourceSearch

https://foretcommunale-cameroun.org/extension/ecedigallery/design/standard/javascript/gallery.js

js foretcommunale-cameroun.org collected 2026-10-05 22:49:15 UTC 1,715 bytes, 63 lines download raw bytes

1
2
3
4 
5// DOM Loaded 
6jQuery(function(){ 
7     
8    //init js styles 
9    jQuery('body').addClass('hasJS'); 
10     
11	 
12    // homepage cycles 
13    jQuery('#feature_gallery .bigimg').wrapAll('<div class="bigimgs">').parents('#feature_gallery').after('<ul class="menu" id="feature_gallery_pager">').cycle({ 
14        fx:'scrollHorz', 
15        easing: 'swing', 
16        inDelay:    250, 
17        drop:       40, 
18        timeout:    5000, 
19        pause:      true,
20		prev:   '#prev', 
21		next:   '#next',
22		before:  onBefore,
23        slideExpr: '.bigimg', 
24        pager:      '#feature_gallery_pager', 
25      //  pagerAnchorBuilder: function(idx, slide) { 
26          
27            //return '<li><a href="#"><img src="'+slide.id+'" class="thumb"><span></span></a></li>';  
28       // } 
29		pagerAnchorBuilder: function(idx, slide) {
30                        var name  = jQuery(slide).attr('name');
31                        var href  = jQuery(slide).attr('href');
32                        var titre = jQuery(sli
32de).attr('title');
33                        
34                        
35                        return '<li><a href="'+name+'" title="'+titre+'"><img src="'+name+'" class="thumb"><span></span></a></li>';
36                         
37        } 
38		
39    });
40
41	
42jQuery(function() {
43    jQuery('#feature_gallery_pager').jcarousel({
44        scroll:1
45    });
46});
47
48	
49function onBefore() { 
50    jQuery('#output').html("Scrolling image:<br>" + this.id); 
51} 	
52     
53function onBefore() { 
54    jQuery('#prev').html("Prev"); 
55    jQuery('#next').html("Next"); 
56}	 
57
58}); 
59 
60/* Window load event (things that need to wait for images to finish loading) */ 
61//equal heights 
62
63 

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.