引用 | 編輯
香吉士
2009-08-03 13:34 |
樓主
|
||||||||||||
x0
【插件名稱】:遊客提醒註冊彈窗For Discuz7.0自適應風格版【適用版本】:Discuz!7.0 【語言編碼】:GBK 【風格作者】:popp0987 【版權所屬】:無 【支持網站】:http://www.dishack.com/ 【原帖】:http://www.discuz.net/viewthread.php?tid=1135166&extra=page%3D1&page=1 更新功能: 1.自適應風格,無需指定網站和圖片路徑; 2.引用Discuz7.0特有的Ajax註冊和登陸功能. 打開:templates\default\footer.htm 在</body>前面加上以下代碼 複製程式 <!--{if !$discuz_user}--> <script language=JavaScript src="include/js/zhucetishi.js"></script> <div style="width:500px; text-align:center;margin-left:auto;margin-right:auto;"></div> <DIV id=windlocation style="VISIBILITY: hidden; POSITION: absolute"bgcolor="#cccccc"> <TABLE height=300 width=500 bgColor=#cccccc> <TR> <TD align=middle> <TABLE class=f_one height=295 width=495 bgColor=#ffffff> <TR> <TD vAlign=center align=middle><a href="$indexname" title="$bbname">{BOARDLOGO}</a> </br> <p>請先註冊以避免此窗口再次出現</br> <p>$bbname -歡迎您的加入</br> <B><a href="$regname" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder">$reglinkname</a > | <a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang login}</a></B> <p><b>(此提示窗將於5秒後自動關閉)</b></TD></TR></TABLE></TD></TR></TABLE></DIV> </DIV> </if> <!--{/if}--> OK。 上傳附件到include/js/目錄
x0
|