PageSourceSearch

http://www.jiiaa.com/templets/jiiaa/js/2015v2/jiaodiantu.js

js jiiaa.com collected 2026-10-08 22:18:00 UTC 2,122 bytes, 81 lines download raw bytes

1$(function(){
2	var numpic = $('#slides li').size()-1;
3	var nownow = 0;
4	var inout = 0;
5	var TT = 0;
6	var SPEED = 5000;
7
8
9	$('#slides li').eq(0).siblings('li').css({'display':'none'});
10
11
12	var ulstart = '<ul id="pagination">',
13		ulcontent = '',
14		ulend = '</ul>';
15	ADDLI();
16	var pagination = $('#pagination li');
17	var paginationwidth = $('#pagination').width();
18	$('#pagination').css('margin-left',(0-paginationwidth))
19	
20	pagination.eq(0).addClass('current')
21		
22	function ADDLI(){
23		//var lilicount = numpic + 1;
24		for(var i = 0; i <= numpic; i++){
25			ulcontent += '<li>' + '<a href="javascript:void(0)">' + (i+1) + '</a>' + '</li>';
26		}
27		
28		$('#slides').after(ulstart + ulcontent + ulend);	
29	}
30
31	pagination.on('click',DOTCHANGE)
32	
33	function DOTCHANGE(){
34		
35		var changenow = $(this).index();
36		
37		$('#slides li').eq(nownow).css('z-index','900');
38		$('#slides li').eq(changenow).css({'z-index':'800'}).show();
39		pagination.eq(changenow).addClass('current').siblings('li').removeClass('current');
40		$('#slides li').eq(nownow).fadeOut(400,function(){$('#slides li').eq(changenow).fadeIn(500);});
41		nownow = changenow;
42	}
43	
44	pagination.mouseenter(function(){
45		inout = 1;
46	})
47	
48	pagination.mouseleave(function(){
49		inout = 0;
50	})
51	
52	function GOGO(){
53		
54		var NN = nownow+1;
55		
56		if( inout == 1 ){
57			} else {
58			if(nownow < numpic){
59			$('#slides li').eq(nownow).css('z-index','900');
60			$('#slides li').eq(NN).css({'z-index':'800'}).show();
61			pagination.eq(NN).addClass('current').siblings('li').removeClass('current');
62			$('#slides li').eq(nownow).fadeOut(400,function(){$('#slides li').eq(NN).fadeIn(500);});
63			nownow += 1;
64
65		}else{
66			NN = 0;
67			$('#slides li').eq(nownow).css('z-index','900');
68			$('#slides li').eq(NN).stop(true,true).css({'z-index':'800'}).show();
69			$('#slides li').eq(nownow).fadeOut(400,function(){$('#slides li').eq(0).fadeIn(500);});
70			pagination.eq(NN).addClass('current').siblings('li').removeClass('current');
71
72			nownow=0;
73
74			}
75		}
76		TT = setTimeout(GOGO, SPEED);
77	}
78	
79	TT = setTimeout(GOGO, SPEED); 
80
81})

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.