Line 81: | Line 81: | ||
<div> | <div> | ||
<h2>Title</h2> | <h2>Title</h2> | ||
− | <form> | + | <form class="engine"> |
− | <p>Temperature</p> | + | <p>Choose Temperature First:</p> |
<select id="attr1" name="library"> | <select id="attr1" name="library"> | ||
<option value="v1-0">Temperature</option> | <option value="v1-0">Temperature</option> | ||
Line 92: | Line 92: | ||
<option value="v1-6">40+</option> | <option value="v1-6">40+</option> | ||
</select> | </select> | ||
− | <p>Intensity</p> | + | <p>Then is Intensity</p> |
<select id="attr2" name=""> | <select id="attr2" name=""> | ||
<option value="v2-0">Intensity</option> | <option value="v2-0">Intensity</option> | ||
Line 100: | Line 100: | ||
<option value="v2-4">15+</option> | <option value="v2-4">15+</option> | ||
</select> | </select> | ||
− | <p>Sensitivity</p> | + | <p>Next is Sensitivity</p> |
<select id="attr3" name=""> | <select id="attr3" name=""> | ||
− | <option value=" | + | <option value="v3-0">Sensitivity</option> |
<option value="v3-1">1<</option> | <option value="v3-1">1<</option> | ||
<option value="v3-2">1></option> | <option value="v3-2">1></option> | ||
</select> | </select> | ||
+ | <p>And Click ↓</p> | ||
<input type="button" value="Look Up!" onClick="findItem()" /> | <input type="button" value="Look Up!" onClick="findItem()" /> | ||
− | <input type="reset" value="Reset" /> | + | <input type="reset" value="Reset" onClick="resetItem()" /> |
</form> | </form> | ||
<style> | <style> | ||
Line 123: | Line 124: | ||
margin:1rem; | margin:1rem; | ||
} | } | ||
+ | |||
select:not(#attr1) option{ | select:not(#attr1) option{ | ||
display:none; | display:none; | ||
Line 128: | Line 130: | ||
select option{ | select option{ | ||
height:3rem; | height:3rem; | ||
+ | } | ||
+ | select option[value="v2-0"],select option[value="v3-0"]{ | ||
+ | display: block !important; | ||
+ | } | ||
+ | .engine input{ | ||
+ | width:10rem; | ||
+ | height: 3rem; | ||
+ | margin:1rem; | ||
} | } | ||
</style> | </style> | ||
Line 228: | Line 238: | ||
if($(this).hasClass(ca1) || $(this).hasClass("v1-0")){ | if($(this).hasClass(ca1) || $(this).hasClass("v1-0")){ | ||
if($(this).hasClass(ca2) || $(this).hasClass("v2-0")){ | if($(this).hasClass(ca2) || $(this).hasClass("v2-0")){ | ||
− | if($(this).hasClass( | + | if($(this).hasClass(ca3) || $(this).hasClass("v3-0")){ |
$(this).css("display","block"); | $(this).css("display","block"); | ||
} | } | ||
Line 250: | Line 260: | ||
}); | }); | ||
} | } | ||
− | + | function resetItem(){ | |
+ | $(".datas > .item").css("display","none"); | ||
+ | } | ||
</script> | </script> | ||
</div> | </div> |
Revision as of 12:18, 16 October 2018
Toolkits Design
-
-
Title
-
Title
BBa_K2541001BBa_K2541002BBa_K2541003BBa_K2541004BBa_K2541005BBa_K2541006BBa_K2541007BBa_K2541008BBa_K2541009BBa_K2541010BBa_K2541011BBa_K2541012BBa_K2541013BBa_K2541014BBa_K2541015BBa_K2541016BBa_K2541017BBa_K2541018BBa_K2541019BBa_K2541020BBa_K2541021BBa_K2541025BBa_K2541026BBa_K2541027BBa_K2541028BBa_K2541029BBa_K2541030BBa_K2541031BBa_K2541032BBa_K2541033BBa_K2541034BBa_K2541035BBa_K2541036BBa_K2541037BBa_K2541038BBa_K2541039BBa_K2541040BBa_K2541041BBa_K2541042BBa_K2541043BBa_K2541044BBa_K2541045BBa_K2541046BBa_K2541047BBa_K2541048BBa_K2541049BBa_K2541050BBa_K2541051