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

📄 pop.js

📁 dev控件,C#开发中使用的控件
💻 JS
字号:
var cn_web_com_im_defaultDomain='http://www.cn-web.com/third_party/popwin/';var poptype='popcontent.html';var eleCss=document.createElement('link');eleCss.href=cn_web_com_im_defaultDomain+'webimPopup.css';eleCss.rel='stylesheet';eleCss.type='text/css';document.getElementsByTagName('head')[0].appendChild(eleCss);function webim_attachEvent(object, eventName, Function, cancelBubble){  var cb = cancelBubble ? true : false;  eventName = eventName.toLowerCase();  if(document.attachEvent) object.attachEvent(eventName, Function);  else object.addEventListener(eventName.substr(2), Function, cb);}function webim_pageLoad(){    var s = document.createElement('script');    s.src=cn_web_com_im_defaultDomain+'webimPopup.js';    s.type='text/javascript';    document.getElementsByTagName('head')[0].appendChild(s);}if(!getCookie("cn_web_com_pop")){webim_attachEvent(window,"onload", webim_pageLoad);SetCookie("cn_web_com_pop","www.cn-web.com");}function SetCookie(name,value){    var Hours = 1;     var exp  = new Date();     exp.setTime(exp.getTime() + Hours*60*60*1000);    document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();}function getCookie(name)       {    var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));     if(arr != null) return unescape(arr[2]); return null;}

⌨️ 快捷键说明

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