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

推荐订阅源

云风的 BLOG
云风的 BLOG
P
Privacy International News Feed
Vercel News
Vercel News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - 叶小钗
F
Fortinet All Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 最新话题
AWS News Blog
AWS News Blog
Engineering at Meta
Engineering at Meta
Attack and Defense Labs
Attack and Defense Labs
Recent Announcements
Recent Announcements
Recent Commits to openclaw:main
Recent Commits to openclaw:main
PCI Perspectives
PCI Perspectives
Cloudbric
Cloudbric
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
IT之家
IT之家
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
J
Java Code Geeks
M
MIT News - Artificial intelligence
Cisco Talos Blog
Cisco Talos Blog
V2EX - 技术
V2EX - 技术
Webroot Blog
Webroot Blog
Microsoft Security Blog
Microsoft Security Blog
Cyberwarzone
Cyberwarzone
博客园 - 聂微东
G
Google Developers Blog
W
WeLiveSecurity
罗磊的独立博客
P
Privacy & Cybersecurity Law Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
T
Tailwind CSS Blog
V
Visual Studio Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Secure Thoughts
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
Google DeepMind News
Google DeepMind News
Google DeepMind News
Google DeepMind News
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
F
Full Disclosure
Blog — PlanetScale
Blog — PlanetScale
The Last Watchdog
The Last Watchdog
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