澳门新浦京app下载jquery实现多条件筛选特效代码分享,jquery特效代码

为大家分享的JS时间特效代码如下

jquery实现多条件筛选特效代码分享,jquery特效代码

本文实例讲述了jquery实现多条件筛选特效。分享给大家供大家参考。具体如下:
jquery实现的多条件搜索表单带日期选择表格表单效果源码,是一段实现了多个条件筛选搜索的特效代码,多条件拥有时间、地点、酒店位置及酒店名称等选项,同时在时间的输入表格中拥有时间选择功能,是一款非常实用的特效代码,值得大家学习。
运行效果图:                        ——————-查看效果
下载源码——————-

澳门新浦京app下载 1

小提示:浏览器中如果不能正常运行,可以尝试切换浏览模式。
为大家分享的jquery实现多条件筛选特效代码如下

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>jquery多条件搜索表单带日期选择表格表单代码</title>
<link rel="stylesheet" type="text/css" href="style/list.css"/>
<link rel="stylesheet" type="text/css" href="style/manhuaDate.1.0.css"/>
<script type="text/javascript" src="JS/jquery-1.5.1.js"></script><!--日期控件,JS库版本不能过高否则tab会失效-->
<script type="text/javascript" src="JS/datejs.js"></script>
<script type="text/javascript" src="JS/ui.tab.js"></script>
<script type="text/javascript">
$(document).ready(function(){
 var tab = new $.fn.tab({
 tabList:"#demo1 .ui-tab-container .ui-tab-list li",
 contentList:"#demo1 .ui-tab-container .ui-tab-content"
 });
 var tab = new $.fn.tab({
 tabList:"#demo1 .ui-tab-container .ui-tab-list2 li",
 contentList:"#demo1 .ui-tab-container .ui-tab-content2"
 }); 
}); 
</script>
<script type="text/javascript">
$(function (){
 $("input.mh_date").datejs({      
 Event : "click",//可选      
 Left : 0,//弹出时间停靠的左边位置
 Top : -16,//弹出时间停靠的顶部边位置
 fuhao : "-",//日期连接符默认为-
 isTime : false,//是否开启时间值默认为false
 beginY : 2010,//年份的开始默认为1949
 endY :2015//年份的结束默认为2049
 });

});
</script>
<script type="text/javascript">
         $(document).ready(function(e) {
            $("#selectList").find(".more").toggle(function(){
    $(this).addClass("more_bg");
    $(".more-none").show()
          },function(){
   $(this).removeClass("more_bg");
   $(".more-none").hide()
   });
   });
        </script>
<script type="text/javascript">
   $(document).ready(function(){
  var taboy_box=$(".lefttable-list");
  taboy_box.children("tbody").find("tr:gt(2)").hide(); 
  $(".leftbox-morea").toggle(function(){
  $(this).parent().prev().find("tr").show();
  $(this).addClass("more-i")
  },function(){
  $(this).removeClass("more-i");
  $(this).parent().prev().children("tbody").find("tr:gt(2)").hide(); 
  }
  );
 });
  </script>
</head>

<body>
<br>
<div class="w1200">
 <div class="list-screen">
  <div class="screen-top" style="position:relative;">目的地<input id="txtadress" type="text"/>入住<input type="text" class="mh_date" readonly="true" />退房<input type="text" class="mh_date" readonly="true" />酒店位置<input type="text" class="ju-adress" />酒店名称<input type="text" class="ju-name" /><a href="#" id="submit-btn"/>搜索</a></div>
  <div style="padding:10px 30px 10px 10px;"><div class="screen-address">
   <div class="list-tab">
    <div id="demo1" class="clearfix">
     <div class="jiud-name">酒店位置</div>
     <div class="ui-tab-container">
      <ul class="clearfix ui-tab-list">
       <li class="ui-tab-active">景点</li>
       <li>交通枢纽</li>
       <li>地铁周边</li>
       <li>行政区</li>
      </ul>
      <div class="ui-tab-bd">
       <div class="ui-tab-content clearfix">
         <ul class="clearfix ui-tab-list2">
           <li class="ui-tab-active">景点</li>
           <li>交通枢纽</li>
          </ul>
          <div class="ui-tab-bd">
         <div class="ui-tab-content2 clearfix"><p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          琶洲展馆</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          淘金/环市东 </label>
        </p></div>
            <div class="ui-tab-content2 clearfix" style="display:none">22222</div>
          </div>
       </div>
       <div class="ui-tab-content clearfix" style="display:none">
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          琶洲展馆</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          淘金/环市东 </label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          广州东站/天河北</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          北京路/海珠广场</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          珠江新城/跑马场 </label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          长隆景区/广州南站</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          沙面/上下九步行</label>
        </p>
       </div>
       <div class="ui-tab-content clearfix" style="display:none">
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          琶洲展馆</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          淘金/环市东 </label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          广州东站/天河北</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          北京路/海珠广场</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          珠江新城/跑马场 </label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          长隆景区/广州南站</label>
        </p>
        <p>
         <label>
          <input name="tabrad1" type="radio" value="" />
          沙面/上下九步行</label>
        </p>
       </div>
       <div class="ui-tab-content clearfix" style="display:none">
        <p>
         <input name="tabrad1" type="radio" value="" />
         琶洲展馆</p>
        <p>
         <input name="tabrad1" type="radio" value="" />
         淘金/环市东 </p>
        <p>
         <input name="tabrad1" type="radio" value="" />
         广州东站/天河北</p>
        <p>
         <input name="tabrad1" type="radio" value="" />
         北京路/海珠广场</p>
        <p>
         <input name="tabrad1" type="radio" value="" />
         珠江新城/跑马场 </p>
        <p>
         <input name="tabrad1" type="radio" value="" />
         长隆景区/广州南站</p>
        <p>
         <input name="tabrad1" type="radio" value="" />
         沙面/上下九步行</p>
       </div>
      </div>
     </div>
    </div>
   </div>
  </div>
  <div class="screen-term">
   <div class="selectNumberScreen">
    <div id="selectList" class="screenBox screenBackground">
     <dl class="listIndex" attr="价格范围">
      <dt>酒店价格</dt>
      <dd>
       <label><a href="javascript:;" values2="" values1="" attrval="不限">不限</a></label>
       <label>
        <input name="radio2" type="radio" value="" />
        <a href="javascript:;" values2="99" values1="1" attrval="1-99">100元以下</a></label>
       <label>
        <input name="radio2" type="radio" value="" />
        <a href="javascript:;" values2="300" values1="100" attrval="100-300">100-300元 </a></label>
       <label>
        <input name="radio2" type="radio" value="" />
        <a href="javascript:;" values2="600" values1="300" attrval="300-600">300-600元</a></label>
       <label>
        <input name="radio2" type="radio" value="" />
        <a href="javascript:;" values2="1500" values1="600" attrval="5000以上">600-1500元</a></label>
       <div class="custom">自定义 
        <input name="" type="text" id="custext1"/>
         - 
        <input name="" type="text" id="custext2"/>
        <input name="" type="button" id="cusbtn"/>
       </div>
      </dd>
     </dl>
     <dl class=" listIndex" attr="terminal_os_s">
      <dt>酒店星级</dt>
      <dd>
       <label><a href="javascript:;" values2="" values1="" attrval="不限">不限</a> </label>
       <label>
        <input name="checkbox2" type="checkbox" value="" autocomplete="off"/>
        <a href="javascript:;" values2="" values1="" attrval="android"> 五星/豪华</a> </label>
       <label>
        <input name="checkbox2" type="checkbox" value="" autocomplete="off"/>
        <a href="javascript:;" values2="" values1="" attrval="symbian">四星/高档</a></label>
       <label>
        <input name="checkbox2" type="checkbox" value="" autocomplete="off"/>
        <a href="javascript:;" values2="" values1="" attrval="百度易平台">三星/舒适</a></label>
      </dd>
     </dl>
     <dl class="listIndex" attr="terminal_brand_s">
      <dt>主题风格</dt>
      <dd data-more=true>
       <label><a href="javascript:;" values2="" values1="" attrval="不限">不限</a></label>
       <label>
        <input name="checkbox2" type="checkbox" value="" autocomplete="off"/>
        <a href="javascript:;" values2="" values1="" attrval="小米">客栈</a></label>
       <label>
        <input name="checkbox2" type="checkbox" value="" autocomplete="off"/>
        <a href="javascript:;" values2="" values1="" attrval="华为">精品酒店</a> </label>
       <label>
        <input name="checkbox2" type="checkbox" value="" autocomplete="off"/>
        <a href="javascript:;" values2="" values1="" attrval="lenovo">情侣酒店</a> </label>
       <label>
        <input name="checkbox2" type="checkbox" value="" autocomplete="off"/>
        <a href="javascript:;" values2="" values1="" attrval="zte中兴">园林庭院</a></label>
        <em class="open"></em>更多
        </dd> 
     </dl>
     <dl class="listIndex more-none" attr="terminal_brand_s" style="display:none;border:none">
      <dt style='visibility:hidden'>主题风格</dt>
      <dd >
       <label style='visibility:hidden'><a href="javascript:;" values2="" values1="" attrval="不限">不限</a></label>
       <form action="" method="get"> 
         <label><input name="checkbox2" type="checkbox" value="" /><a href="javascript:;" values2="" values1="" attrval="华为">精品酒店2</a></label>
         <label><input name="checkbox2" type="checkbox" value="" /><a href="javascript:;" values2="" values1="" attrval="华为">精品酒店3</a> </label> 
         <label><input name="checkbox2" type="checkbox" value="" /><a href="javascript:;" values2="" values1="" attrval="华为">精品酒店4</a> </label> 
        </form> 
     </dl>
    </div>
   </div>  
  </div>

  </div>

  <div class="hasBeenSelected clearfix"><font>208</font>家酒店
     <div style="float:right;" class="eliminateCriteria">【清空全部】 </div>
     <dl>
      <dt>已选条件:</dt>
      <dd style="DISPLAY: none" class=clearDd>
       <div class=clearList></div>
     </dl>
    </div>
   <script type="text/javascript" src="JS/shaixuan.js"></script> 
 </div>
</div>
</body>
</html>

以上就是为大家分享的jquery实现多条件筛选特效代码,希望大家可以喜欢。

本文实例讲述了jquery实现多条件筛选特效。分享给大家供大家参考。具体如下:
jquery实…

headtitle3个最常用的JS时间特效/title/headbodytable width="298" border="0" cellspacing="0" cellpadding="0" tr td height="50" bgcolor="#f4f4f4"script language=JavaScript!--var enabled = 0; today = new Date();var day; var date;if(today.getDay()==0) day = " 星期日"if(today.getDay()==1) day = " 星期一"if(today.getDay()==2) day = " 星期二"if(today.getDay()==3) day = " 星期三"if(today.getDay()==4) day = " 星期四"if(today.getDay()==5) day = " 星期五"if(today.getDay()==6) day = " 星期六"document.fgColor = "000000";date = "今天是:" + (today.getYear()) + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日" + day +"";document.write(date);// --/script/td /tr tr td height="50" div /div scriptsetInterval("webjx.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000); /script/td /tr tr td height="50" bgcolor="#f4f4f4" span id=nowDate/span span id=nowTime/span script!--var ns4up1 = (document.layers)  1 : 0; // browser sniffervar ie4up1 = (document.all&&(navigator.appVersion.indexOf("MSIE 4") == -1))  1 : 0;var ns6up1 = (document.getElementById&&!document.all)  1 : 0;function nowclock() {if (!ns4up1 && !ie4up1 && !ns6up1) return false;var digital = new Date();var hours = digital.getHours();var minutes = digital.getMinutes();var seconds = digital.getSeconds();var day = digital.getDate();var month = digital.getMonth() + 1;var year = digital.getYear();var amOrPm = "AM";if (hours  11) amOrPm = "PM";if (hours  12) hours = hours - 12;if (hours == 0) hours = 12;if (minutes  10) minutes = "0" + minutes;if (seconds  10) seconds = "0" + seconds;if (day  10) day = "0" + day;if (month  10) month = "0" + month;dispTime = hours + ":" + minutes + ":" + seconds + " " + amOrPm;dispDate = year + "年" + month + "月" + day+ "日, " ;if (ns4up1) {document.layers.nowTime.document.write(dispTime);document.layers.nowTime.document.close();document.layers.nowDate.document.write(dispDate);document.layers.nowDate.document.close();} else if (ns6up1){document.getElementById("nowTime").innerHTML = dispTime;document.getElementById("nowDate").innerHTML = dispDate;} else if (ie4up1){nowTime.innerHTML = dispTime;nowDate.innerHTML = dispDate;} setTimeout("nowclock()", 1000);} nowclock();//-- /script/td /tr/table/body/html

复制上面代码,直接运行即可得到下面的效果:

以上就是为大家分享的JavaScript时间特效代码,希望大家可以喜欢。

You can leave a response, or trackback from your own site.

Leave a Reply

网站地图xml地图