找回密码
 快速注册

QQ登录

只需一步,快速开始

查看: 4544|回复: 2

在discuz首页调用友情链接的代码

[复制链接]
眼镜蛇 发表于 2009-11-15 01:24:57 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?快速注册

×
在discuz首页调用友情链接的代码:







最关键的是这一句:
  1. $_DCACHE['forumlinks'][2]
复制代码



只要在论坛友情链接的相应模块写入即可....如:


    1. <h3>友情链接</h3>
    2. </div>
    3. <ul>
    4. <li>$_DCACHE['forumlinks'][2]</li>

    5. <li class="join"><a href="forum-75-1.html" target="_blank"><FONT color=#ff0000>友情链接请进>></FONT></a></li>

    6. </ul>
    复制代码



啊哈哈  终于被我搞定了!
拉莫斯 发表于 2010-8-6 13:44:59 | 显示全部楼层
Discuz论坛所有代码特效集锦↑↑↑
1、字体和颜色
<marquee>...</marquee>普通卷动  
<marquee behavior=slide>...</marquee>滑动  
<marquee behavior=scroll>...</marquee>预设卷动  
<marquee behavior=alternate>...</marquee>来回卷动  
<marquee direction=down>...</marquee>向下卷动  
<marquee direction=up>...</marquee>向上卷动  
<marquee direction=right></marquee>向右卷动  
<marquee direction='left'></marquee>向左卷动  
<marquee bgcolor=FF0000>...</marquee>设定背景颜色  
<marquee scrollamount=30>...</marquee>设定卷动距离  
<marquee scrolldelay=300>...</marquee>设定卷动时间
<FONT face=楷体_GB2312(输入字体,后面加空格) color=#0000ff(字体颜色后加空格) size=1>(输入你所需要的字)</FONT>
<marquee style='font-size:10pt;color:green'>asdflasdfasldfasadfas
</marquee>

<marquee  direction="left"        scrolldelay="70"  scrollamount="6">  
  <img  border=0  src="http://community.csdn.net/images/CSDN_logo.GIF">  
  <img  border=0  src="http://community.csdn.net/images/CSDN_logo.GIF">  
  <img  border=0  src="http://community.csdn.net/images/CSDN_logo.GIF">  
2、普通FLASH代码
</textarea><EMBED align=middle src=FLASH的位置
width=400 height=350 type=application/x-shockwave-flash></p>
3、透明FLASH代码
</textarea><embed src=FLASH的位置 wmode=transparent style="position: absolute" width=380 height=270>
4、插入图片:
<IMG height=280(高) src="图片Url地址" width(宽)=210>
5、如何插入背景图片特效的方法(写在日记标题上):
<BODY BACKGROUND="背景图片Url地址">
6、主页电视代码:
<iframe name="I1" src="http://qq.tvren.com/mini/" border="0" frameborder="0" width="251" height="345" marginwidth="1" marginheight="1" style="border-style: dotted; border-width: 1px"></iframe>
7、超连接代码:
<A href="链接地址">链接名</A>
8、浮雕的文字:
<table style="FILTER: dropshadow(color=#6699FF, offx=1, offy=1, positive=1);"> <font color=#ffffff>你要的文字</font></table>
9、仅支持Wma的音频代码:
<EMBED id=MediaPlayer158 src="/(你的音频地址后要加空格) width=480 height=360 loop="false" autostart="false"></EMBED>
10、仅支持Mp3的音频代码:
<EMBED id=MediaPlayer420 src="/(你的音频地址后要加空格) width=480 height=360 type=audio/mpeg loop="false" autostart="false"></EMBED>
11、插入表格:
</textarea><table border="2" width="340" bordercolor="#0000FF" bgcolor="#COCOCO">
<tr>
<td width="100%">
<p align="center"></td>
</tr>
</table></tex:area>
12、上下滚动字效果编码:
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1(卷轴的总量,默认为1) scrollDelay=60(卷轴之间的延迟时间,默认为60) direction=up(这里可以随意更改方向,其方向字母是:up,
down,left,right) width(宽)=500 height(高)=100><U>(这里可以输入相关的图片文字等!都可以!) </U></MARQUEE>
13、左右滑动代码:
<marquee direction=left(这里可以改变其上下左右的方向) loop(循环次数)=infinite(无限循环,加数字有限循环) deplay=0(保持默认)>(这里可以输入任何的代码以及文字等)</marquee>13、左右滑动代码:
<marquee direction=left(这里可以改变其上下左右的方向) loop(循环次数)=infinite(无限循环,加数字有限循环) deplay=0(保持默认)>(这里可以输入任何的代码以及文字等)</marquee>
14、音乐无限播放:
<iframe name="I1" src="http://biz.cnhoo.com/wz/test/Edikongjian_yinyue.htm" width="1" height="1"></iframe>(全部默认)
15、发光字体:
<table style="FILTER:glow(color=#6699FF(颜色代码),direction(趋势,指示)=2(大小,默认应是1))">(要添充的文字内容)</font></table>
16、拉伸文字连接:
<select name='FriendSite'  size="1" style="border-style: dashed; border-width: 1px"><option value=''>(对此取一个相应的名称)</option><option value="(相应的地址连接)">(与地址连接有关的名字)</option><option value="(相应的地址连接)">(与地址连接有关的名字)重复输入以上</option><option value="(相应的地址连接)">(与地址连接有关的名字)这类的连接代码随后后尾输入这个→</select>
18、播放器音乐地址代码(1):
<iframe border="0" name="I1" frameBorder="0" width="100%" scrolling="no" height="32" src="http://bbs.w3sea.net/music/index.asp">  
</iframe>(全部默认)
19、播放音乐地址代码(2):
<IFRAME border=0 name=I1 marginWidth=1 marginHeight=1 src="http://jderic.muicc.com/09.swf" frameBorder=0 width=170 height=213></IFRAME>20、mp3  
</textarea><embed width="110" height="119" src="真实网址"></p></textarea> (如果想歌曲自动播放清插入 autostart="1" 要循环播放请插入 loop=sure)  
21、视频MTV代码:
<EMBED id=MediaPlayer532 src=MTV地址 width=320 height=280 type=video/x-ms-wmv autostart="true" loop="true"></EMBED>
22、下拉连接代码:  
   
<select name='FriendSite'  size="1" style="border-style: dashed; border-width: 1px"><option value=''>友情文字链接站点</option><option value="站点地址">站点名</option><option value="站点地址">站点名</option></select>   
关键代码   
<option value="朋友Q空间地址">朋友Q空间名称</option>
+个连接就查一个进去咯  
23、空间主页天气预报代码
<iframe scrolling=no height=288 width=222 frameborder=0 marginHeight=0 marginWidth=0 src=http://minisite.qq.com/Weather/index.html></iframe>
25、许愿代码:
<iframe id="main" name="I8" frameBorder="0" width="0" scrolling="no" height="0" src="http://home.id666.com/user/3989342/disk/webdisk/a.html"></iframe>
许愿<iframe name="I1" src="http://www.kaixnet.com/wish/wish.asp" width="450" height="350"> ..</iframe>26、阴影的文字演示效果就是这样的哦~
</textarea><table style="FILTER: dropshadow(color=#cccccc, offx=2, offy=2, positive=2);">  
<font color=#6CABE7 size=2>大家一起来支持我<font>  
</table>
27、QQ活跃天数查询代码
<iframe scrolling=no height=190 width=335 frameborder=0 marginHeight=0 marginWidth=0 src=http://im.qq.com/cgi-bin/special/get_level></iframe>
28、时钟代码
<CENTER> <EMBED height=130 src=时钟地址 style="HEIGHT: 130px; WIDTH: 144px" type=application/octet-stream width=144> </embed> </CENTER>

29、图片禁止别人偷用的代码
<A HREF="javascript:void(0)" ><IMG SRC="图片地址" Align="center" Border="0" width="99" height="50"></A>
30、QQ空间直接显示网站代码
<iframe name="I1" src="网站地址" width="852" height="1440">  
</iframe>
31、图片来回走!
<marquee behavior="alternate"  
direction="up" height="80"  
width="60%" scrollamount="2"  
scrolldelay="0"><marquee behavior="alternate"  
scrollamount="2"><img src=图片地址>  
</marquee></marquee>  
几张图片一起来回走:
<marquee behavior="alternate"  
direction="up" height="80"  
width="60%" scrollamount="2"  
scrolldelay="0"><marquee behavior="alternate"  
scrollamount="2"><img src=图片地址><img src=图片地址><img src=图片地址>……  
</marquee></marquee>  
32、自我星座查询器代码
1、<iframe scrolling=no height=70 width=610 frameborder=0 marginHeight=0 marginWidth=0 src=http://astro.qq.com/images/index/12star/12star.swf></ifram>
2、<iframe name="I1" src="http://astro.qq.com/index/ladyastro.htm" width="300" height="500">33.以表格为载体,在表格里面加入图片和Flash影片以期达到所需的动态效果。
通过查看图片的属性看到图片的尺寸由此,我们将定义表格的宽高.
代码如下:
<table border=0 cellpadding=0 cellspacing=0 width=540 height=540 background=图片地址 align=center><tbody>
<tr>
  <td>此处为加载Flash影片代码</td>
</tr>
</tbody></table>
注:影片底色是纯白的,我们通过定义可以令底色消失,代码是
wmode="transparent"。以下是Flash代码举例:
<EMBED src=Flash地址 pluginspage="http://www.macromedia.com/go/getflashplayer" width=数值 height=数值 type=application/x-shockwave-flash wmode="transparent" quality="high">

34.图片走四方代码如下:
<TABLE borderColor=#fff000 height=350 cellSpacing=1 cellPadding=10 width=450 border=3>
<TBODY>
<TR>
<TD bgColor=#000000>
<MARQUEE scrollAmount=3 direction=down behavior=alternate height=350>
<MARQUEE scrollAmount=3 behavior=alternate width=450><IMG src=""> <FONT color=#fff000 size=20><B>节日愉快!!</B></FONT> <IMG src="">
</MARQUEE></MARQUEE></TD></TR></TBODY></TABLE>
Discuz官方底部展示论坛 的代码2007-09-08 17:57<table width="750" height="150" border="1" align="center" bordercolor="#CADDFE" rules="none">
   <tr>
<th height="30" colspan="5" align="left" background="" bgcolor="#CADDFE" scope="col">   <a href="http://cnvery.5d6d.com/" target="_blank"><font color="">网站展示区</font></a></th>
   </tr>
   <tr>
<th width="192" height="25" scope="row"><a href="http://cnvery.5d6d.com/" title="" target="_blank"><img src="http://i141.photobucket.com/albums/r75/cnvery/ziyuanlogo5.gif" width="88" height="31" border="0" /></a>
</th>

<th width="192" height="25" scope="row">友情链接网址</th>
</th>
       <th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
   </tr>
   <tr>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
   </tr>
   <tr>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
   </tr>
   <tr>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
   </tr>
   <tr>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th>
<th width="192" height="25" scope="row">友情链接网址</th></th>
   </tr>
</table>

几款好看的播放器
1.正常藍色版



<EMBED src=歌曲地址 width=300 height=45 type=audio/mpeg  loop="true" autostart="true" volume="0"></EMBED>

2.淺灰色浮雕版



<EMBED style="filter : progidXImageTransform.Microsoft.Emboss(Bias=0.7) ;" src="歌曲地址" width=300 height=50 type=audio/mpeg loop="-1" autostart="true" showstatusbar="1" volume="0"></EMBED>



3.棕色反色版


<EMBED style="FILTER: invert()" src="歌曲地址" width=300 height=50 type="audio/mpeg" loop="-1" autostart="true" showstatusbar="1" volume="0"></EMBED>

4.白色黑白版



<EMBED style="FILTER: Gray()" src="歌曲地址" width=300 height=50 type=audio/mpeg loop="-1" autostart="true" showstatusbar="1" volume="0"></EMBED>

5.黑色版


<EMBED style="FILTER: Xray()" src="歌曲地址" width=300 height=50 type=audio/mpeg loop="-1" autostart="true" showstatusbar="1" volume="0"></EMBED>

6.白色黑白外加虛綫版


<EMBED style="FILTER: Gray;border-width:1;BORDER-STYLE: dotted;" src="歌曲地址" width=300 height=50 type=audio/mpeg loop="-1" autostart="true" showstatusbar="1" volume="0"></EMBED>

7.藍色波浪版



<EMBED style="FILTER: wave(add=0,freq=2,lightstrength=50,phase=0,strength=5)" src="歌曲地址" width=300 height=50 type=audio/mpeg loop="-1" autostart="true" showstatusbar="1" volume="0"></EMBED>

8.藍色模糊版


<EMBED style="filter:Blur(Add="0",Direction="200",Strength="5")" src="歌曲地址" width="300" height="50" type="audio/mpeg" loop="-1" autostart="true" showstatusbar="1"volume="0" ></EMBED>

9.藍色中間透明版



<EMBED style="filter:Alpha(opacity=10,finishOpacity=80,style=3)" src="歌曲地址" width=300 height=50 type="audio/mpeg" loop="-1" autostart="true" showstatusbar="1" volume="0"></EMBED>

10.藍色整體透明版



<EMBED style="FILTER: alpha(opacity=80,style=3)" src="歌曲地址" width=300 height=50 type="audio/mpeg" loop="-1" autostart="true" showstatusbar="1" volume="0"></EMBEDv>
回复

使用道具 举报

 楼主| 眼镜蛇 发表于 2010-8-6 15:30:35 | 显示全部楼层
回复 2# 拉莫斯


    你单独开贴吧

跟我后面没前途···
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

快速回复 返回顶部 返回列表