首页 | 站长资讯 | 网赚交流 | 站长知道 | 商业源码 | SEO | 故事 | 网站建设 | 免费资源 | 虚拟主机 | 采集器下载 | 百度XML | GloogleXML

查看完整版本: 论坛首页滚动图片代码(美女)

admin 2007-11-19 11:14

论坛首页滚动图片代码(美女)

论坛首页滚动图片代码,真正的无限循环,首尾相连不间断,就是我论坛的这种。


1、系统设置---基本设置---基本设置---网站备案信息代码
添加代码

[free]
[font=新宋体]<script type="text/javascript">if(document.getElementById("foruminfo") != null){document.getElementById("foruminfo").innerHTML+=document.getElementById("top_foruminfo").innerHTML;}if(document.getElementById("ad_thread1_0") != null){document.getElementById("ad_thread1_0").innerHTML=document.getElementById("ggad_thread1_0").innerHTML;}if(document.getElementById("ad_footerbanner1") != null){document.getElementById("ad_footerbanner1").innerHTML=document.getElementById("ggad_footerbanner1").innerHTML;}if(document.getElementById("ad_thread3_0") != null){document.getElementById("ad_thread3_0").innerHTML=document.getElementById("ggad_thread3_0").innerHTML;}</script>[/font]
[/free]

2、系统设置---基本设置--搜索引擎优化---其它头部信息

[font=新宋体][free]
[font=新宋体]<div id="top_foruminfo" style="display:none;"><iframe scrolling="no" border="0" frameborder="0" src=[url=http://www.xiugoo.com/top.htm]http://www.xiugoo.com/top.htm[/url]  width="100%" height="120px"></iframe></div>[/font]
[/free]

3、top.htm内容

[free] <table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td>  <div id=demo style=overflow:hidden;height:120;width="100%";color:#ffffff><table align=left cellpadding=0 cellspace=0 border=0><tr><td id=demo1 valign=top>
                <table border=0 cellpadding=0 cellspacing=0>
                <tr><td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/1.jpg width=120 height=100 class=b5  hspace=5></a><br></td>
                <td width=10></td>
                <td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/2.jpg width=120 height=100  class=b5 hspace=5></a><br></td>
                <td width=10></td>
                <td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/3.jpg width=120 height=100  class=b5 hspace=5></a><br></td>
                <td width=10></td>
                <td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/4.jpg width=120 height=100  class=b5 hspace=5></a><br></td>
                <td width=10></td>
                <td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/5.jpg width=120 height=100  class=b5 hspace=5></a><br></td>
                <td width=10></td>
                <td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/7.jpg width=120 height=100  class=b5 hspace=5></a><br></td>
                <td width=10></td>
                <td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/8.jpg width=120 height=100  class=b5 hspace=5></a><br></td>
                <td width=10></td>
                <td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/9.jpg width=120 height=100  class=b5 hspace=5></a><br></td>
                <td width=10></td>
                <td><a href=http://www.xiugoo.com/bbs/thread-2071-1-1.html target=_blank><img src=http://www.xiugoo.com/tupian/10.jpg width=120 height=100  class=b5 hspace=5></a><br></td>  
                </tr>
                </table>
        </td><td id=demo2 valign=top></td></tr></table></div>
  <script>
  var speed=10//
  demo2.innerHTML=demo1.innerHTML
  function Marquee(){
  if(demo2.offsetWidth-demo.scrollLeft<=0)
  demo.scrollLeft-=demo1.offsetWidth
  else{
  demo.scrollLeft++
  }
  }
  var MyMar=setInterval(Marquee,speed)
  demo.onmouseover=function() {clearInterval(MyMar)}
  demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
  </script>
        </td></tr></table>
[/free]

TOP的内容自己在桌面,右键,新建文本文档,把第三个复制到新建文本文档里,把里面的图片和链接修改成自已的,保存为htm文件,以附件的形式上传到你自已的论坛,后台附件管理中找到刚上传附件的地址[/font]

admin 2008-1-15 11:55

top.htm内容  代码:
[font=NSimsun][quote][font=NSimsun]<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td>  <div id=demo style=overflow:hidden;height:120;width="100%";color:#ffffff><table align=left cellpadding=0 cellspace=0 border=0><tr><td id=demo1 valign=top>
                <table border=0 cellpadding=0 cellspacing=0>
                <tr><td><a href=链接地址 target=_blank><img src=图片地址 width=120 height=100 class=b5  hspace=5></a><br><center><b>文字说明</b></center></td>
                <td width=10></td>
                <td><a href=链接地址 target=_blank><img src=图片地址 width=120 height=100  class=b5 hspace=5></a><br><center><b>文件说明</b></center></td>
                <td width=10></td>
                <td><a href=链接地址 target=_blank><img src=图片地址 width=120 height=100  class=b5 hspace=5></a><br><center><b>文字说明</b></center></td>
               
         
                </tr>
                </table>
        </td><td id=demo2 valign=top></td></tr></table></div>
  <script>
  var speed=10//
  demo2.innerHTML=demo1.innerHTML
  function Marquee(){
  if(demo2.offsetWidth-demo.scrollLeft<=0)
  demo.scrollLeft-=demo1.offsetWidth
  else{
  demo.scrollLeft++
  }
  }
  var MyMar=setInterval(Marquee,speed)
  demo.onmouseover=function() {clearInterval(MyMar)}
  demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
  </script>
        </td></tr></table>[/font][/quote][/font]

szqww 2008-1-15 14:11

谢谢 分享:)

wx87954220 2008-3-25 22:29

额问题万恶ttywteryrey

dymdymcom 2008-9-28 19:10

我现在终于明白我缺乏的是什么了,正是楼主那种对真理的执着追求和楼主那种对理想的艰苦实践所产生的厚重感。

阿切 2008-10-19 21:10

情缘站长之家的老大们,能不能赏小的一点金钱用用呀

zxlovest 2008-10-23 09:10

高山仰止,莫测高深。。。。

OH.MyGod 2008-11-15 05:59

你这样的表现,就只配这几个字:窝囊废!

泉州社区 2008-12-13 04:00

给我一个女人,我可以创造一个民族;给我一瓶酒,我可以带领他们征服全世界。。。。。。。。。
页: [1]
查看完整版本: 论坛首页滚动图片代码(美女)