中国网站美工网!网页设计者的天堂!
本站特色:HTML网页模版下载    
  您的位置:

首页 >> 网页特效 >> 页面导航 >> 正文

相关信息

右键打开收藏夹
一个非常令人生气的脚本强行设为
链接弹出警告框
点击加入收藏夹
JScript实现的IP地址输入框
随次数变化提示
弹出窗口自动关闭
离开页面弹出窗口
进入时显示信息
链接确认按钮
记录页面更新时间
页面载入等待
打开硬盘驱动器 (直接从网上打开
集成Cookies
关闭网页窗口启动收藏夹
输入框测试警告
Netscape 6存在JavaScript设计缺
在网页完全载入前会出现图片(文字
比较COOL的滤镜效果 
自由控制显示图片大小

下拉的广告条

下拉的广告条


来源: 不详 | 时间: 2006-1-8 21:48:09 | 人气:

 

下拉的广告条

<script language=javascript>
var xs_bv=0;
var xs_pTop=-137;
var xs_pHeight=210;
var xs_updown=1;
var xs_endpt=0;
var xs_ranonce=0;
var xs_pDivSeen=0;
var xs_pTuck=0;
var ua=navigator.userAgent.toLowerCase()
function xsGetCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function xsGetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return xsGetCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break; }
return null;
}
function xsSetCookie (name,value,expires,path,domain,secure) {
document.cookie = name + "=" + escape (value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
}
var xs_exp = new Date(); xs_exp.setTime(xs_exp.getTime()+(10*60*1000));
if ( (ua.indexOf("opera")==-1)&&((ua.indexOf("msie")!=-1)&&(ua.indexOf("windows")!=-1))
((ua.indexOf("msie 5")!=-1)&&(ua.indexOf("mac")!=-1)) ) {xs_bv=1}
function xs_pdEx(){
var xs_popval = xsGetCookie('seenexp');
if ((xs_popval == null)
(xs_popval != "5")) {
xs_popval=5;
xsSetCookie('seenexp', xs_popval, xs_exp, "/","1studio.net");
var xs_ctest = (xsGetCookie('seenexp')=="5");
}
if((xs_bv)&&(!xs_ranonce)&&(xs_ctest!=null)){
// if((xs_bv)&&(!xs_ranonce)){
xs_pDiv2.style.left=xs_pDiv.style.left=((document.body.offsetWidth/2)-160)
xs_pd();
}
else{
if(xs_pTuck == 1){
if (xs_pDivSeen != 1){
xs_pDiv.style.clip="rect(0,320,210,0)";
xs_pDiv.style.display="";
xs_pDiv.style.top=31;
}
xs_endpt=(document.body.offsetWidth/2)-160;
xs_tuck();
}
}
}
function xs_pd(){
xs_ranonce=1;
if (((xs_pHeight<210)&&(xs_updown==0))
((xs_pHeight>3)&&(xs_updown==1))) {
if(xs_pHeight==210){xs_pDiv.style.display=""}
(xs_updown==0)?xs_pHeight+=3:xs_pHeight-=3;
(xs_updown==0)?xs_pTop-=3:xs_pTop+=3;
xs_pDiv.style.clip="rect(" + xs_pHeight + ",320,210,0)";
xs_pDiv.style.top=xs_pTop;
setTimeout("xs_pd();",20);
}
else{
if (xs_updown==1){
xs_pDiv.style.clip="rect(0,320,210,0)";
xs_pDiv.style.top=73;
xs_updown=0;
xs_pDiv2.style.display='';
setTimeout("xs_pd();",4500);
}
else{
xs_pDiv.style.display='none';
xs_pDiv2.style.height=10;
xs_pDivSeen = 1;
xs_endpt=(document.body.offsetWidth/2)-160;
xs_tuck();
}
}
}
function xs_tuck(){
if(xs_endpt<(document.body.offsetWidth-355)){
xs_endpt+=5;
xs_pDiv2.style.left=xs_endpt;
setTimeout("xs_tuck();",20);
}
else{xs_pTuck = 1}
}
</script>
<div id=xs_pDiv2
style="DISPLAY: none; LEFT: 240px; WIDTH: 320px; POSITION: absolute; TOP: 73px; HEIGHT: 210px; TEXT-ALIGN: right"><nobr><a
href="http://www.1studio.net"><img height=20 alt="爱玩它免费试用" src="http://www.1studio.net/html/example/0113/2banner.gif" width=131 border=0></a><a onClick="xs_pDiv2.style.display='none';return false;" href="close#"><img height=20 alt=Close src="http://www.1studio.net/html/example/0113/close.gif" width=19 border=0></a></nobr></div>

本新闻共2页,当前在第1页  1  2  

 
  上一篇:没有了  下一篇:没有了
Copyright © 2005 - 2006 WEB600.Net,All Rights Reserved
业务联系 QQ 站长:106324307 美工:270348300 程序:63888546
E-mail: 3235183@163.com MSN: fuqiyangru@hotmail.com
中国网站美工网--网页设计者的天堂! 陕ICP备06005517号
本站资源来自互联网 如果侵犯您的权利 请通知我们 我们会尽快删除