惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog RSS Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
V
V2EX
B
Blog
腾讯CDC
D
DataBreaches.Net
H
Hackread – Cybersecurity News, Data Breaches, AI and More
月光博客
月光博客
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
云风的 BLOG
云风的 BLOG
Latest news
Latest news
L
LINUX DO - 最新话题
C
Check Point Blog
Attack and Defense Labs
Attack and Defense Labs
H
Hacker News: Front Page
Forbes - Security
Forbes - Security
H
Help Net Security
S
Securelist
D
Docker
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Last Watchdog
The Last Watchdog
N
News and Events Feed by Topic
G
Google Developers Blog
AI
AI
I
Intezer
L
LangChain Blog
NISL@THU
NISL@THU
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
罗磊的独立博客
T
Tenable Blog
Jina AI
Jina AI
I
InfoQ
C
Cybersecurity and Infrastructure Security Agency CISA
Cisco Talos Blog
Cisco Talos Blog
C
CERT Recently Published Vulnerability Notes
GbyAI
GbyAI
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
O
OpenAI News
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Know Your Adversary
Know Your Adversary
T
Troy Hunt's Blog
Google Online Security Blog
Google Online Security Blog

博客园 - 嚣张的沉默

读写txt文档 限制TextBox输入字数 计算TextBox输入的字数 我常用的正则与SQL语句 DataSet导入到Excel 年月日联动的JS代码 用户控件的传值方法 Repeater模板列 asp.net的几个小技巧 建站安全 倒计时代码 解决SQL2000安装服务器挂起 删除.NET的最近项目 屏幕右下角弹出广告 DataSet写入、导出XML 上传图片重命名并创建文件夹 自动跳转页面带参数 微软出的AJAX控件的安装(转载) 第一次开博
百叶窗效果
嚣张的沉默 · 2008-01-21 · via 博客园 - 嚣张的沉默

以下代码放到<head></head>之间

<script   language="javascript">   
  
var   imgUrl=new   Array();   
  
var   imgLink=new   Array();   
  
var   adNum=0;   
    
  imgUrl[
1]="../images/paimai/pm08011515453474.jpg";   
  imgLink[
1]="../images/paimai/pm08011515453474.jpg";   
    
    
  imgUrl[
2]="../images/paimai/pm08011515464070.jpg";   
  imgLink[
2]="../images/paimai/pm08011515464070.jpg";   
    
  imgUrl[
3]="../images/paimai/pm0801151547233.jpg";   
  imgLink[
3]="../images/paimai/pm0801151547233.jpg";   
    
  imgUrl[
4]="../images/paimai/pm08011515496508.jpg";   
  imgLink[
4]="../images/paimai/pm08011515496508.jpg";   
    
  imgUrl[
5]="../images/paimai/pm0801151550603.jpg";   
  imgLink[
5]="../images/paimai/pm0801151550603.jpg";   
    
    
  
var   imgPre=new   Array();   
  
var   j=0;   
  
for   (i=1;i<=5;i++)   {   
    
if(   (imgUrl[i]!="")   &&   (imgLink[i]!="")   )   {   
      j
++;   
    }
   else   {   
      
break;   
    }
   
  }
   
    
  
function   playTran(){   
    
if   (document.all){   
      document.imgInit.filters[
0].play();   
    }
   
  }
   
    
  
function   nextAd(){   
    
if(adNum<j)adNum++   ;   
    
else   adNum=1;   
      
    
if   (document.all){   
      document.imgInit.filters[
0].Transition=26;   
      document.imgInit.filters[
0].apply();   
    }
   
    document.images.imgInit.src
=imgUrl[adNum];   
      playTran();   
    
    theTimer
=setTimeout("nextAd()",4000);  //4秒切换一下 
  }
   
    
    
  
function   goUrl(){   
    jumpUrl
=imgLink[adNum];   
    jumpTarget
='_blank';   
    
if   (jumpUrl   !=   ''){   
      
if   (jumpTarget   !=   '')     
        window.open(jumpUrl,jumpTarget);   
      
else   
        location.href
=jumpUrl;   
    }
   
  }
   
  
</script>   

2。以下代码放到<body></body>之间,运行即可

<div   align="center">   
    
<img   style="FILTER:progid:DXImageTransform.Microsoft.RevealTrans   (duration=1,transition=3); border-color:#fd0404;color:#fd0404;margin-bottom:-5px; cursor: hand;"       
  height
=116   width=200   border=0   name=imgInit   onclick=goUrl()><script   language=javascript>nextAd()</script>   
  
</div>