L1® Model 1S FAQ: Difference between revisions
mNo edit summary |
m ST moved page L1® Model 1S FAQ to L1® Model 1S FAQ |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
h3 { | h3 { | ||
font-size:small; | font-size:small; | ||
font-weight: | font-weight: 500; | ||
cursor: hand; | cursor: hand; | ||
cursor: pointer; | cursor: pointer; | ||
color: # | color: #405D6B; | ||
} | } | ||
| Line 35: | Line 35: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$("#hideAll").prop("disabled", | $("#hideAll").prop("disabled", true); | ||
// hide all sub details. | // hide all sub details. | ||
| Line 53: | Line 53: | ||
$("h3").addClass("open") | $("h3").addClass("open") | ||
.next().show(); | .next().show(); | ||
$(this).prop("disabled") | $(this).prop("disabled", true) | ||
$("#hideAll"). | $("#hideAll").prop("disabled",false); | ||
}); | }); | ||
$("#hideAll").click(function(event){ | $("#hideAll").click(function(event){ | ||
$("h3").addClass("closed") | $("h3").addClass("closed") | ||
.next().hide(); | .next().hide(); | ||
$(this).prop("disabled") | $(this).prop("disabled",true) | ||
$("#showAll"). | $("#showAll").prop("disabled", false); | ||
}); | }); | ||
| Line 72: | Line 72: | ||
</script> | </script> | ||
<div id="page_content"> | <div id="page_content"> | ||
<button id="showAll">Show All</button><button id="hideAll">Hide All</button> | <button id="showAll">Show All</button><button id="hideAll">Hide All</button> | ||
<div class="faq" id="tree_view"> | <div class="faq" id="tree_view"> | ||