⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imu.js

📁 OpenDMTP-GPS及PDA等数据通信协议 OpenDMTP(Open Device Monitoring and Tracking Protocol)是一个协议和框架用于在服务器和客户端设备之
💻 JS
📖 第 1 页 / 共 2 页
字号:
                        'font-size: 100%; border: none; margin: .5em 0 .7em 0; padding: .3em;',                        'font-size: 90%; border: none; margin: .5em 0; padding: .3em;'];		ostg_ad_title_extra = ['font-size: 110%;', 'font-size: 100%;', 'font-size: 100%;', 'font-size: 90%;'];		ostg_ad_desc = 'float: left; color: #555; cursor: pointer; width: 90%;';		ostg_ad_url_extra = ['font-size: 14px;', 'font-size:12px;', 'font-size:11px;', 'font-size:10px;'];        } else if (ostg_style_type == 'clean_blue') {		ostg_google_style = ' text-align: center; margin: 0 auto; border: 1px solid #ccc; font-size: 11px; font-family: arial, sans-serif; padding:10px;'; 		ostg_ga_style  = ' text-align: right; font-family: arial, sans-serif; font-size: 12px;';                ostg_ga_link = 'color: #ccc;';		ostg_ad_imu = 'font-family: arial, sans-serif; width: 316px; text-align: left; color: #000; background: #fff;';                ostg_ad_title = 'font-weight: bold; color: #000098;';                ostg_ad_url = 'font-size: 100%;';		ostg_ad_imu_extra = [                        'font-size: 110%; border: none; margin: 1em 0; padding: .5em;',                        'font-size: 100%; border: none; margin: 1em 0; padding: .3em;',                        'font-size: 100%; border: none; margin: .5em 0 .7em 0; padding: .3em;',                        'font-size: 90%; border: none; margin: .5em 0; padding: .3em;'];		ostg_ad_title_extra = ['font-size: 100%;', 'font-size: 100%;', 'font-size: 100%;', 'font-size: 100%;'];		ostg_ad_desc = 'float: left; cursor: pointer; width: 100%;';		ostg_ad_url_extra = ['font-size: 90%;', 'font-size: 85%;', 'font-size: 80%;', 'font-size: 75%;'];        } else if (ostg_style_type == 'itmj') {		ostg_google_style = 'border: 1px solid #ccc; overflow:hidden; word-wrap: break-word; font-size:12px; font-family: arial,sans-serif;'; 		ostg_ga_style  = ' text-align: right; font-family: arial, sans-serif; font-size: 12px;';                ostg_ga_link = 'font-size:12px; color: #999; font-weight: bold;';		ostg_ad_imu = 'font-family: arial, sans-serif; width: 316px; text-align: left; color: #000; background: #fff;';                ostg_ad_title = 'font-weight: bold; color: #000098;';                ostg_ad_url  = 'color: #659831; font-weight: bold;';		ostg_ad_imu_extra = [                        'font-size: 110%; border: none; margin: 1em 0; padding: .5em;',                        'font-size: 100%; border: none; margin: 1em 0; padding: .3em;',                        'font-size: 100%; border: none; margin: .5em 0 .7em 0; padding: .3em;',                        'font-size: 90%; border: none; margin: .5em 0; padding: .3em;'];                ostg_ad_title_extra = ['font-weight: bold; color: #000098;','font-weight: bold; color: #000098;','font-weight: bold; color: #000098;','font-weight: bold; color: #000098;'];		ostg_ad_desc = 'float: left; cursor: pointer; width: 100%;';                ostg_ad_url_extra = ['color: #659831; font-size:10px;','color: #659831; font-size:10px;','color: #659831; font-size:10px;','color: #659831; font-size:10px;'];        } else if (ostg_style_type == 'light_grey') {		ostg_google_style = 'border: 1px solid #ccc; overflow: hidden; word-wrap: break-word; font-size: 12px; font-family: arial,sans-serif; background: #eeeeee;'; 		ostg_ga_style  = ' text-align: left; font-family: arial, sans-serif; font-size: 12px;';                ostg_ga_link = 'font-size:12px; color: #999; font-weight: bold;';		ostg_ad_imu = 'font-family: arial, sans-serif; width: 316px; padding: 10px; text-align: left; color: #000; background: #eeeeee;';                ostg_ad_title = 'font-weight: bold; color: #003399;';                ostg_ad_url  = 'color: #999; font-weight: bold;';		ostg_ad_imu_extra = [                        'font-size: 110%; border: none; margin: 1em 0; padding: .5em;',                        'font-size: 100%; border: none; margin: 1em 0; padding: .3em;',                        'font-size: 100%; border: none; margin: .5em 0 .7em 0; padding: .3em;',                        'font-size: 90%; border: none; margin: .5em 0; padding: .3em;'];                ostg_ad_title_extra = ['font-weight: bold; color: #003399;','font-weight: bold; color: #003399;','font-weight: bold; color: #003399;','font-weight: bold; color: #003399;'];		ostg_ad_desc = 'float: left; cursor: pointer; width: 100%;';                ostg_ad_url_extra = ['color: #999; font-size:10px;','color: #999; font-size:10px;','color: #999; font-size:10px;','color: #999; font-size:10px;'];        } else if (ostg_style_type == 'sourceforge_default') {		if (!window.ostg_google_style) { ostg_google_style = ' text-align: left !important; margin: 0 auto;'; }		if (!window.ostg_ga_style) { ostg_ga_style  = 'font-size:10px; padding: 0 0 1px 0; text-align: left;'; }		if (!window.ostg_ad_imu) { ostg_ad_imu  = 'overflow: hidden; margin: 0 0 5px 0; padding: 0 2px; text-align: left;'; }		if (!window.ostg_ga_link) { ostg_ga_link = 'font-size:10px;'; }		if (!window.ostg_ad_title) { ostg_ad_title  = 'font-weight: bold;'; }		if (!window.ostg_ad_desc) { ostg_ad_desc  = 'width: 90%; cursor: pointer; color: #555;'; }		if (!window.ostg_ad_url) { ostg_ad_url  = 'color: #090; font-size: 10px;'; }		if (!window.ostg_ad_imu_extra) { ostg_ad_imu_extra = ['font-size: 16px;','font-size: 14px;','font-size: 12px;','font-size: 11px;']; }		if (!window.ostg_ad_title_extra) { ostg_ad_title_extra = ['font-size:18px;', 'font-size:14px;', 'font-size:12px;', 'font-size:11px;']; }		if (!window.ostg_ad_url_extra) { ostg_ad_url_extra = ['font-size: 14px;', 'font-size:12px;', 'font-size:11px;', 'font-size:10px;']; }	}	ostg_ad_imu += ostg_ad_imu_extra[google_ads.length - 1];	ostg_ad_title += ostg_ad_title_extra[google_ads.length - 1];	ostg_ad_url += ostg_ad_url_extra[google_ads.length - 1];	// Ad shell 	//document.write('<div class="google_ad" style="height:'+ostg_imu_height+'px; width:'+ostg_imu_width+'px;'+ostg_google_style+'">');	document.write('<div class="google_ad" style="height:260px; width:310px;">');	// For text ads, display each ad in turn.	if (google_ads[0].type == 'text') {                document.write('<div style="'+ostg_ga_style+'">');                if (google_info.feedback_url) {                        document.write('<a target="_blank" href="'+google_info.feedback_url+'" style="'+ostg_ga_link+'">Ads by Google</a>');                } else {                        document.write('Ads By Google');                }                document.write('</div>');		for (i = 0; i < google_ads.length; ++i) {			document.write('<div style="'+ostg_ad_imu+'">');			document.write('<a href="'+google_ads[i].url+'" target="_blank" style="'+ostg_ad_title+'">'+google_ads[i].line1+'</a><br />');			document.write('<div style="'+ostg_ad_desc+'" onclick="window.open(\''+google_ads[i].url+'\')">'+google_ads[i].line2+" "+google_ads[i].line3+'</div> ');			document.write('<a href="'+google_ads[i].url+'" target="_blank" style="'+ostg_ad_url+'">'+google_ads[i].visible_url+'</a>');			document.write('</div>');		}		window.ostg_skip += google_ads.length;	// Image ads	} else if (google_ads[0].type == 'image') {		var orig_url = google_ads[0].image_url;		var final_url = orig_url;		if (window.location.protocol.match('https')) {			if(orig_url.match('http:')) {				final_url = orig_url.replace(/^http:/i, 'https:');			}		}		final_url = final_url.replace(/googlesyndication.com/i, 'googleadservices.com');		document.write('<a target="_blank" href="'+google_ads[0].url+'"><img src="'+final_url+'" height="'+google_ads[0].image_height+'" width="'+google_ads[0].image_width+'" border="0" alt="Ad" /></a>');	// Flash ads	} else if (google_ads[0].type == "flash") {		var orig_url = google_ads[0].image_url;		var final_url = orig_url;		if (window.location.protocol.match('https')) {			if(orig_url.match('http:')) {				final_url = orig_url.replace(/^http:/i, 'https:');			}		}		final_url = final_url.replace(/googlesyndication.com/i, 'googleadservices.com');		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' 			+' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"' 			+' WIDTH="' + google_ads[0].image_width 			+'" HEIGHT="' + google_ads[0].image_height + '">' 			+'<PARAM NAME="movie" VALUE="' + google_ads[0].image_url + '">'			+'<PARAM NAME="quality" VALUE="high">'			+'<PARAM NAME="AllowScriptAccess" VALUE="never">'			+'<EMBED src="' + final_url 			+'" WIDTH="' + google_ads[0].image_width 			+'" HEIGHT="' + google_ads[0].image_height 			+'" TYPE="application/x-shockwave-flash"' 			+' AllowScriptAccess="never" ' 			+' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');	} 	// Finish up anything that needs finishing up	document.write ("</div>");}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -