Flash+XML滾動新聞代碼 無圖片 附源碼下載
更新時(shí)間:2007年11月22日 12:05:05 作者:
用flash實(shí)現(xiàn)讀取新聞連接的代碼,方便一個(gè)50高度的地方顯示外部連接,不錯(cuò)的黑色效果
index.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Copyright" content="腳本之家 http://www.dhdzp.com/" />
<meta name="description" content="腳本之家" />
<meta content="腳本之家" name="keywords" />
<title>Flash+XML滾動新聞代碼-腳本之家</title>
</head>
<body>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="440" height="50">
<param name="movie" value="flashnews.swf">
<param name="quality" value="high">
<embed src="flashnews.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="440" height="50"></embed>
</object>
</div>
</body>
</html>
textBanner.xml
<news>
<content>
<標(biāo)題>腳本之家</標(biāo)題>
<鏈接>http://www.dhdzp.com/</鏈接>
</content>
<content>
<標(biāo)題>腳本之家2</標(biāo)題>
<鏈接>http://www.dhdzp.com/</鏈接>
</content>
<content>
<標(biāo)題>腳本之家3</標(biāo)題>
<鏈接>http://www.dhdzp.com/</鏈接>
</content>
<content>
<標(biāo)題>電腦教程吧</標(biāo)題>
<鏈接>http://www.pcjc8.com/</鏈接>
</content>
</news>
打包文件下載
測試地址
index.html
復(fù)制代碼 代碼如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Copyright" content="腳本之家 http://www.dhdzp.com/" />
<meta name="description" content="腳本之家" />
<meta content="腳本之家" name="keywords" />
<title>Flash+XML滾動新聞代碼-腳本之家</title>
</head>
<body>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="440" height="50">
<param name="movie" value="flashnews.swf">
<param name="quality" value="high">
<embed src="flashnews.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="440" height="50"></embed>
</object>
</div>
</body>
</html>
textBanner.xml
復(fù)制代碼 代碼如下:
<news>
<content>
<標(biāo)題>腳本之家</標(biāo)題>
<鏈接>http://www.dhdzp.com/</鏈接>
</content>
<content>
<標(biāo)題>腳本之家2</標(biāo)題>
<鏈接>http://www.dhdzp.com/</鏈接>
</content>
<content>
<標(biāo)題>腳本之家3</標(biāo)題>
<鏈接>http://www.dhdzp.com/</鏈接>
</content>
<content>
<標(biāo)題>電腦教程吧</標(biāo)題>
<鏈接>http://www.pcjc8.com/</鏈接>
</content>
</news>
打包文件下載
測試地址
相關(guān)文章
標(biāo)準(zhǔn)布局應(yīng)用:對聯(lián)與旗幟
標(biāo)準(zhǔn)布局應(yīng)用:對聯(lián)與旗幟...2006-12-12
仿百度聯(lián)盟對聯(lián)廣告實(shí)現(xiàn)代碼
仿百度聯(lián)盟對聯(lián)廣告源代碼展示,主要使用現(xiàn)代瀏覽器都支持的position:fixed屬性,并專門針對ie6做了最大限度的兼容性處理2014-08-08
javascript 強(qiáng)制彈出窗口代碼-跨攔截
javascript 強(qiáng)制彈出窗口代碼-跨攔截,大家自己測試下啊。2009-06-06

