|
主题:[分享]科讯可以做个此乃flash幻灯吗 [收藏主题] | 转到: |
<DIV id="pic7" style="display:none"><a href="http://news.xinhuanet.com/photo/2010-09/03/c_12516862.htm" target="_blank">“嫦娥二号”年底前发射</a> </DIV>
<div id="img7" style="display:none"><img src="titlepic/11341540_l0h.jpg" width="100" height="100" /></div> <DIV id="pic8" style="display:none"><a href="http://news.xinhuanet.com/photo/2010-09/03/c_12516901.htm" target="_blank">韩国外长就女儿“特招”入部向国民道歉</a> </DIV> <div id="img8" style="display:none"><img src="titlepic/11341611_l0h.jpg" width="100" height="100" /></div> <DIV id="pic9" style="display:none"><a href="http://news.xinhuanet.com/photo/2010-09/03/c_12516748.htm" target="_blank">吉林客货车相撞事故已造成16人死亡</a> </DIV> <div id="img9" style="display:none"><img src="titlepic/11341494_l0h.jpg" width="100" height="100" /></div> <DIV id="pic10" style="display:none"><a href="http://news.xinhuanet.com/photo/2010-09/03/c_12516695.htm" target="_blank">卡梅伦夫妇携小女儿亮相唐宁街10号</a> </DIV> <div id="img10" style="display:none"><img src="titlepic/11341435_l0h.jpg" width="100" height="100" /></div> <DIV id="pic11" style="display:none"><a href="http://news.xinhuanet.com/photo/2010-09/03/c_12516633.htm" target="_blank">墨西哥湾一钻井平台爆炸后暂无明显漏油</a> </DIV> <div id="img11" style="display:none"><img src="titlepic/11341357_l0h.jpg" width="100" height="100" /></div> <span id="swf"></span> <script type="text/javascript"> var linksf = new Array(6); var namef = new Array(6); var imgf = new Array(6); for(var t=7;t<12;t++) { linksf[t] = $('#pic'+t +' > a').attr("href"); namef[t] = $('#pic'+t +' > a').text(); namef[t] = namef[t].replace(/"/g, '"'); if ($('#img'+t+' > a').attr("href")==null) { imgf[t] = $('#img'+t+' > img')[0].src; } else{ imgf[t] = $('#img'+t+' > a > img')[0].src; } imgf[t] = imgf[t].substring( imgf[t].lastIndexOf("/")+1); } var fv="|"+namef[7]+"#ab.news.cn/titlepic/titlepic/"+imgf[7]+"#"+linksf[7]+" |"+namef[8]+"#ab.news.cn/titlepic/titlepic/"+imgf[8]+"#"+linksf[8]+"|"+namef[9]+"#ab.news.cn/titlepic/titlepic/"+imgf[9]+"#"+linksf[9]+"|"+namef[10]+"#ab.news.cn/titlepic/titlepic/"+imgf[10]+"#"+linksf[10]+"|"+namef[11]+"#ab.news.cn/titlepic/titlepic/"+imgf[11]+"#"+linksf[11]; var s1 = new SWFObject("http://imgs.xinhuanet.com/icon/home/2007/flash01/index_roll.swf","single","294","221","7"); s1.addVariable("newsstr",fv); s1.write("swf"); </script> </td> </tr> </table> |
|
支持(0) | 反对(0) 顶端 底部 |
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |