Line 603: | Line 603: | ||
</div> | </div> | ||
− | <div | + | <div class="cont s--inactive"> |
<!-- cont inner start --> | <!-- cont inner start --> | ||
Line 813: | Line 813: | ||
</div> | </div> | ||
<script> | <script> | ||
− | + | var $cont = document.querySelector('.cont'); | |
+ | var $elsArr = [].slice.call(document.querySelectorAll('.el')); | ||
+ | var $closeBtnsArr = [].slice.call(document.querySelectorAll('.el__close-btn')); | ||
− | + | setTimeout(function() { | |
− | + | $cont.classList.remove('s--inactive'); | |
− | + | }, 200); | |
− | + | $elsArr.forEach(function($el) { | |
− | + | $el.addEventListener('click', function() { | |
− | + | if (this.classList.contains('s--active')) return; | |
+ | $cont.classList.add('s--el-active'); | ||
+ | this.classList.add('s--active'); | ||
+ | }); | ||
+ | }); | ||
− | + | $closeBtnsArr.forEach(function($btn) { | |
− | + | $btn.addEventListener('click', function(e) { | |
− | + | e.stopPropagation(); | |
− | + | $cont.classList.remove('s--el-active'); | |
− | + | document.querySelector('.el.s--active').classList.remove('s--active'); | |
− | + | }); | |
− | + | }); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
$(function() { | $(function() { | ||
Line 846: | Line 844: | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}); | }); | ||
+ | |||
</script> | </script> |
Revision as of 23:15, 20 September 2017
KU Leuven
HEKcite
1
Project
Inspired by the heart
We drew our inspiration from the versatility and robustness of the heart. It beats continuously over the years, rapidly adapting its pace when necessary.
2
Research
Creation of the Rhythm
Given our knowledge about heart currents, we hypothesized it would be possible to recreate a steady rhythm in a non-excitable cell using only three ion channels.
3
Application
Biosensing
Finally, we aim to influence the pace by varying concentrations of biological effectors. Our main focus is establishing a new form of therapeutic drug monitoring.
4
Contact
Contact
5