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

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
H
Heimdal Security Blog
Jina AI
Jina AI
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
AWS News Blog
AWS News Blog
C
Cisco Blogs
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Hacker News
The Hacker News
The Cloudflare Blog
Hugging Face - Blog
Hugging Face - Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
S
Securelist
P
Privacy International News Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 聂微东
博客园 - 叶小钗
J
Java Code Geeks
V
V2EX
博客园 - Franky
Spread Privacy
Spread Privacy
K
Kaspersky official blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
C
CERT Recently Published Vulnerability Notes
Latest news
Latest news
NISL@THU
NISL@THU
罗磊的独立博客
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园_首页
V
Visual Studio Blog

博客园 - 无极.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