Team:British Columbia/Teamtest

From 2014.igem.org

(Difference between revisions)
 
Line 993: Line 993:
           </div>
           </div>
           <!-- Modal Raphael R ends -->
           <!-- Modal Raphael R ends -->
 +
 +
<script>
 +
 +
jQuery(document).ready(function($){
 +
//open the lateral panel
 +
$('.cd-btn').on('click', function(event){
 +
event.preventDefault();
 +
$('.cd-panel').addClass('is-visible');
 +
});
 +
//clode the lateral panel
 +
$('.cd-panel').on('click', function(event){
 +
if( $(event.target).is('.cd-panel') || $(event.target).is('.cd-panel-close') ) {
 +
$('.cd-panel').removeClass('is-visible');
 +
event.preventDefault();
 +
}
 +
});
 +
});
 +
 +
</script>
 +
</html>
</html>
{{:Team:British Columbia/Templates/Footer}}
{{:Team:British Columbia/Templates/Footer}}

Latest revision as of 21:04, 17 October 2014

2014 UBC iGEM

Title Goes Here

Close

© 2014 UBC iGEM