Team:Valencia UPV/Modeling/gene expresion

From 2014.igem.org

(Difference between revisions)
 
(39 intermediate revisions not shown)
Line 1: Line 1:
{{:Team:Valencia_UPV/header}}
{{:Team:Valencia_UPV/header}}
 +
<html>
<html>
-
$('#overlay').width($(window).width()).height($(window).height());
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-
$(document).ready(function() {
+
<div align="center"><div id="cn-box" align="justify"></br>
-
  // cache the id
+
<div class="tabs">
-
  var navbox = $('#myTab');
+
    <ul class="tab-links">
-
  // activate tab on click
+
        <li class="active"><a href="#tab1">Tab #1</a></li>
-
  navbox.on('click', 'a', function (e) {
+
        <li><a href="#tab2">Tab #2</a></li>
-
      // add a hash to the URL when the user clicks on a tab
+
        <li><a href="#tab3">Tab #3</a></li>
-
      history.pushState(null, null, $(this).attr('href'));
+
        <li><a href="#tab4">Tab #4</a></li>
-
      var $this = $(this);
+
    </ul>
-
      // prevent the Default behavior
+
-
      e.preventDefault();
+
    <div class="tab-content">
-
      // set the hash to the address bar
+
        <div id="tab1" class="tab active">
-
      window.location.hash = $this.attr('href');
+
            <p>Tab #1 content goes here!</p>
-
      // activate the clicked tab
+
            <p>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.</p>
-
      $this.tab('show');
+
        </div>
-
      //return false;
+
-
  })
+
        <div id="tab2" class="tab">
 +
            <p>Tab #2 content goes here!</p>
 +
            <p>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.</p>
 +
        </div>
 +
 +
        <div id="tab3" class="tab">
 +
            <p>Tab #3 content goes here!</p>
 +
            <p>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.</p>
 +
        </div>
 +
 +
        <div id="tab4" class="tab">
 +
            <p>Tab #4 content goes here!</p>
 +
            <p>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.</p>
 +
        </div>
 +
    </div>
 +
</div>
-
  // if we have a hash in the address bar
+
</div>
-
  if(window.location.hash){
+
</br></br></div>
-
    // show right tab on load (read hash from address bar)
+
<div id="space-margin"></div>
-
    $('a[href="'+window.location.hash+'"]').tab('show');
+
-
  }
+
-
  // navigate to a tab when the history changes
+
<script>
-
  window.addEventListener("popstate", function(e) {
+
jQuery(document).ready(function() {
-
    var activeTab = $('[href=' + location.hash + ']');
+
    jQuery('.tabs .tab-links a').on('click', function(e) {
-
    if (activeTab.length) {
+
        var currentAttrValue = jQuery(this).attr('href');
-
        activeTab.tab('show');
+
-
    } else {
+
        // Show/Hide Tabs
-
         $('.nav-tabs a:first').tab('show');
+
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>
</script>
-
<ul class="nav nav-tabs" id="myTab">
+
 
-
    <li class="active"><a href="#Devices_Overview">Devices Overview</a></li>
+
-
    <li><a href="#Hardware">Hardware</a></li>
+
-
    <li><a href="#Software">Software</a></li>
+
-
            <li><a href="#Results">Results</a></li>
+
-
    </ul>
+
</html>
</html>
{{:Team:Valencia_UPV/footer_img}}
{{:Team:Valencia_UPV/footer_img}}

Latest revision as of 10:05, 14 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.