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

推荐订阅源

量子位
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
NISL@THU
NISL@THU
T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
Lohrmann on Cybersecurity
V
Visual Studio Blog
Cyberwarzone
Cyberwarzone
D
Docker
The Hacker News
The Hacker News
C
CERT Recently Published Vulnerability Notes
Vercel News
Vercel News
Project Zero
Project Zero
S
Schneier on Security
aimingoo的专栏
aimingoo的专栏
I
Intezer
腾讯CDC
M
MIT News - Artificial intelligence
Hugging Face - Blog
Hugging Face - Blog
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
AWS News Blog
AWS News Blog
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Vulnerabilities – Threatpost
G
Google Developers Blog
N
Netflix TechBlog - Medium
The Cloudflare Blog
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
A
Arctic Wolf
S
Securelist
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
Recent Announcements
Recent Announcements
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
T
Threatpost
Latest news
Latest news
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
The GitHub Blog
The GitHub Blog
T
Tor Project blog
P
Proofpoint News Feed

博客园 - 无极.net

.NET正则表达式使用高级技巧之工作特点 .NET正则表达式使用高级技巧之反向引用 - 无极.net - 博客园 .NET正则表达式使用高级技巧之组的概念 - 无极.net - 博客园 .NET正则表达式使用高级技巧之替换类 C#中利用正则表达式实现字符串搜索 字符串长度,同时考虑二个英文=一个中文 - 无极.net - 博客园 c# 添加图片水印,可以指定水印位置+生成缩略图 - 无极.net - 博客园 正则表达式30分钟入门教程 v2.1 两个固定宽度的DIV,不换行 - 无极.net - 博客园 UrlReWriter 使用经验小结 如何在JS里取得两个数相除的整数和余数,那么如何判断一个数是整数呢? 向上滚动 flash从asp中调用变量 菜单 ASP.NET AJAX(开发代号Atlas)重要参考资源大收集 索引[]在字符串中的用法 div 相对于浮动层定位,不占位 储存过程里设置了OUTPUT,取值 SQL 声明变量 declare
FLASH图片新闻代码 - 无极.net - 博客园
无极.net · 2007-03-30 · via 博客园 - 无极.net

是用的FLASH调用数据库的数据。代码如下:
<script type="text/javascript">
<!--

imgUrl1 = "http://www.moobol.com/livePic/manage/huxw/070225/083809_1.jpg";
imgText1 = "";
imgLink1 = escape("/molive/liveAction.do?method=findLiveList&liveId=12577");

imgUrl2 = "http://www.moobol.com/livePic/manage/kefeng/070224/000559_1.jpg";
imgText2 = "战士看美女";
imgLink2 = escape("/molive/liveAction.do?method=findLiveList&liveId=12661");

imgUrl3 = "http://www.moobol.com/livePic/manage/kefeng/070224/003118_1.jpg";
imgText3 = "沈阳商厦∶“有钱能使鬼推磨”";
imgLink3 = escape("/molive/liveAction.do?method=findLiveList&liveId=12650");

imgUrl4 = "http://www.moobol.com/livePic/manage/kefeng/070224/005915_1.jpg";
imgText4 = "直播福建省建阳农村婚礼习俗";
imgLink4 = escape("/molive/liveAction.do?method=findLiveList&liveId=12614");

imgUrl5 = "http://www.moobol.com/livePic/manage/kefeng/070224/010913_1.jpg";
imgText5 = "水源被污染 鱼儿就遭殃";
imgLink5 = escape("/molive/liveAction.do?method=findLiveList&liveId=12620");

var focus_width = 319;
var focus_height = 230;
var text_height = 18;
var swf_height = focus_height + text_height;
var pics = imgUrl1 + "|" + imgUrl2 + "|" + imgUrl3 + "|" + imgUrl4 + "|" + imgUrl5;
var links = imgLink1 + "|" + imgLink2 + "|" + imgLink3 + "|" + imgLink4 + "|" + imgLink5;
var texts = imgText1 + "|" + imgText2 + "|" + imgText3 + "|" + imgText4 + "|" + imgText5;
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/molive/webjsp/flash/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#E3E3E3">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="/molive/webjsp/flash/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#E3E3E3" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
-->
</script>
你把那个FLASH用迅雷下载下来!然后把上述代码改动一下,就行了。
代码主要修改如下:
imgUrl1 = "http://www.moobol.com/livePic/manage/huxw/070225/083809_1.jpg";
imgText1 = "";
imgLink1 = escape("/molive/liveAction.do?method=findLiveList&liveId=12577");
用数据库提取5条相关记录。即:
循环开始
imgurl<%=k%>="rs("jilu")"
imgtext<%=k%>=rs("title")
imgLink<%=k%>=escape("<%=rs("url")%>")
循环结束

效果如下网址:
http://www.moobol.com/molive/homePageAction.do?method=findHomePage