Team:Valencia UPV/Modeling/gene expresion

From 2014.igem.org

(Difference between revisions)
Line 2: Line 2:
{{:Team:Valencia_UPV/javascript}}
{{:Team:Valencia_UPV/javascript}}
<html>
<html>
-
<style>
+
<script>
-
 
+
jQuery(document).ready(function() {
-
</style>
+
    jQuery('.tabs .tab-links a').on('click', function(e)  {
 +
        var currentAttrValue = jQuery(this).attr('href');
 +
 +
        // Show/Hide Tabs
 +
        jQuery('.tabs ' + currentAttrValue).siblings().slideUp(400);
 +
jQuery('.tabs ' + currentAttrValue).delay(400).slideDown(400);
 +
 +
        // Change/remove current tab to active
 +
        jQuery(this).parent('li').addClass('active').siblings().removeClass('active');
 +
 +
        e.preventDefault();
 +
    });
 +
});
 +
</script>
<div class="tab-content">
<div class="tab-content">
Line 27: Line 40:
     </div>
     </div>
</div>
</div>
-
 
-
<script>
 
-
jQuery(document).ready(function() {
 
-
    jQuery('.tabs .tab-links a').on('click', function(e)  {
 
-
        var currentAttrValue = jQuery(this).attr('href');
 
-
 
-
        // Show/Hide Tabs
 
-
        jQuery('.tabs ' + currentAttrValue).siblings().slideUp(400);
 
-
jQuery('.tabs ' + currentAttrValue).delay(400).slideDown(400);
 
-
 
-
        // Change/remove current tab to active
 
-
        jQuery(this).parent('li').addClass('active').siblings().removeClass('active');
 
-
 
-
        e.preventDefault();
 
-
    });
 
-
});
 
-
</script>
 
</html>
</html>
{{:Team:Valencia_UPV/footer_img}}
{{:Team:Valencia_UPV/footer_img}}

Revision as of 17:54, 13 September 2014

Tab #1 content goes here!

Donec pulvinar neque sed semper lacinia. Curabitur lacinia ullamcorper nibh; quis imperdiet velit eleifend ac. Donec blandit mauris eget aliquet lacinia! Donec pulvinar massa interdum risus ornare mollis.

Tab #2 content goes here!

Donec pulvinar neque sed semper lacinia. Curabitur lacinia ullamcorper nibh; quis imperdiet velit eleifend ac. Donec blandit mauris eget aliquet lacinia! Donec pulvinar massa interdum risus ornare mollis. In hac habitasse platea dictumst. Ut euismod tempus hendrerit. Morbi ut adipiscing nisi. Etiam rutrum sodales gravida! Aliquam tellus orci, iaculis vel.

Tab #3 content goes here!

Donec pulvinar neque sed semper lacinia. Curabitur lacinia ullamcorper nibh; quis imperdiet velit eleifend ac. Donec blandit mauris eget aliquet lacinia! Donec pulvinar massa interdum ri.

Tab #4 content goes here!

Donec pulvinar neque sed semper lacinia. Curabitur lacinia ullamcorper nibh; quis imperdiet velit eleifend ac. Donec blandit mauris eget aliquet lacinia! Donec pulvinar massa interdum risus ornare mollis. In hac habitasse platea dictumst. Ut euismod tempus hendrerit. Morbi ut adipiscing nisi. Etiam rutrum sodales gravida! Aliquam tellus orci, iaculis vel.