PageSourceSearch

https://www.geodata.cn/res/libs/scidatasuite/local.js

js geodata.cn collected 2026-10-02 14:30:22 UTC 2,816 bytes, 74 lines download raw bytes

1;(function($){
2	
3	
4	scidata.local = {
5			//“宣传信息条”的内容代码
6			topBanner: function(){
7				var html=['<ul>',
8				          '<li><a href="'+restContextURL+'thematicView/earthquake.html?id=175152957943820"><img src="'+restContextURL+'res/images/topimg/nepal-img.png"></a></li>',
9				          '<li><a href="'+restContextURL+'thematicView/"><img src="'+restContextURL+'res/images/topimg/doi-img.png"></a></li>',
10				          '</ul>'];
11				
12				var cancelIcon = '<div class="k-icon k-cancel" onclick="document.getElementById(\'top-banner\').style.display=\'none\'" '+
13				'style="position:absolute;top:5px;right:20px;cursor:pointer"></div>';
14				
15				$('#top-banner').html(html+cancelIcon);
16				
17				var unslider = $('#top-banner').unslider({
18					speed: 500,               //  The speed to animate each slide (in milliseconds)
19					delay: 3000,              //  The delay between slide animations (in milliseconds)
20					//complete: function() {},  //  A function that gets called after every slide animation
21					keys: true,               //  Enable keyboard (left, right) arrow shortcuts
22					dots: true,               //  Display dot navigation
23					fluid: false              //  Support responsive design. May break non-responsive designs
24					});
25			},
26			
27			//“新手上路”栏目的内容代码
28			cmServer: function(){
29				var html = [
30				            '<p><a href="'+ restContextURL +'help/user.html#content4">旧版平台用户如何激活您的账号?</a></p>',
31				            '<p><a href="'+ restContextURL +'help/user.html#content1">如何注册您的账号?</a></p>',
32							'<p><a href="'+ restContextURL +'help/dataRetrieval.html">如何查找数据?</a></p>',
33							//'<p>找不到数据怎么办?</p>',
34							//'<p>如何发布您的数据?</p>',
35							//'<p>如何加盟Geodata.cn?</p>',
36							//'<a class="tipLink" href="#">我有话说</a>',
37							'<a class="tipLink" href="'+ restContextURL +'help/dataRetrieval.html">更多帮助</a>'
38							];
39				
40				var html1 = [
41							'<li>服务电话:010-64888143/45</li>',
42							'<li><div class="QQicon"><img border="0" title="共享平台为您服务!" alt="共享平台为您服务!" src="http://wpa.qq.com/pa?p=2:2723286879:51">',
43							'<img border="0" title="共享平台为您服务!" alt="共享平台为您服务!" src="http://wpa.qq.com/pa?p=2:2723286879:51"><div></li>'
44				             ];
45				
46				$('#cm-context').empty;
47				
48				$('#cm-context').html(html);
49				
50//				$('#cm-context1').empty;
51//				
52//				$('#cm-context1').html(html1);
53
54				
55			}
56			
57	};
58	
59	
60})(jQuery);
61
62
63$(document).ready(function() {
64	
65	$("#c-server").kendoMenu();//”用户服务“栏目
66	$("#c-server1").kendoMenu();//”新手上路“栏目
67	
68//	scidata.local.topBanner();
69	scidata.local.cmServer();
70	
71});
72
73
74

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.