请问个有关问题关于上拉框
请教个问题关于下拉框
我的搜索页现在是这样的代码,下拉框里面可以选检索标题和智能模糊,我想把这个下拉框改成百度那样点的,就像 新闻 网页 贴吧 知道 mp3。请高手帮帮忙!
<div class="search">
<form name="formsearch" action="/plus/search.php">
<div class="form">
<h4>搜索</h4>
<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>
</div>
</form>
<div class="tags">
<h4>热门标签:</h4>
<ul>
</ul>
</div>
</div>
------解决方案--------------------
我的搜索页现在是这样的代码,下拉框里面可以选检索标题和智能模糊,我想把这个下拉框改成百度那样点的,就像 新闻 网页 贴吧 知道 mp3。请高手帮帮忙!
<div class="search">
<form name="formsearch" action="/plus/search.php">
<div class="form">
<h4>搜索</h4>
<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>
</div>
</form>
<div class="tags">
<h4>热门标签:</h4>
<ul>
</ul>
</div>
</div>
------解决方案--------------------
- HTML code
<!Doctype html> <html xmlns=http://www.w3.org/1999/xhtml xmlns:bd=http://www.baidu.com/2010/xbdml> <head> <meta http-equiv=Content-Type content="text/html;charset=utf-8"><meta http-equiv=X-UA-Compatible content=IE=EmulateIE7> <title>百度一下,你就知道 </title> <script> var wpo={start:new Date*1,pid:109,page:'superpage'} </script> <link rel="stylesheet" type="text/css" href="http://su.bdimg.com/static/superpage/css/superbase_d98e95e8.css" /> <link rel="stylesheet" type="text/css" href="http://su.bdimg.com/static/superpage/css/superpage_df98fc7f.css" /> <script>wpo.head=new Date*1; </script> </head> <body> <script> var S=S||{}; S.Mod=S.Mod||{stopMousedown: function(){},delClick:function(){},toggleAdd:function(){}} </script> <center> <p id=nv> <a href=#>新闻</a><b>网页</b> <a href=#>贴吧</a><a href=#>知道</a> <a href=#>MP3</a><a href=#>图片</a> <a href=#>视频</a><a href=#>地图</a> <a href=#>百科</a><a style="font-family: \5b8b\4f53;" href=#/>更多>></a></p> <div id=fm><form name=f action=# onsubmit="S.Common.stat('searchSubmit');"> <input name=wd id=kw maxlength=100 style="width:444px;"> <input type=hidden name=rsv_spt value=1><input type=hidden name=rsv_bp value=0> <input type=hidden name=ie value=utf-8><input type=hidden name=tn value=baiduhome_pg ><span class=btn_wr> <input type=submit value="百度一下" id=su class=btn onmousedown="this.className='btn btn_h'" onmouseout="this.className='btn'"> </span> </center>