如何制作Discuz论坛网站云标签

    发布时间:2019-02-19

    阅读量

    后台-系统设置-扩展变量-手机广告位-内容页头部广告位
    摘要: 如上图所示是百度风云榜首页右上方的部分,这就算是一个云标签了,那么如何在discuz中实现这种效果呢?其实不难,先进入DIY界面,DIY一个模块,在输入HTML的里面输入下面代码:  object classid="clsid:D27CDB6E-A ...

    如何制作Discuz论坛网站云标签

    如上图所示是百度风云榜首页右上方的部分,这就算是一个云标签了,那么如何在discuz中实现这种效果呢?其实不难,先进入DIY界面,DIY一个模块,在输入HTML的里面输入下面代码:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="500" height="500" id="myFlashContent">
    <param name="movie" value="3dtags.swf" />
    <param name="allowfullscreen" value="true" />
    <param name="allowscriptaccess" value="always" />
    <param name="wmode" value="transparent" />
    <param name="allownetworking" value="all" />
    <param name="flashvars" value='jsonData=
    {"type":"tagBall","delicacy":2,"renderCycleTime":20,"radius":80,"focalLength":300,"color":"#000000","rotationModeX":14,"rotationModeY":14,"elements":
    [{"type":"text","data":"情感家园","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/home.php","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"},
    {"type":"text","data":"开心交友","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/plugin.php?id=dmember:index","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"},
    {"type":"text","data":"时尚论坛","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/forum.php","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"},
    {"type":"text","data":"网页游戏","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/userapp.php","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"},
    {"type":"text","data":"心情墙","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/plugin.php?id=moodwall:moodwall","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"},
    {"type":"text","data":"时尚街","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/shishangjie.php","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"},
    {"type":"text","data":"试衣间","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/shiyijian.php","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"},
    {"type":"text","data":"时尚搭配","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/dapei.php","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"}
    ,{"type":"text","data":"个人资料","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/home.php?mod=spacecp","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"},{"type":"text","data":"勋章申请","hcolor":"0xFF6600","size":16,"bold":1,"herf":"/home.php?mod=medal","window":"_blank","fontFamily":"\u5fae\u8f6f\u96c5\u9ed1"}
    ]}'/>
    <a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash 
    player" /></a>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>

    "data":"情感家园"       ------data后面是标签的名字 自己修改
    "herf":"/home.php?mod=medal"   -------------herf后面是标签的链接  自己修改

    然后就是一个flash了   。下载以后放在根目录,如果要更换目录的话修改代码里面<param name="movie" value="3dtags.swf" />  value的值=“xxx/xxx/xxx/3dtags.swf”

    OK了,现在就可以实现效果了!
    后台-系统设置-扩展变量-手机广告位-内容页头部广告位
    留言与评论(共有 0 条评论)
       
    验证码: