Team:Northwestern/Notebook
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
{{CSS/Main}} | {{CSS/Main}} | ||
{{:Team:Northwestern/Templates/readmore}} | {{:Team:Northwestern/Templates/readmore}} | ||
- | + | ||
- | + | ||
Line 12: | Line 11: | ||
<!--main content --> | <!--main content --> | ||
<table width="70%" align="center"> | <table width="70%" align="center"> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(function( $ ) { | ||
+ | |||
+ | //Hide (Collapse) the toggle containers on load | ||
+ | $(".toggle_container").hide(); | ||
+ | //Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state) | ||
+ | $("p.trigger").click(function(){ | ||
+ | $(this).toggleClass("activeToggle"); | ||
+ | var nextElem = $(this).next(); | ||
+ | while(nextElem!= null) { | ||
+ | if(!nextElem.is(".toggle_container")) { | ||
+ | nextElem = nextElem.next(); | ||
+ | } | ||
+ | else { | ||
+ | break; | ||
+ | } | ||
+ | } | ||
+ | if(nextElem.is(".toggle_container")) { | ||
+ | nextElem.slideToggle("slow"); | ||
+ | } | ||
+ | return false; //Prevent the browser jump to the link anchor | ||
+ | }); | ||
+ | $("a.toggle_close").click(function(){ | ||
+ | var nextParent = $(this).parent(); | ||
+ | while(nextParent!= null) { | ||
+ | if(!nextParent.is(".toggle_container")) { | ||
+ | nextParent = nextParent.parent(); | ||
+ | } | ||
+ | else { | ||
+ | break; | ||
+ | } | ||
+ | } | ||
+ | if(nextParent.is(".toggle_container")) { | ||
+ | nextParent.slideToggle("slow"); | ||
+ | var prevElem = nextParent.prev(); | ||
+ | while(prevElem!= null) { | ||
+ | if(!prevElem.is("p.trigger")) { | ||
+ | prevElem = prevElem.prev(); | ||
+ | } | ||
+ | else { | ||
+ | break; | ||
+ | } | ||
+ | } | ||
+ | if(prevElem.is("p.trigger")) { | ||
+ | prevElem.toggleClass("activeToggle"); | ||
+ | } | ||
+ | } | ||
+ | return false; //Prevent the browser jump to the link anchor | ||
+ | }); | ||
+ | } ); | ||
+ | </script> | ||
<div>{{:Team:Northwestern/Templates/readmore_start | text=Read more}} | <div>{{:Team:Northwestern/Templates/readmore_start | text=Read more}} |
Revision as of 22:37, 19 June 2014
WELCOME TO iGEM 2014!Your team has been approved and you are ready to start the iGEM season!
|
||||||||||||
| ||||||||||||
Notebook | ||||||||||||
You should make use of the calendar feature on the wiki and start a lab notebook. This may be looked at by the judges to see how your work progressed throughout the summer. It is a very useful organizational tool as well. |