PageSourceSearch

https://www.city.ueda.nagano.jp/ssi/js/site-iju-common.js

js city.ueda.nagano.jp collected 2026-10-02 06:06:01 UTC 2,134 bytes, 68 lines download raw bytes

1jQuery(document).ready(function($){
2
3	// slick.js でのスライドショー設定
4	if ($('#iju_photo_slider > .slide').length > 1) {
5		$('#iju_photo_slider').slick({
6			accessibility: true,
7			autoplay: true,
8			autoplaySpeed: 5000,
9			speed: 750,
10			initialSlide: 0,
11			// rows: 2, //スライドの行数
12			// slidesPerRow: 2, //各行に表示するスライド数
13			slidesToShow: 1,
14			slidesToScroll: 1,
15			centerMode: false,
16			centerPadding: 0,
17			infinite: true,
18			arrows: true,
19			easing: 'swing',
20			// fade: true, //フェイドインで切り替える
21			touchMove: true,
22			pauseOnFocus: true,
23			pauseOnHover: true,
24			touchThreshold: 15,
25			dots: true,
26			// appendDots: '#iju_photo', //ナビゲーションドットの設置場所
27			responsive: [{
28				breakpoint: 670,
29				settings: {
30					slidesToShow: 1,
31					slidesToScroll: 1
32					}
33				}
34			]
35		});
36		$('ul.slick-dots').after('<div id="control_photo"><button type="button" id="photo_play" class="current">再生</button><button type="button" id="photo_pause">停止</button></div>');
37		$('#iju_photo_slider').slick('slickPlay');
38		$('#photo_pause').on('click keypress',function(){
39			$('#photo_play').removeClass('current');
40			$(this).addClass('current');
41			$('#iju_photo_slider').slick('slickPause');
42		});
43		$('#photo_play').on('click keypress',function(){
44			$('#photo_pause').removeClass('current');
45			$(this).addClass('current');
46			$('#iju_photo_slider').slick('slickPlay');
47		});
48	}
49
50	// トップページ:画像に代替テキストを併記
51	if ($('#iju_menu_list')[0]){
52		$('#iju_menu_list img').each(function(){
53			$(this).after('<span>'+$(this).attr('alt')+'</span>');
54		});
55	}
56
57	// 空き家バンク記事ページ:クリックすると大きな画像を表示
58	if ($('#akiya_gazou')[0]){
59		$('#akiya_gazou_other_wrap .detail_image_normal:first img').clone().appendTo($('#akiya_gazou_first'));
60		$('#akiya_gazou_other_wrap img').on('click',function(){
61			$('#akiya_gazou_first img').attr({
62				src:$(this).attr('src'),
63				alt:$(this).attr('alt')
64			});
65		});
66	}
67
68});

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.