分類
<!--彈出框樣式--> <link href="css/style.css" rel="stylesheet" type="text/css"/> <!--布局代碼,可無(wú)視--> <style> html,body{ width: 100%; height: 100%; margin: 0; padding: 0; } #div1{ width:280px; height:36px; border:1px solid #ddd; margin:20px; cursor:pointer; line-height:36px; padding:0 10px; } #div2{ width:280px; height:36px; border:1px solid #ddd; margin:20px; cursor:pointer; line-height:36px; padding:0 10px; } </style>
<!--jQuery框架--> <script src="js/jquery.min.js"></script> <!--時(shí)分選擇插件--> <script src="js/timePacker.js"></script>
<div>div容器</div> <div id="div1"></div> <div>input容器</div> <input type="text" id="div2"/> <!--調(diào)用方法--> <script> $("#div1").bind('click',function(event){timePacker($(this),event)}); // div框 $("#div2").bind('click',function(event){timePacker($(this),event)}); // input框 </script>
1. 本站所有素材(未指定商用),僅限學(xué)習(xí)交流。
2. 會(huì)員在本站下載的原創(chuàng)商用和VIP素材后,只擁有使用權(quán),著作權(quán)歸原作者及17素材網(wǎng)所有。
3. 原創(chuàng)商用和VIP素材,未經(jīng)合法授權(quán),請(qǐng)勿用于商業(yè)用途,會(huì)員不得以任何形式發(fā)布、傳播、復(fù)制、轉(zhuǎn)售該素材,否則一律封號(hào)處理。
4. 本平臺(tái)織夢(mèng)模板僅展示和個(gè)人非盈利用途,織夢(mèng)系統(tǒng)商業(yè)用途請(qǐng)預(yù)先授權(quán)。