PageSourceSearch

https://wess.jp/wp/wp-content/themes/original/js/top.js?ver=6.2.13

js wess.jp collected 2026-10-02 16:34:08 UTC 4,255 bytes, 92 lines download raw bytes

1jQuery(function($) {
2	$(function(){
3	
4		init();
5		function init(){
6			topSlider();
7			newsTicker();
8		}
9	
10		function topSlider(){
11
12				var slider = $('.bxslider').bxSlider({
13					mode: 'fade',
14					auto: true,
15					pause: 7000,
16					controls:false,
17					touchEnabled:false,
18					onSlideAfter: function() {
19						slider.startAuto();
20					}
21				});
22
23				var slider1 = $('.bxslider1').bxSlider({
24					mode: 'fade',
25					auto: true,
26					pause: 7000,
27					controls:false,
28					touchEnabled:false,
29					onSlideAfter: function() {
30						slider1.startAuto();
31					}
32				});
33
34		}
35
36		function newsTicker(){
37    $(window).load(function(){
38        var $setElm = $('.ticker');
39        var effectSpeed = 1000;
40        var switchDelay = 6000;
41        var easing = 'swing';
42 
43        $setElm.each(function(){
44            var effectFilter = $(this).attr('rel'); // 'fade' or 'roll' or 'slide'
45 
46            var $targetObj = $(this);
47            var $targetUl = $targetObj.children('ul');
48            var $targetLi = $targetObj.find('li');
49            var $setList = $targetObj.find('li:first');
50 
51            var ulWidth = $targetUl.width();
52            var listHeight = $targetLi.height();
53            $targetObj.css({height:(listHeight)});
54            $targetLi.css({top:'0',left:'0',position:'absolute'});
55 
56            var liCont = $targetLi.length;
57 
58            if(effectFilter == 'fade') {
59                $setList.css({display:'block',opacity:'0',zIndex:'98'}).stop().animate({opacity:'1'},effectSpeed,easing).addClass('showlist');
60                if(liCont > 1) {
61                    setInterval(function(){
62                        var $activeShow = $targetObj.find('.showlist');
63                        $activeShow.animate({opacity:'0'},effectSpeed,easing,function(){
64                            $(this).next().css({display:'block',opacity:'0',zIndex:'99'}).animate({opacity:'1'},effectSpeed,easing).addClass('showlist').end().appendTo($targetUl).css({display:'none',zIndex:'98'}).removeClass('showlist');
65                        });
66                    },switchDelay);
67                }
68            } else if(effectFilter == 'roll') {
69                $setList.css({top:'3em',display:'block',opacity:'0',zIndex:'98'}).stop().animate({top:'0',opacity:'1'},effectSpeed,easing).addClass('showlist');
70                if(liCont > 1) {
71                    setInterval(function(){
72                        var $activeShow = $targetObj.find('.showlist');
73                        $activeShow.animate({top:'-3em',opacity:'0'},effectSpeed,easing).next().css({top:'3em',display:'block',opacity:'0',zIndex:'99'}).animate({top:'0',opacity:'1'},effectSpeed,easing).addClass('showlist').end().appendTo($targetUl).css({zIndex:'98'}).removeClass('showlist');
74                    },switchDelay);
75                }
76            } else if(effectFilter == 'slide') {
77                $setList.css({left:(ulWidth),display:'block',opacity:'0',zIndex:'98'}).stop().animate({left:'0',opacity:'1'},effectSpeed,easing).addClass('showlist');
78                if(liCont > 1) {
79                    setInterval(function(){
80                        var $activeShow = $targetObj.find('.showlist');
81                        $activeShow.animate({left:(-(ulWidth)),opacity:'0'},effectSpeed,easing).next().css({left:(ulWidth),display:'block',opacity:'0',zIndex:'99'}).animate({left:'0',opacity:'1'},effectSpeed,easing).addClass('showlist').end().appendTo($targetUl).css({zIndex:'98'}).removeClass('showlist');
82                    },switchDelay);
83                }
84            }
85        });
86    });
87		};
88
89		
90	});
91
92});

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.