PageSourceSearch

http://e-royalty.com/statics/s/scripts/index.js

js e-royalty.com collected 2026-10-03 00:45:32 UTC 3,121 bytes, 143 lines download raw bytes

1$(function(){
2	vBanner();
3	vWord();
4	vIcon();
5	vAbout();
6	vSearcha();
7	vXiala();
8	//vLogo();
9	diqiu();
10})
11
12//首页大banner
13function vBanner(){
14	var div = $('.banner').children('div');
15	var li = $('.banner').children('ul').children('li');
16	//console.log(li.length);
17	li.each(function(index){
18		var imgApp = div.children('img:lt(2)');
19		$(this).append(imgApp);
20	});
21	$('.banner').slide({mainCell:'.imgBox',autoPlay:true,effect:'fold',titOnClassName:'in',interTime:6000,
22		endFun:function(i){
23			var t = i%3;
24			switch(t){
25				case 0:
26				    $('.hua1').animate({top:'45px'},500).show();
27					$('.word1').animate({top:'80px'},500).show();
28				break;
29				case 1:
30				    $('.hua3').animate({top:'170px'},500).show();
31					$('.word3').animate({top:'241px'},500).show();
32				break;
33			}
34			
35		},
36		startFun:function(i){
37			var t = i%3;
38			switch(t){
39				case 0:
40				    $('.hua1').css({top:'-45px'},500).show();
41					$('.word1').css({top:'160px'},500).show();
42				break;
43				case 1:
44				    $('.hua3').css({top:'280px'},500).show();
45					$('.word3').css({top:'150px'},500).show();
46				break;
47			}
48			
49		}
50
51
52});
53}
54
55//文字滚动
56
57function vWord(){
58	$(".boxAR").slide({mainCell:'.news_three',autoPlay:true,effect:'topMarquee',vis:4,interTime:80});
59}
60
61//图片悬浮
62function vIcon(){
63	$('.iconList li a').hover(function(){
64		$(this).siblings('.sj').show();
65		$(this).siblings('ul').show();
66	},function(){
67		$(this).siblings('.sj').hide();
68		$(this).siblings('ul').hide();
69	}).trigger('mouseout');
70}
71
72//图片滑动
73function vAbout(){
74
75	$('.Rbtn,.Lbtn').attr('href','javascript:;');
76	$('.down_list').slide({mainCell:'.dl_img',vis:4,prevCell:'.Rbtn',nextCell:'.Lbtn',effect:'leftLoop'})
77
78	$('.dl_img li').hover(function(){
79		$(this).children('div').eq(0).fadeOut();
80		$(this).children('div').eq(1).fadeIn();
81		$(this).children('div').eq(1).find('.fangdajing span').animate({top:'45px',left:'60px'},500);
82	},function(){
83		$(this).children('div').eq(1).fadeOut();
84		$(this).children('div').eq(0).fadeIn();
85		$(this).children('div').eq(1).find('.fangdajing span').animate({top:'-52px',left:'100px'},500);
86	}).trigger('mouseout');
87}
88
89//搜索框
90function vSearcha(){
91	var search = $('.formList .sbox');
92	var wen = '请输入关键字';
93	search.focus(function(){
94		var focus = search.val();
95		if(focus == wen){
96			$(this).val('');
97		}
98	});
99	search.blur(function(){
100		var focus = search.val();
101		if(focus == ''){
102			$(this).val(wen);
103		}
104	});
105}
106
107
108function vXiala(){
109	var li = $('.navleft').children('li');
110	
111	$('.navleft li,.xiala li').hover(function(){
112		$(this).children('ul').show();
113	},function(){
114		$(this).children('ul').hide();
115	});
116
117}
118
119function diqiu(){
120var speed1=100;  
121worldw2.innerHTML=worldw1.innerHTML;
122function Marquee()
123{
124	if(worldw.scrollLeft>=worldw1.scrollWidth)
125	   { worldw.scrollLeft=0; }
126		else{
127		 worldw.scrollLeft++;
128	   }
129}
130var MyMar=setInterval(Marquee,speed1);
131worldw.onmouseover=function() {clearInterval(MyMar)};
132worldw.onmouseout=function() {MyMar=setInterval(Marquee,speed1)};
133}
134/*function vLogo(){
135	$('.ie6.wrapper').children('.header').children('.whitebg').siblings('div').show();
136}*/
137
138
139
140
141
142
143

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.