藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年8月25日 8:28

求教---急~

<!--[115,8,2953] published at 2005-04-18 17:36:35 from #017 by 984-->

<style type="text/css">
<!--
body {
        background-image: url([img]http://image2.sina.com.cn/gm/lineage2/outgame/images/shipin_r2_c2.jpg[/img]);
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        background-attachment: fixed;
        background-repeat: no-repeat;
}
-->
</style>
<table width="345" height="103" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><marquee onmouseover=this.stop() onmouseout=this.start() scrollAmount=4 scrollDelay=0>
                                                                        <table border="0" align="center" cellpadding="0" cellspacing="0">
                                      <tr>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/zmts.gif" width="128" height="100" border="0"></a></td>
                                                                                <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/jyzt.jpg" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/latt.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/ttrw.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/xmzs.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/ttmm.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/gmtakl.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/gfjs.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/bxtt.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/bzjd.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/zbgc6.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/gd6.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/zbgc7.gif" width="128" height="100" border="0"></a></td>
                                        <td>&nbsp;</td>
                                        <td><a href="http://games.sina.com.cn/lineage2/zt/video_list.shtml" target="_parent"><img src="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/gd7.gif" width="128" height="100" border="0"></a></td>
                                      </tr>
                                    </table>
                                                                        </marquee></td>
  </tr>
</table>


問題:怎麼才能讓第一個圖片連接最後一個圖片,使圖片組不間斷的滾動。
         在那個語句修改,希望能詳細指點一下,萬分感激。。。。。

只使用marquee不行。

那怎麼樣才可以啊?能教教我嗎?

[html]
<base href="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/">
  <div id=demo style=overflow:hidden;height:100;width:280;background:#214984;color:#ffffff>
  <table align=left cellpadding=0 cellspace=0 border=0><tr><td id=demo1 valign=top>
  <img src="gfjs.gif"><img src="bxtt.gif"><img src="bzjd.gif"></td><td id=demo2 valign=top></td></tr></table></div>
  <script>
  var speed=30
  demo2.innerHTML=demo1.innerHTML
demo.scrollLeft=demo.scrollWidth
  function Marquee(){
  if(demo.scrollLeft<=0)
  demo.scrollLeft+=demo2.offsetWidth
  else{
  demo.scrollLeft--
  }
  }
  var MyMar=setInterval(Marquee,speed)
  demo.onmouseover=function() {clearInterval(MyMar)}
  demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
  </script>
[/html]

運行你的代碼可以實現,把你的代碼插入我的頁面後圖片卻不能運行了,這是怎麼回事,
我的QQ:71529122 ,你能加我嗎?

你檢查一下你的圖片路徑。

注意<base>標籤.把那個去掉

你能不能將你的語句一行一行的解釋一下啊,我沒有學過語言的,所以不知道是那裡錯了
我都是在(設計)的窗口製作的,你的代碼我在(設計)窗口看不見東西,按F12後只能看見圖片卻不能動。你要是有時間的話能不能解釋一下呢?那我就可以知道怎麼修改代碼了。我知道你是好心人,幫幫我這個新人吧~謝謝~

去掉標籤<base href="http://image2.sina.com.cn/gm/lineage2/whz/newwh/images/fy/images/images/ifimage/">還是不行

現在可以在(設計)裡看見圖樣了,可按F12還是不能動,急啊。。。。

想要這圖片滾動用marquee也行吧?

這個效果怎麼誰都不會啊

那個運行代碼的效果是用層做的,用JavaScript應可以不用層的,不知代碼怎麼控制的?
怎麼誰都不會啊?

<base>標籤是什麼意思啊?謝謝




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com