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.dbjr.com.cn/" />
<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.dbjr.com.cn/</鏈接>
</content>
<content>
<標(biāo)題>腳本之家2</標(biāo)題>
<鏈接>http://www.dbjr.com.cn/</鏈接>
</content>
<content>
<標(biāo)題>腳本之家3</標(biāo)題>
<鏈接>http://www.dbjr.com.cn/</鏈接>
</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.dbjr.com.cn/" />
<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.dbjr.com.cn/</鏈接>
</content>
<content>
<標(biāo)題>腳本之家2</標(biāo)題>
<鏈接>http://www.dbjr.com.cn/</鏈接>
</content>
<content>
<標(biāo)題>腳本之家3</標(biāo)題>
<鏈接>http://www.dbjr.com.cn/</鏈接>
</content>
<content>
<標(biāo)題>電腦教程吧</標(biāo)題>
<鏈接>http://www.pcjc8.com/</鏈接>
</content>
</news>
打包文件下載
測試地址
相關(guān)文章
js實(shí)現(xiàn)全屏漂浮廣告移入光標(biāo)停止移動
這篇文章主要介紹了js全屏漂浮廣告移入光標(biāo)停止移動效果,大家參考使用吧2013-12-12基于innerHTML中的script廣告實(shí)現(xiàn)代碼[廣告全部放在一個(gè)js里面]
基于innerHTML中的script廣告實(shí)現(xiàn)代碼 ,主要是為了統(tǒng)一管理廣告,但因?yàn)閕nnerHtml的script的一些問題不建議script的代碼下面是一些測試。2009-09-09javascript 新浪背投廣告實(shí)現(xiàn)代碼
新浪的好多廣告代碼被廣大站長廣為流傳,大家如果有時(shí)間可以去看看,他們的代碼都是寫出類的,不少的好東西。2009-07-07