工商银行弹窗广告代码分享



今天工商银行的网站打不开了 ,地址www.icb.com.cn
不知道是不是因为他的流氓弹窗原因被人黑了。。

工商银行的弹窗代码比较强悍,现在本人把自己好不容因收集到的代码分享给大家,用到的朋友顶下哦

免费送两个 有效的弹窗代码

都是大站的弹窗代码,扣出来的。

弹窗代码 依然有效的。

方法1 .
直接插入调用的js中。
function openwin(){
  window.open(
http://www.zixisho.net,"自习室","width=800,height=600,top=0,left=0,scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,location=yes,status=yes")
  }
  function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
  offset = document.cookie.indexOf(search)
  if (offset != -1) {
  offset += search.length
  end = document.cookie.indexOf(";", offset);
  if (end == -1)
  end = document.cookie.length;
  returnvalue=unescape(document.cookie.substring(offset, end))
  }
  }
  return returnvalue;
  }  
  function loadpopup(){
  if (get_cookie('popped')==''){
  openwin()
  document.cookie="popped=yes"
  }
}


方法2.
此为工商银行的弹窗代码。
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</SCRIPT>

<SCRIPT language=JavaScript>
<!--
function open_url(){
var gt = unescape('%3e');
var popup = null;
var over = "Launch Pop-up Navigator";
popup = window.open('', 'popupnav', 'height=300,width=300,resizable=0,scrollbars=no');
if (popup != null) {
if (popup.opener == null) {
popup.opener = self;
}
popup.location.href = "/advertise/images/2007nian/pop/sy_pop_wangyinshengjigonggao_070718.htm";
}
}
//-->
</SCRIPT>

原文地址:https://www.cnblogs.com/akweb/p/13331966.html