只需一步,快速开始
原帖由 city25 于 2006-4-10 17:18 发表 有人可以幫我解決嗎????
使用道具 举报
原帖由 robi 于 2006-4-28 01:32 发表 后台随便添加一个空的插件 例如我就建立了一个叫"菜单"的插件 唯一标识符是"menu" 进去之后什么也不用写 直接利用它的菜单调用功能就好
一、风格选择菜单 打开templates\default\header_meun.htm 在最后加上 CODE:[Copy to clipboard]<!--风格选择菜单--> <!--{if !empty($stylejump)}--> | <a href="#" id="stylejump">{lang menustyles}</a> <script type="text/javascript">dzmenu_register("stylejump");</script> <div id="stylejump_menu" style="display:none" class="dzmenu_popup"> <table cellpadding="3" cellspacing="1" border="0"> <tr><td class="header">{lang menustyles}</td></tr> <!--{loop $stylejump $id $name}--> <tr><td class="dzmenu_option"><a href="#" onclick="ChangeStyle('$id')"> $name</a></td></tr> <!--{/loop}--> </table> </div> <script type="text/javascript"> function ChangeStyle(styleid){ var thisurl = document.URL.replace(/[&?]styleid=.+?&sid=.+?$/i, ''); window.location=(thisurl+(thisurl.match(/\?/) ? '&' : '?')+'styleid='+styleid+'&sid=$sid'); } </script> <!--{/if}-->
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-5-19 14:57 , Processed in 0.125718 second(s), 15 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.