SCLUB免費論壇申請-使用者論壇's Archiver

y0y0 發表於 2012-5-4 19:55

论坛横排图标有连接的代码

[i=s] 本帖最後由 y0y0 於 2012-5-4 19:59 編輯 [/i]

<script>var ths=$("category_[color=SeaGreen]你的板块最尾端的号码[/color]").getElementsByTagName("th");
ths[0].innerHTML='<a href="[color=SeaGreen]子版连接地址[/color]"><img style="float:left; margin-right: 10px" src="[color=SeaGreen]图片地址[/color]" align="left" alt="" border="0" /></a>'+ths[0].innerHTML;
ths[1].innerHTML='<a href="[color=SeaGreen]子版连接地址[/color]"><img style="float:left; margin-right: 10px" src="[color=SeaGreen]图片地址[/color]" align="left" alt="" border="0" /></a>'+ths[1].innerHTML;
ths[2].innerHTML='<a href="[color=SeaGreen]子版连接地址[/color]"><img style="float:left; margin-right: 10px" src="[color=SeaGreen]图片地址[/color]" align="left" alt="" border="0" /></a>'+ths[2].innerHTML;
</script//横排图[color=SeaGreen]标论坛名字[/color]/>

示范:[url]http://dg.weclub.info/index.php[/url]
我论坛的代码:
<script>var ths=$("category_135").getElementsByTagName("th");
ths[0].innerHTML='<a href="http://dg.weclub.info/forumdisplay.php?fid=33"><img style="float:left; margin-right: 10px" src="http://i1104.photobucket.com/albums/h338/bakabibi/logo123/303091a7.png" align="left" alt="" border="0" /></a>'+ths[0].innerHTML;
ths[1].innerHTML='<a href="http://dg.weclub.info/forumdisplay.php?fid=76"><img style="float:left; margin-right: 10px" src="http://i1104.photobucket.com/albums/h338/bakabibi/logo123/z.png" align="left" alt="" border="0" /></a>'+ths[1].innerHTML;
ths[2].innerHTML='<a href="http://dg.weclub.info/forumdisplay.php?fid=78"><img style="float:left; margin-right: 10px" src="http://i1104.photobucket.com/albums/h338/bakabibi/logo123/c.png" align="left" alt="" border="0" /></a>'+ths[2].innerHTML;
</script//横排图标[url]http://dg.weclub.info/[/url]>

<script>var ths=$("category_7").getElementsByTagName("th");
ths[0].innerHTML='<a href="http://dg.weclub.info/forumdisplay.php?fid=137"><img style="float:left; margin-right: 10px" src="http://i1104.photobucket.com/albums/h338/bakabibi/logo123/i.png" align="left" alt="" border="0" /></a>'+ths[0].innerHTML;
ths[1].innerHTML='<a href="http://dg.weclub.info/forumdisplay.php?fid=138"><img style="float:left; margin-right: 10px" src="http://i1104.photobucket.com/albums/h338/bakabibi/logo123/o.png" align="left" alt="" border="0" /></a>'+ths[1].innerHTML;
</script//横排图标[url]http://dg.weclub.info/[/url]>


如果有问题可以到我论坛找我0-0||这里我很少来=-=||

0857 發表於 2012-5-7 19:12

謝謝分享~~

Advan 發表於 2012-5-27 09:10

你的板块最尾端的号码   怎么看啊?
子版连接地址          怎么看啊?
横排图标论坛名字    怎么看啊?
求大师指点。感激不进,

Advan 發表於 2012-5-27 09:11

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=64848&ptid=13944]2#[/url] [i]0857[/i] [/b]


    常客 ,帮偶看一下拉。3L

Advan 發表於 2012-5-27 09:38

如果你做个视频的话肯定会变精品的,

y0y0 發表於 2012-5-27 10:22

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=71435&ptid=13944]3#[/url] [i]Advan[/i] [/b]

最尾端的号码,就是你那个板块最尾端的号码:
[url]http://dg.weclub.info/index.php?gid=135[/url]的135

子版链接地址:
[url]http://dg.weclub.info/forum-33-1.html[/url]

横排图标论坛名字:
就是图片的URL[code]http://i1104.photobucket.com/albums/h338/bakabibi/d-1.png[/code]

Advan 發表於 2012-5-27 11:24

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=71517&ptid=13944]6#[/url] [i]y0y0[/i] [/b]


    谢咯。

Advan 發表於 2012-5-28 12:24

放在 第3方?

wanru 發表於 2014-8-8 16:49

[attach]45646[/attach]
改了以后怎么原来默认的标志还在呢?

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.