PageSourceSearch

https://movie.foshang.org/static/js/jquery.base.js

js foshang.org collected 2026-10-09 05:14:52 UTC 2,666 bytes, 116 lines download raw bytes

1islogin=0;
2syndomain='http://dianying.foshang.net';
3function checkcookie(){
4	if(document.cookie.indexOf('qr_u=')>=0){
5	islogin=1;
6	return true;
7	}
8	return false;
9}
10checkcookie();
11
12$(function(){
13	// drop-down
14	$(".drop-down").hover(function(){		
15		$(this).find(".drop-title").addClass("drop-title-hover");
16		$(this).find(".drop-box").show();
17	},function(){
18		$(this).find(".drop-title").removeClass("drop-title-hover");
19		$(this).find(".drop-box").hide();
20	});		
21});
22
23$(document).ready(function(){
24			
25	// ui-input
26	$(".ui-input").focus(function(){
27		$(this).addClass("ui-input-focus");
28	}).hover(function(){
29		$(this).addClass("ui-input-hover");
30	},function(){
31		$(this).removeClass("ui-input-hover");
32	});
33	$(".ui-input").blur(function(){
34		$(this).removeClass("ui-input-focus");
35	});			
36	
37	// ui-form-placeholder
38	$(".ui-form-placeholder").each(function(){
39		var _label = $(this).find(".ui-label");
40		var _input = $(this).find(".ui-input");
41		var _text =  $(this).find(".ui-input").val();
42		
43		if (_text != ""){
44			_label.hide();
45		}
46		
47		_label.css("z-index","3");
48		_label.click(function(){
49			$(this).hide();
50			_input.focus();
51		});	
52		_input.focus(function(){
53			_label.hide();
54		});	
55	});
56		
57	// ui-button
58	$(".ui-button").hover(function(){
59		$(this).addClass("ui-button-hover");
60	},function(){
61		$(this).removeClass("ui-button-hover");
62	});
63		
64	// close-his	
65	$(".close-his").click(function(){
66		$(this).parents(".drop-box").hide();
67	});
68	
69	// show-tipinfo
70	$(".show-tipinfo a").hover(function(){
71		$(this).parent().parent().find(".tipInfo").show();
72	},function(){		
73		$(this).parent().parent().find(".tipInfo").hide();
74	});	
75	
76	$("#wish").trigger('click');
77	
78	
79	
80	// timeinfo
81	$(".timeinfo").hover(function(){
82		$(this).addClass("timeinfo-active");
83	},function(){
84		$(this).removeClass("timeinfo-active");
85	});	
86	
87	// Date List Jquery
88	$(".date-list").each(function(){
89		$lis = $(this).find("li:last").index();		
90		if($lis > 5){
91			$(this).addClass("date-long");
92		}	
93	});
94	
95	
96});
97
98// Tab Menu JS Common
99function setTab(name,cursel,n){
100	for(i=1;i<=n;i++){
101		var menu=document.getElementById(name+i);
102		var con=document.getElementById("con_"+name+"_"+i);
103		menu.className=i==cursel?"current":"";
104		con.style.display=i==cursel?"block":"none";
105	}
106}
107function qrsearch(){
108	if($("#kw").val()=='请在此处输入影片片名或演员名称。'||$("#kw").val()==''){
109		$("#kw").val('');
110		$("#kw").focus();
111	}else{
112	document.location = 'http://dianying.foshang.net/vod-search-kw-'+ encodeURIComponent($("#kw").val())+".html";
113	}
114	return false;
115}
116

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.