Line 22: | Line 22: | ||
<input id="checked_1" type="checkbox" class="switch" /> | <input id="checked_1" type="checkbox" class="switch" /> | ||
</div> | </div> | ||
− | + | <script type="text/javascript"> | |
+ | $(document).ready(function(){ | ||
+ | $("#checked_1").click(function(){ | ||
+ | if($(this).is(':checked')){ | ||
+ | $(".hot-induced").addClass("svg_checked"); | ||
+ | }else{ | ||
+ | $(".hot-induced").removeClass("svg_checked"); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
<svg class="hot-induced" xmlns="http://www.w3.org/2000/svg" width="599.75" height="278.7" viewBox="0 0 599.75 278.7"> | <svg class="hot-induced" xmlns="http://www.w3.org/2000/svg" width="599.75" height="278.7" viewBox="0 0 599.75 278.7"> | ||
<defs> | <defs> | ||
Line 191: | Line 201: | ||
</g> | </g> | ||
</svg> | </svg> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
<div class="stem-loop"> | <div class="stem-loop"> |
Revision as of 07:57, 26 September 2018