www.gusucode.com > 黑色通用织梦博客模板源码程序 > 黑色通用织梦博客模板/dede58/css/banner-switcher.js

     /* 2014-03-10 14:22:49 */
!function(){var o=function(){var o=document.location.protocol+"//"+(document.location.hostname||document.location.host);return document.location.port&&(o+=":"+document.location.port),o}().toString();/^http/i.test(o)||(o="");var t=function(){var t,n,e,c,a,r,i=document.location.href,l={},s=[],h=i.split("?");for(h[1]&&(s=h[1].split("#")[0].split("&")),t=0,n=s.length;n>t;t++)a=s[t].split("="),e=a[0]||"",c=a[1]||"",l[e]=c;return r=i.split("#")[1]||"",{root:o,pathname:document.location.pathname,protocol:document.location.protocol,host:document.location.hostname||document.location.host,port:document.location.port||"",search:l,hash:r}},n=t();if("string"==typeof n.search.banner)switch(n.search.banner){case"zjol":$.get("http://"+location.host+"/resource/zjol_team.htm",function(o){$("body").prepend(o),$("#site-nav").hide(),$("#header").css("border-top","1px solid #e0e0e0")},"html")}}();