English Sentence Loading...
英语句子加载中...
浏览模式: 普通 | 列表
分类: 『代碼收藏』 | << | < | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | > | >>

广告随机播放代码

[ 2006-01-03 00:19:37 | 作者: Admin ]
<script>
<!--
tempid = new Array();
tempid[0] = "<SCRIPT LANGUAGE=JavaScript1.1 SRC='http://play.unionsky.cn/show/?placeid=9203'><"+"/SCRIPT>"
tempid[1] = "<SCRIPT LANGUAGE=JavaScript1.1 SRC='http://play.unionsky.cn/show/?placeid=15279'><"+"/SCRIPT>"

showId = Math.floor(Math.random() * 2);
document.write(""+tempid[showId]+"");
//-->
</script>

你在后台申请了几个相同尺寸的广告后...

阅读全文...

每5小时只弹一次的弹窗代码

[ 2005-12-15 01:14:35 | 作者: Admin ]
每5小时只弹一次的代码
<SCRIPT language=javascript>
<!--
function openwin(){
window.open("http://www.85815.com","pop1","width="+(window.screen.width-15)+",height="+(window.screen.height-170)+",left=0,top=0,toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,location=yes,status=yes")
setTimeout("focus();",5);
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
...

阅读全文...

"ASP目录直读"

[ 2005-11-28 23:05:27 | 作者: Admin ]
<!---将此文件存index.asp看看效果就知道了加上权限就可以方便自己了,--->
<%
'const_domain_name为域名最后不要加斜杠
const const_domain_name="http://localhost"
%>
<style>
b,img,a{font-size:9pt;line-height:150%;text-decoration:none;color:#0000cc;}
span{font-size:12pt;}
</style>

<%
'------------------------------------------------显示当前目录下的子目录和文件
sub list
Dim fso, f, f1, fc, s
Set fso = CreateObject("Scripting.FileSystemObject")
...

阅读全文...

弹出代码

[ 2005-11-24 17:17:22 | 作者: Admin ]
<script>
oV1=window;
vWA=new Array;
fV1=oV1.open;
fV2=oV1.focus;
fV3=setTimeout;
fV4=clearTimeout;

function debug()
{
void(0)
}

function fStart(u,n,v)
{
var w=oV2(u,n,v);
var wo=vWA[w];
if (!oV1.opera)
{
wo.pw=fV1(u,wo.n,v);
fV2();
}
fV3("fV10(" + w + ")",100);
return wo;
}

function fV11()
{
return vV1;
}

function fV5(x)
{
debug("Error : " +x);
return true;
}

function oV2(u,n,v)
...

阅读全文...
做一些广告时,由于广告的加载慢,整体页面的显示速度也会变慢,如果加入下面的代码就可以有效地解决这个问题。

第一步:把这段代码放在你要放广告的网页位置:

<SPAN id=ad_01>广告载入中...</SPAN>

第二步:把这段代码放到页底:

<SPAN class=spanclass id=span_ad_01>
这里放广告的JS代码或其他加载速度比较慢的内容都可以.
</SPAN>
<SCRIPT>ad_01.innerHTML=span_ad_01.innerHTML;span_ad_01.innerHTML="";</SCRIPT>

安博士首页div悬浮代码

[ 2005-11-23 23:44:53 | 作者: Admin ]
<style type="text/css">
<!--
body {
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}
-->
</style>
<!--
.style8 {color: #21719C; font-size: 13px; }
.style12 {color: #000000; font-size: 12px;}
-->
</style>
<style>
div {
  position:absolute;
  font-size:8px;
  font-family:Tahoma;
  z-index:2;
  text-align:center;
  width: 325px;
  height: 215px;
}
button {font-size:14px;
...

阅读全文...