午夜dv内射一区二区,无码精品一区二区三区免费视频,天堂网www在线网,无码精品人妻一区二区三刘亦菲,特级欧美aaaaaaa免费观看

搜索框

——

打印本文             

網(wǎng)站模板制作中會遇到需要單獨搜索內(nèi)容的特殊要求,此時可使用以下搜索框代碼。



內(nèi)容搜索框:

<form name='search' action="<?php echo url('archive/search');?>" onsubmit="search_check();" method="post">
<input type="text" name="keyword" value="請輸入查詢信息" onfocus="if(this.value=='請輸入查詢信息') {this.value=''}" onblur="if(this.value=='') this.value='請輸入查詢信息'" class="s_text" />
<input name='submit' type="submit" value="" align="middle" class="s_btn" />
</form>


防偽碼搜索框:

<form name='search' action="<?php echo url('archive/ecodingsearch');?>" onsubmit="search_check();" method="post">
<input type="text" name="keyword" value="請輸入防偽碼查詢" onfocus="if(this.value=='請輸入防偽碼查詢') {this.value=''}" onblur="if(this.value=='') this.value='請輸入防偽碼查詢'" class="s_text" />
<input name='submit' type="submit" value="" align="middle" class="s_btn" />
</form>


郵件訂閱輸入框:

<form name="listform" id="listform"  action="<?php echo url('archive/email');?>" method="post">
<input type="text" name="email" id="email" value=" 請輸入訂閱郵箱 "  onfocus="if(this.value==' 請輸入訂閱郵箱 ') {this.value=''}" onblur="checkEmail(this)" class="s_text" /> 
<input type="submit" align="absmiple" name='submit' value=" " class="s_btn" />
</form>
上一篇會員模板結(jié)構(gòu)說明
下一篇增加自建模板標簽