本帖最后由 qdcaishen 于 2009-10-7 18:31 编辑
支持网站:
贵族丽人网
http://www.vvnv.cn
技术支持:578676980
展示页面:http://www.vvnv.cn/viewnews-12224
- <div class="search_bar">
- <h3>快速搜索</h3>
- <ul id="tab_search">
- <li class="current"><em onclick="secBoard('tab_search','searchlist',1)">标题</em></li>
- <li class="normal"><em onclick="secBoard('tab_search','searchlist',2)">内容</em></li>
- <li class="normal"><em onclick="secBoard('tab_search','searchlist',3)">作者</em></li>
- <li class="normal"><em onclick="secBoard('tab_search','searchlist',4)">百度</em></li>
- <li class="normal"><em onclick="secBoard('tab_search','searchlist',5)">Google</em></li>
- </ul>
- <div class="search_list">
- <div id="searchlist_1" class="current">
- <form action="/xl/batch.search.php" method="post">
- <input id="search1" onclick="javascript:searchtxt('search1')" type="text" class="input_tx" size="10" name="searchkey" value="标题" />
- <input type="hidden" name="searchname" id="searchname" value="subject" />
- <input type="submit" class="input_search" name="authorsearchbtn" value="搜索" /><br />
- <input type="hidden" value="news" name="type">
- <input type="hidden" name="authorsearch" value="true" />
- </form>
- </div>
- <div id="searchlist_2" class="normal">
- <form action="/xl/batch.search.php" method="post">
- <input id="search2" onclick="javascript:searchtxt('search2')" type="text" class="input_tx" size="10" name="searchkey" value="内容" />
- <input type="hidden" name="searchname" id="searchname" value="message" />
- <input type="submit" class="input_search" name="searchbtn" value="搜索" /><br />
- <input type="hidden" value="news" name="type">
- <input type="hidden" name="subjectsearch" value="true" />
- </form>
-
- </div>
- <div id="searchlist_3" class="normal">
- <form action="/xl/batch.search.php" method="post">
- <input id="search3" onclick="javascript:searchtxt('search3')" type="text" class="input_tx" size="10" name="searchkey" value="作者" />
- <input type="hidden" name="searchname" id="searchname" value="author" />
- <input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
- <input type="hidden" value="news" name="type">
- <input type="hidden" name="messagesearch" value="true" />
- </form>
-
- </div>
-
- <div id="searchlist_3" class="normal">
- <form action="/xl/batch.search.php" method="post">
- <input id="search3" name="searchname value="请输入关键字" class="input_tx" size="10" onMouseOver="this.focus()"
- onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if
- (this.value=='请输入标题作者关键字') this.value=''">
- <input type="hidden" name="searchname" id="searchname" value="author" />
- <input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
- <input type="hidden" value="news" name="type">
- <input type="hidden" name="messagesearch" value="true" />
- </form>
- </div>
-
-
- <div id="searchlist_4" class="normal">
- <form name="search_form" target="_blank" id="search_form" onsubmit="return gowhere(this)">
- <input id="word" name="word" value="请输入关键字" class="input_tx" size="10" onMouseOver="this.focus()"
- onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if
- (this.value=='请输入关键字') this.value=''">
- <input type="submit" class="input_search" name="_si" id="_si" name="authorsearchbtn" value="搜索" />
- <br />
- </form>
- </div>
- <div id="searchlist_5" class="normal">
- <!-- Search Google -->
- <center>
- <script type="text/javascript"><!--
- google_ad_client = "pub-6429042836473374";
- google_ad_format = "js_sdo";
- google_searchbox_width = 160;
- google_searchbox_height = 25;
- google_link_target = 2;
- google_ad_height = 25;
- google_ad_width = 250;
- //-->
- </script>
- <script type="text/javascript"
- src="http://pagead2.googlesyndication.com/pagead/show_sdo.js">
- </script>
- </center>
- <!-- Search Google -->
- </div>
- </div>
- <div class="fyb">
- <script type='text/javascript' src='http://unstat.baidu.com/code/js/fyb_1.js'></script>
- <script type='text/javascript' src='/js/baidu2.js'></script></div>
- </div>
复制代码- <div class="box_r col_350 nl_for_sides" style="height:200px;">
- <div class="search_bar">
- <h3>快速搜索</h3>
- <ul id="tab_search">
- <li class="current"><em onclick="secBoard('tab_search','searchlist',1)">标题</em></li>
- <li class="normal"><em onclick="secBoard('tab_search','searchlist',2)">内容</em></li>
- <li class="normal"><em onclick="secBoard('tab_search','searchlist',3)">作者</em></li>
- <li class="normal"><em onclick="secBoard('tab_search','searchlist',4)">百度</em></li>
- <li class="normal"><em onclick="secBoard('tab_search','searchlist',5)">Google</em></li>
- </ul>
- <div class="search_list" style="height:200px;">
- <div id="searchlist_1" class="current">
- <form action="/batch.search.php" method="post">
- <input id="search1" onclick="javascript:searchtxt('search1')" type="text" class="input_tx" size="12" name="searchkey" value="标题" />
- <input type="hidden" name="searchname" id="searchname" value="subject" />
- <input type="submit" class="input_search" name="authorsearchbtn" value="搜索" /><br />
- <input type="hidden" value="news" name="type">
- <input type="hidden" name="authorsearch" value="true" />
- </form>
- </div>
- <div id="searchlist_2" class="normal">
- <form action="/batch.search.php" method="post">
- <input id="search2" onclick="javascript:searchtxt('search2')" type="text" class="input_tx" size="12" name="searchkey" value="内容" />
- <input type="hidden" name="searchname" id="searchname" value="message" />
- <input type="submit" class="input_search" name="searchbtn" value="搜索" /><br />
- <input type="hidden" value="news" name="type">
- <input type="hidden" name="subjectsearch" value="true" />
- </form>
- </div>
- <div id="searchlist_3" class="normal">
- <form action="/batch.search.php" method="post">
- <input id="search3" onclick="javascript:searchtxt('search3')" type="text" class="input_tx" size="12" name="searchkey" value="作者" />
- <input type="hidden" name="searchname" id="searchname" value="author" />
- <input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
- <input type="hidden" value="news" name="type">
- <input type="hidden" name="messagesearch" value="true" />
- </form>
- </div>
- <div id="searchlist_3" class="normal">
- <form action="/batch.search.php" method="post">
- <input id="search3" name="searchname value="请输入关键字" class="input_tx" size="12" onMouseOver="this.focus()"
- onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if
- (this.value=='请输入标题作者关键字') this.value=''">
- <input type="hidden" name="searchname" id="searchname" value="author" />
- <input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
- <input type="hidden" value="news" name="type">
- <input type="hidden" name="messagesearch" value="true" />
- </form>
- </div>
- <script type='text/javascript' src='http://unstat.baidu.com/code/js/fyb_1.js'></script>
- <div id="searchlist_4" class="normal">
- <form name="search_form" target="_blank" id="search_form" onsubmit="return gowhere(this)">
- <input id="word" name="word" value="请输入关键字" class="input_tx" size="12" onMouseOver="this.focus()"
- onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if
- (this.value=='请输入关键字') this.value=''">
- <input type="submit" class="input_search" name="_si" id="_si" name="authorsearchbtn" value="搜索" />
- </form>
- </div>
- <div id="searchlist_5" class="normal">
- <!-- Search Google -->
- <center>
- <script type="text/javascript"><!--
- google_ad_client = "pub-6429042836473374";
- google_ad_format = "js_sdo";
- google_searchbox_width = 160;
- google_searchbox_height = 25;
- google_link_target = 2;
- google_ad_height = 25;
- google_ad_width = 250;
- //-->
- </script>
- <script type="text/javascript"
- src="http://pagead2.googlesyndication.com/pagead/show_sdo.js">
- </script>
- </center>
- <!-- Search Google -->
- </div>
- <script type='text/javascript' src='/js/baidu2.js'></script>
- </div>
- </div>
复制代码 将baidu2.js上传到网站根目录js文件夹下 |