[織夢教程]織夢站內搜索代碼,求助
閱讀 ?·? 發布日期 2019-06-27 17:07 ?·? admin織夢的默認模板的head.htm里面搜索代碼,我給你復制過來了。
1
2
3
4
5
6
7
8
9
|
< form name = "formsearch" action = "/plus/search.php" > < input type = "hidden" name = "kwtype" value = "0" /> < input name = "q" type = "text" class = "search-keyword" id = "search-keyword" value = "在這里搜索..." onfocus = "if(this.value=='在這里搜索...'){this.value='';}" onblur = "if(this.value==''){this.value='在這里搜索...';}" /> < select name = "searchtype" class = "search-option" id = "search-option" > < option value = "title" selected = '1' >檢索標題</ option > < option value = "titlekeyword" >智能模糊</ option > </ select > < button type = "submit" class = "search-submit" >搜索</ button > </ form > |
可以根據自己的需要修改!
為您推薦
- 襯塑管網站建設_網頁定制制作與開發 2020-01-12
- 保溫管網站建設_網頁定制制作與開發 2020-01-12
- 玻璃管網站建設_網頁定制制作與開發 2020-01-12
- 鍍鋅方矩管網站建設_網頁定制制作與 2020-01-12
- PVC管材網站建設_網頁定制制作與開發 2020-01-12