- 積分
- 330
- 威望
- 330
- 金錢
- 318
- 最後登錄
- 2020-2-17
|
搜索代码有问题可以帮助能能吗
不显示搜索图片
这个是素材
不显示这个图片
这个是代码 高手进来看看怎么回事- <!-- 搜索条 -->
- <style type="text/css">
- #header { height:100px; overflow:hidden;}
- #nav { margin-top:8px;}
- #scbar{overflow:hidden;height:36px;line-height:36px;background:url(http://mcwuqu.66rt.com/attachments/day_140123/14012317067f7b1f012e39ce9c.png) no-repeat 0 0;}#scbar table{background:url(http://mcwuqu.66rt.com/attachments/day_140123/1401231706c3eef9e7c99195d2.png) no-repeat 0 -36px;}#scbar td{padding:0 2px;white-space:nowrap;}#scbar #srchtxt{margin-top:2px\9;margin-right:10px;margin-left:35px;width:250px;height:18px;line-height:18px;border:none;background:transparent;outline:none;}#scbar label{margin-right:0px;cursor:pointer;}#scbar #search_submit{width:51px;height:36px;border:none;background:transparent url(http://mcwuqu.66rt.com/attachments/day_140123/1401231706c3eef9e7c99195d2.png) no-repeat 0 -77px;cursor:pointer;}#scbar .hot{padding-left:1em;}.ie6 #scbar .hot{white-space:normal;}#sc td{padding:0 3px;}#srchtxt{font-size:12px;line-height:22px;}.ie6 #srchtxt{line-height:20px;}#sc #search_submit{width:51px;height:32px;border:none;background:transparent url({STYLEIMGDIR}/sen.png) no-repeat 0 -79px;cursor:pointer;}#scbar {
- border: 0px solid #ffffff;border-top-width: 8px!important;}
- </style>
- <div id="scbar" class="bm cl">
- <form id="scform" class="z" method="post" autocomplete="off" action="search.php?searchsubmit=yes" target="_blank">
- <input type="hidden" name="mod" value="search" />
- <input type="hidden" name="formhash" value="38e286e1" />
- <input type="hidden" name="srchtype" value="title" />
- <table cellspacing="0" cellpadding="0">
- <tr>
- <td><input type="text" name="srchtxt" id="srchtxt" value="请输入搜索内容" autocomplete="off" onfocus="searchFocus(this);" /></td>
- <td> <label for="mod_post" title="搜索帖子"><input type="radio" id="mod_post" class="pr" name="mod" value="forum" checked="checked" onclick="modifyAdvancedUrl(this.value);" /> 帖子</label><label for="mod_user" title="搜索主题"><input type="radio" id="mod_user" name="mod" value="user" class="pr" onclick="modifyAdvancedUrl(this.value);" /> 主题</label></td>
- <td><button type="submit" id="search_submit" name="searchsubmit" class="xw1" value="true"> </button></td>
- <td> <a href="" id="advancedsearch" target="_blank" class="xi2" style="display:none;">高级搜索 !</a></td>
- <td>
- <div class="hot">
- <strong class="xw1 xi1">Mc舞曲 </strong></div>
- </td>
- </tr>
- </table>
- </form>
- <script type="text/javascript">
- function modifyAdvancedUrl(mod) {
- $('advancedsearch').href = 'search.php?adv=yes&mod=' + mod;
- }
- function searchFocus(mod) {
- $('srchtxt').value = '';
- }
- </script>
- </div>
複製代碼 |
-
1
評分人數
-
|