顶部增加快速搜索窗口:下拉菜单版
模板 <FONT color=red>jsmenu.htm</FONT> , 最底部加上<DIV class=blockcode><SPAN class=headactions onclick=\"copycode($(\'code0\'));\">复制内容到剪贴板</SPAN>
<H5>代码:</H5><CODE id=code0><FONT face=新宋体><ul class=\"popupmenu_popup headermenu_popup\" id=\"search_menu\" style=\"display: none\"><BR> <form name=\"eform\" method=\"post\" action=\"search.php?searchsubmit=yes\"><BR> <input value=\"在此输入关键词\" maxLength=\"12\" size=\"18\" name=\"srchtxt\"onmouseover=\"this.focus();this.value=\'\';this.onmouseover=null;\" onfocus=\"this.select()\"><BR> <input type=\"submit\" value=\"搜索\" name=\"searchsubmit\" style=\"padding:0; margin:0\"><BR> </form><BR></ul></FONT></CODE></DIV>模板 header.htm , 搜尋
<DIV class=blockcode><SPAN class=headactions onclick=\"copycode($(\'code1\'));\">复制内容到剪贴板</SPAN>
<H5>代码:</H5><CODE id=code1><FONT face=新宋体><!--{if $allowsearch || $qihoo[\'status\']}--><li<!--{if $BASESCRIPT == \'search.php\'}--> class=\"current\"<!--{/if}-->><a href=\"search.php{if !empty($fid)}?srchfid=$fid{/if}\">{lang search}</a></li><!--{/if}--></FONT></CODE></DIV>替換為
<DIV class=blockcode><SPAN class=headactions onclick=\"copycode($(\'code2\'));\">复制内容到剪贴板</SPAN>
<H5>代码:</H5><CODE id=code2><FONT face=新宋体> <!--{if $discuz_uid}--> <!--{if $allowsearch || $qihoo[\'status\']}--><BR> <li id=\"search\" class=\"dropmenu<!--{if $BASESCRIPT == \'search.php\'}--> current<!--{/if}-->\" onmouseover=\"showMenu(this.id)\"><BR> <a href=\"search.php{if !empty($fid)}?srchfid=$fid{/if}\">{lang search}</a></li><BR> <!--{/if}--><!--{/if}--></FONT></CODE></DIV>
页:
[1]