|
|
(51 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
| {{Pasteur_Paris/MenuBlock}} | | {{Pasteur_Paris/MenuBlock}} |
| + | {{Pasteur_Paris/Vignettes}} |
| <html> | | <html> |
| <style type="text/css"> | | <style type="text/css"> |
| #runningchip { | | #runningchip { |
− | left: 245px; | + | left: 605px; |
| } | | } |
| #labwork_small { | | #labwork_small { |
| background-color: #292929; | | background-color: #292929; |
− | }
| + | } |
− | #banner {
| + | #bannerchanged{ |
− | background-image: ;
| + | width: 100%; |
− | }
| + | overflow: hidden; |
− | @media screen and (max-width: 760px) {
| + | margin: 0 auto; |
− | #banner {
| + | } |
− | background-image: ;
| + | @media screen and (max-width: 760px) { |
− | }
| + | /*#wrapper { |
− | </style>
| + | width: 100%; |
| + | overflow: hidden; |
| + | } |
| + | #container { |
| + | width: 100%; |
| + | margin: 0 auto; |
| + | }*/ |
| + | .banner-img { |
| + | width: 100%; |
| + | } |
| + | } |
| | | |
− | <style>
| + | </style> |
− | .vignette { /*element that contains ONE vignette*/
| + | |
− | height:20em;
| + | |
− | width:20em;
| + | |
− | margin:0;
| + | |
− | position:relative;
| + | |
− | display: inline-block;
| + | |
− | }
| + | |
− | .vignette_for { /*foreground part of the vignettes, gets transparent*/
| + | |
− | width: 15em;
| + | |
− | height: 16em;
| + | |
− | position:absolute;
| + | |
− | left:2.5em;
| + | |
− | top:2em;
| + | |
| | | |
− | z-index:2;
| + | <div id="bannerchanged"> |
− | border: 1px solid #333;
| + | <img class="banner-img" src="https://static.igem.org/mediawiki/2018/3/3e/T--Pasteur_Paris--Banner_Protocols.jpg"> |
− | border-radius:20px;
| + | </div> |
− | background-image: url("https://static.igem.org/mediawiki/2018/c/cd/T--Pasteur_Paris--Logo-Neuronarch_gradient.jpg");
| + | <h1></h1> |
− | background-size:100%;
| + | </div> |
− | | + | |
− | pointer-events:none;
| + | |
− | | + | |
− | -webkit-transition: opacity 0.7s;
| + | |
− | -moz-transition: opacity 0.7s;
| + | |
− | -o-transition: opacity 0.7s;
| + | |
− | transition: opacity 0.7s;
| + | |
− | }
| + | |
− | #for_0000 {
| + | |
− | background-image: url("https://static.igem.org/mediawiki/2018/a/aa/T--Pasteur_Paris--Logo-PDMS-Chips-Fabrication.jpg");
| + | |
− | }
| + | |
− | #for_0001 {
| + | |
− | background-image: url("https://static.igem.org/mediawiki/2018/8/8a/T--Pasteur_Paris--Logo-PDMS-Chip-Demolding.jpg");
| + | |
− | }
| + | |
− | #for_0002 {
| + | |
− | background-image: url("https://static.igem.org/mediawiki/2018/a/a9/T--Pasteur_Paris--Logo-PDMS-Chip-Bonding.jpg");
| + | |
− | }
| + | |
− | #for_0003 {
| + | |
− | background-image: url("https://static.igem.org/mediawiki/2018/a/a1/T--Pasteur_Paris--Logo-PDMS-Chip-Treatment-Neuron.jpg");
| + | |
− | }
| + | |
− | #for_0200 {
| + | |
− | background-image: url("https://static.igem.org/mediawiki/2018/2/2d/T--Pasteur_Paris--Logo-PDMS-Microchannel-Chip-Mold-Fabrication.jpg");
| + | |
− | }
| + | |
− | .vignette_back { /*background part of the vignettes, picture*/
| + | |
− | width: 15em;
| + | |
− | height: 16em;
| + | |
− | position:absolute;
| + | |
− | left:2.5em;
| + | |
− | top:2em;
| + | |
− | | + | |
− | cursor:pointer;
| + | |
− | | + | |
− | z-index: 1;
| + | |
− | border: 1px solid #333;
| + | |
− | border-radius: 20px;
| + | |
− | background-size:100%;
| + | |
− | }
| + | |
− | #back_0000 {
| + | |
− | background-image:url("https://static.igem.org/mediawiki/2018/0/03/T--Pasteur_Paris--PDMS_prep.jpg");
| + | |
− | }
| + | |
− | #back_0001 {
| + | |
− | background-image:url("https://static.igem.org/mediawiki/2018/8/8e/T--Pasteur_Paris--PDMS_chip_demolding.jpg");
| + | |
− | }
| + | |
− | #back_0002 {
| + | |
− | background-image:url("https://static.igem.org/mediawiki/2018/e/e9/T--Pasteur_Paris--PDMS_chip_bonding.jpg");
| + | |
− | }
| + | |
− | .vignette_text { /*small panel that slides down on the vignettes*/
| + | |
− | width: 17em;
| + | |
− | height: 3em;
| + | |
− | position:absolute;
| + | |
− | top:4em;
| + | |
− | left:1.5em;
| + | |
− | | + | |
− | z-index: 3;
| + | |
− | border-radius:10px;
| + | |
− | border: 1px solid #333;
| + | |
− | background-color:white;
| + | |
− | box-shadow: 2px 2px 3px grey;
| + | |
− | opacity: 0.8;
| + | |
− | | + | |
− | pointer-events:none;
| + | |
− | -webkit-transition: top 0.7s, opacity 0.7s;
| + | |
− | -moz-transition: top 0.7s, opacity 0.7s;
| + | |
− | -o-transition: top 0.7s, opacity 0.7s;
| + | |
− | transition: top 0.7s, opacity 0.7s;
| + | |
− | }
| + | |
− | .panel {
| + | |
− | width: 90%;
| + | |
− | padding: 0px 18px;
| + | |
− | background-color: white;
| + | |
− | max-height: 0;
| + | |
− | text-align:left;
| + | |
− | overflow: hidden;
| + | |
− | -webkit-transition: max-height 0.7s;
| + | |
− | -moz-transition: max-height 0.7s ;
| + | |
− | -o-transition: max-height 0.7s ;
| + | |
− | transition: max-height 0.7s ;
| + | |
− | }
| + | |
− | .close_button {
| + | |
− | width:3em;
| + | |
− | height:3em;
| + | |
− | z-index:6;
| + | |
− | position:relative;
| + | |
− | float: right;
| + | |
− | margin-top: 1em;
| + | |
− | background-image: url("https://static.igem.org/mediawiki/2018/d/d3/T--Pasteur_Paris--Cross.png");
| + | |
− | background-size:100%;
| + | |
− | opacity:0.3;
| + | |
− | border-radius:4px;
| + | |
− | | + | |
− | cursor:pointer;
| + | |
− | }
| + | |
− | .close_button:hover {
| + | |
− | opacity:1;
| + | |
− | }
| + | |
− | | + | |
− | .close_button:active {
| + | |
− | background-color:#3C519F;
| + | |
− | opacity:0.2;
| + | |
− | }
| + | |
− | .protocol_box {
| + | |
− | border: 0.2em solid #AF3D57;
| + | |
− | width:15em;
| + | |
− | | + | |
− | </style> | + | |
− | | + | |
− | | + | |
− | <div id="banner">
| + | |
− | <h1>EXPERIMENTS</h1>
| + | |
− | </div>
| + | |
| | | |
| <div id="GeneralContent"> | | <div id="GeneralContent"> |
| <div id="MainContent"> | | <div id="MainContent"> |
| | | |
| + | <a href="https://2018.igem.org/Team:Pasteur_Paris/Protocols/CellBio"> |
| + | <div class="block onglet"> |
| + | <div class="ongletImg" style="background-image: url(https://static.igem.org/mediawiki/2018/c/c1/T--Pasteur_Paris--Logo-Big-Vignette-Cellular-Biology.png);"> |
| + | </div> |
| + | <div class= "textOnglet" style="background-color: #dedede;"> |
| + | <h1>Microbiology</h1> |
| + | </div> |
| + | </div> |
| + | </a> |
| + | <a href="https://2018.igem.org/Team:Pasteur_Paris/Experiments/Microflu"> |
| + | <div class="block onglet"> |
| + | <div class="ongletImg" style="background-image: url(https://static.igem.org/mediawiki/2018/1/13/T--Pasteur_Paris--Logo-Big-Vignette-Microfluidics.png);"> |
| + | </div> |
| + | <div class= "textOnglet" style="background-color: #dedede;"> |
| + | <h1>Microfluidics</h1> |
| + | </div> |
| + | </div> |
| + | </a> |
| + | <a href="https://2018.igem.org/Team:Pasteur_Paris/Protocols/CellBio2"> |
| + | <div class="block onglet"> |
| + | <div class="ongletImg" style="background-image: url(https://static.igem.org/mediawiki/2018/3/3c/T--Pasteur_Paris--Logo-Big-Vignette-Molecular-Biology.png);"> |
| + | </div> |
| + | <div class= "textOnglet" style="background-color: #dedede;"> |
| + | <h1>Cellular Biology</h1> |
| + | </div> |
| + | </a> |
| + | </div> |
| | | |
| | | |
| + | <a href="https://2018.igem.org/Team:Pasteur_Paris/Technicals"> |
| + | <div class="block onglet"> |
| + | <div class="ongletImg" style="background-image: url(https://static.igem.org/mediawiki/2018/e/ed/T--Pasteur_Paris--Big-Vignette-Design.png);"> |
| + | </div> |
| + | <div class= "textOnglet" style="background-color: #dedede;"> |
| + | <h1>Design*</h1> |
| + | </div> |
| + | </a> |
| + | </div> |
| | | |
| | | |
− | | + | <p> (*) There are not really protocols in design, but rather methodologies. You will be redirected to Product Design - Methodology. </p> |
− | <div class="block title">
| + | |
− | <h1> PROTOCOLS </h1>
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− |
| + | |
− | <div class="block separator-mark">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="block full" id="micro_0" style="display:flex;flex-flow: row wrap;justify-content:center;margin:auto;">
| + | |
− | | + | |
− | <h2 style="order:1;">Microfluidics: general protocols</h2>
| + | |
− | | + | |
− | <p style="text-indent:0px;order:2;margin:2em;">PDMS (Polydimethylsiloxane) is a widely used polymer in microfluidics, for its biocompatibility and transparence, among other qualities. Here we show how to prepare PDMS for microfluidic chips, as well as how to demold them, bond them to other surfaces and treat them for neuron growth. Also, we explain how our molds and chips were fabricated.</p> | + | |
− | | + | |
− | | + | |
− | <div class="vignette" id="vign_0000">
| + | |
− | <div class="vignette_for" id="for_0000">
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="vignette_back" id="back_0000">
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="vignette_text">
| + | |
− | <p style="margin:auto; text-align:center;font-weight:bold;" >PDMS Chips Fabrication</p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="vignette" id="vign_0001">
| + | |
− | <div class="vignette_for" id="for_0001">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_back" id="back_0001">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_text">
| + | |
− | <p style="margin:auto; text-align:center;font-weight:bold;">PDMS Chip Demolding</p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="vignette" id="vign_0002">
| + | |
− | <div class="vignette_for" id="for_0002">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_back" id="back_0002">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_text">
| + | |
− | <p style="margin:auto; text-align:center;font-weight:bold;">PDMS Chip Bonding</p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="vignette" id="vign_0003">
| + | |
− | <div class="vignette_for" id="for_0003">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_back" id="back_0003">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_text">
| + | |
− | <p style="margin:auto; text-align:center;font-weight:bold;">PDMS Chip Treatment for Nerve Growth</p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="panel" id="pan_0000" style="text-align:left;">
| + | |
− | <div class="close_button">
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | <h3>Materials</h3>
| + | |
− | <ul>
| + | |
− | <li> Sylgard 184 Elastomer Kit (Sigma-aldrich, 761036-5EA) </li>
| + | |
− | <li> Vacuum pump unit (Vacuubrand PC 3 RZ 2.5) </li>
| + | |
− | <li> Stove (Memmert UM 400) </li>
| + | |
− | </ul>
| + | |
− | <br>
| + | |
− | <h3>Protocol</h3>
| + | |
− | <p>According to <a target="_blank" rel="noopener noreferrer" href="https://static.igem.org/mediawiki/igem.org/2/29/T--Technion_Israel-HardwarespecsPDMS.pdf">manufacturer's instruction</a>. <br>
| + | |
− | <ul>
| + | |
− | <li> Mix monomer and curing agent (10:1 proportion) for 30 seconds </li>
| + | |
− | <li> Use a vacuum pump unit and a vacuum bell jar to extract air bubbles until the mixture is clear </li>
| + | |
− | <li> Pour mixture onto mold </li>
| + | |
− | <li> Put mixture+mold in stove at 70 degrees Celsius for 3 hours </li>
| + | |
− | </ul>
| + | |
− | <br>
| + | |
− | <div class="protocol_box">
| + | |
− | <p> Get full protocol <a href="https://static.igem.org/mediawiki/2018/3/3d/T--Pasteur_Paris--Microfluidics-general-protocols.pdf" target="_blank">here</a> </p>
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="panel" id="pan_0001" style="text-align:left;">
| + | |
− | <div class="close_button">
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | <h3>Materials</h3>
| + | |
− | <ul>
| + | |
− | <li> Razor blade (OEMTOOLS 25181 Razor Blades, 100 Pack) </li>
| + | |
− | <li> Biopsy puncher (Kai Biopsy Punch 4mm ) </li>
| + | |
− | </ul>
| + | |
− | <br>
| + | |
− | <h3>Protocol</h3>
| + | |
− | <br>
| + | |
− | <ul>
| + | |
− | <li> Cut the borders of the chip with the razor blade </li>
| + | |
− | <li> Extract the chip from its mold </li>
| + | |
− | <li> Drill input and output holes with the biopsy puncher </li>
| + | |
− | </ul>
| + | |
− | <br>
| + | |
− | <div class="protocol_box">
| + | |
− | <p> Get full protocol <a href="https://static.igem.org/mediawiki/2018/3/3d/T--Pasteur_Paris--Microfluidics-general-protocols.pdf" target="_blank">here</a> </p>
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="panel" id="pan_0002" style="text-align:left;">
| + | |
− | <div class="close_button">
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | <h3>Materials</h3>
| + | |
− | <ul>
| + | |
− | <li> Plasma cleaner (Diener Pico PCCE) </li>
| + | |
− | <li> Distilled water (Fisherbrand, CAS number 7732-18-5) </li>
| + | |
− | <li> Isopropanol (Fisherbrand, CAS number 67-63-0) </li>
| + | |
− | <li> Office duct tape </li>
| + | |
− | <li> Vertical laminar airflow cabinets (Euroclone aura vertical S.D.4) </li>
| + | |
− | </ul>
| + | |
− | <br>
| + | |
− | <h3>Protocol</h3>
| + | |
− | <br>
| + | |
− | <ul>
| + | |
− | <li> Take chip and the surface it needs to be bonded to into the airflow cabinet </li>
| + | |
− | <li> Clean chip with duct tape and isopropanol </li>
| + | |
− | <li> Put the chip and the surface into the plasma cleaner. </li>
| + | |
− | <li> Expose chip and surface 30 seconds to plasma. </li>
| + | |
− | <li> Take the chip and the surface back in the airflow cabinet </li>
| + | |
− | <li> Press the microfluidic chip against the surface </li>
| + | |
− | <li> Insert distilled water into chip circuitry </li>
| + | |
− | | + | |
− | <br>
| + | |
− | <div class="protocol_box">
| + | |
− | <p> Get full protocol <a href="https://static.igem.org/mediawiki/2018/3/3d/T--Pasteur_Paris--Microfluidics-general-protocols.pdf" target="_blank">here</a> </p>
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="panel" id="pan_0003" style="text-align:left;">
| + | |
− | <div class="close_button">
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | <h3>Materials</h3>
| + | |
− | <ul>
| + | |
− | <li> Poly-D-Lysine solution 1.0 mg/mL (Sigma aldrich, A-003-E) </li>
| + | |
− | <li> Laminin (Sigma aldrich, Laminin from Engelbreth-Holm-Swarm murine sarcoma basement membrane, L2020-1MG) </li>
| + | |
− | </ul>
| + | |
− | <br>
| + | |
− | <h3>Protocol</h3>
| + | |
− | <br>
| + | |
− | | + | |
− | <ul>
| + | |
− | <li> Pour poly-D-lysine with concentration 10 &mu g/mL into the chip </li>
| + | |
− | <li> Incubate over night </li>
| + | |
− | <li> Pour laminine with concentration 4 &mu g/mL </li>
| + | |
− | <li> Incubate for a few hours</li>
| + | |
− | <br>
| + | |
− | <div class="protocol_box">
| + | |
− | <p> Get full protocol <a href="https://static.igem.org/mediawiki/2018/3/3d/T--Pasteur_Paris--Microfluidics-general-protocols.pdf" target="_blank">here</a> </p>
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | </div>
| + | |
− |
| + | |
− | | + | |
− | <script>
| + | |
− | var cont = document.getElementById("micro_0");
| + | |
− | var vign_back_lis = cont.getElementsByClassName("vignette_back");
| + | |
− | var i;
| + | |
− | | + | |
− | for (i = 0; i < vign_back_lis.length; i++) {
| + | |
− | vign_back_lis[i].addEventListener("click", function() {
| + | |
− | var cont = document.getElementById("micro_0");
| + | |
− | var vign_back_lis = cont.getElementsByClassName("vignette_back");
| + | |
− | var cont_index = "00";
| + | |
− | /*get clicked element index*/
| + | |
− | var index = String(this.id).substring(7,9);
| + | |
− | | + | |
− | /*locate elements to move*/
| + | |
− | var panel = document.getElementById("pan_"+cont_index+index);
| + | |
− | var vignFor = this.previousElementSibling;
| + | |
− | var vignText = this.nextElementSibling;
| + | |
− | /*move it*/
| + | |
− | if (panel.style.maxHeight){
| + | |
− | | + | |
− | /*close it*/
| + | |
− | panel.style.maxHeight = null;
| + | |
− | vignFor.style.opacity = 1;
| + | |
− | vignText.style.opacity = 0.8;
| + | |
− | vignText.style.top = "4em";
| + | |
− | }
| + | |
− | else {
| + | |
− |
| + | |
− | /*find active element*/
| + | |
− | var j;
| + | |
− | var index_act = -1 ;
| + | |
− | var el_foc;
| + | |
− | for (j = 0; j < vign_back_lis.length; j++) {
| + | |
− | if (j<10) {
| + | |
− | el_foc=document.getElementById("pan_" + cont_index + "0" + j);
| + | |
− | if (el_foc.style.maxHeight != 0) {
| + | |
− | index_act="0"+j;
| + | |
− | break;
| + | |
− | }
| + | |
− | } else {
| + | |
− | el_foc=document.getElementById("pan_" + cont_index + j);
| + | |
− | if (el_foc.style.maxHeight != 0) {
| + | |
− | index_act=j;
| + | |
− | break;
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | if (index_act != -1) {
| + | |
− | /*close active element*/
| + | |
− | var panel_act = document.getElementById("pan_"+cont_index+index_act);
| + | |
− | var back_act = document.getElementById("back_"+cont_index+index_act);
| + | |
− | var for_act=back_act.previousElementSibling;
| + | |
− | var text_act=back_act.nextElementSibling;
| + | |
− | panel_act.style.maxHeight = null;
| + | |
− | for_act.style.opacity = 1;
| + | |
− | text_act.style.opacity = 0.8;
| + | |
− | text_act.style.top = "4em";
| + | |
− | }
| + | |
− | | + | |
− | /*open clicked element*/
| + | |
− | panel.style.maxHeight = panel.scrollHeight + "px";
| + | |
− | vignFor.style.opacity = 0;
| + | |
− | vignText.style.opacity = 1;
| + | |
− | vignText.style.top = "15em";
| + | |
− | }
| + | |
− | });
| + | |
− | }
| + | |
− | | + | |
− | </script>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="block separator-mark">
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="block full" id="micro_1" style="display:flex;flex-flow: row wrap;justify-content:center;margin:auto;">
| + | |
− | | + | |
− | <h2 style="order:1;width:100%">Microfluidics: well chip</h2>
| + | |
− | | + | |
− | <p style="text-indent:0px;order:2;margin:2em;width:100%"> The well chip was designed and made by our team to test the biocompatibility of the nanoporous membrane and the effect of electricity on biofilm growth. </p>
| + | |
− | | + | |
− | <div class="vignette" id="vign_0100">
| + | |
− | <div class="vignette_for" id="for_0100">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_back" id="back_0100">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_text">
| + | |
− | <p style="margin:auto; text-align:center;font-weight:bold;">PDMS Well Chip Mold Fabrication</p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | <div class="panel" id="pan_0100" style="text-align:left;">
| + | |
− | <div class="close_button">
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | <p style="text-indent:0px;"> We were allowed to use the molds made by Institut Curie. We were not involved in the process of their fabrication. Here is a short video we made about how these molds were created. </p>
| + | |
− | <br>
| + | |
− | <iframe width="854" height="480" src="https://www.youtube.com/embed/3ivw0Yeeve4" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
| + | |
− | <br>
| + | |
− | <br>
| + | |
− | </div>
| + | |
− | | + | |
− | <script>
| + | |
− | var cont = document.getElementById("micro_1");
| + | |
− | var vign_back_lis = cont.getElementsByClassName("vignette_back");
| + | |
− | var i;
| + | |
− | | + | |
− | for (i = 0; i < vign_back_lis.length; i++) {
| + | |
− | vign_back_lis[i].addEventListener("click", function() {
| + | |
− | var cont = document.getElementById("micro_1");
| + | |
− | var vign_back_lis = cont.getElementsByClassName("vignette_back");
| + | |
− | var cont_index = "01";
| + | |
− | /*get clicked element index*/
| + | |
− | var index = String(this.id).substring(7,9);
| + | |
− | | + | |
− | /*locate elements to move*/
| + | |
− | var panel = document.getElementById("pan_"+cont_index+index);
| + | |
− | var vignFor = this.previousElementSibling;
| + | |
− | var vignText = this.nextElementSibling;
| + | |
− | /*move it*/
| + | |
− | if (panel.style.maxHeight){
| + | |
− | | + | |
− | /*close it*/
| + | |
− | panel.style.maxHeight = null;
| + | |
− | vignFor.style.opacity = 1;
| + | |
− | vignText.style.opacity = 0.8;
| + | |
− | vignText.style.top = "4em";
| + | |
− | }
| + | |
− | else {
| + | |
− |
| + | |
− | /*find active element*/
| + | |
− | var j;
| + | |
− | var index_act = -1 ;
| + | |
− | var el_foc;
| + | |
− | for (j = 0; j < vign_back_lis.length; j++) {
| + | |
− | if (j<10) {
| + | |
− | el_foc=document.getElementById("pan_" + cont_index + "0" + j);
| + | |
− | if (el_foc.style.maxHeight != 0) {
| + | |
− | index_act="0"+j;
| + | |
− | break;
| + | |
− | }
| + | |
− | } else {
| + | |
− | el_foc=document.getElementById("pan_" + cont_index + j);
| + | |
− | if (el_foc.style.maxHeight != 0) {
| + | |
− | index_act=j;
| + | |
− | break;
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | if (index_act != -1) {
| + | |
− | /*close active element*/
| + | |
− | var panel_act = document.getElementById("pan_"+cont_index+index_act);
| + | |
− | var back_act = document.getElementById("back_"+cont_index+index_act);
| + | |
− | var for_act=back_act.previousElementSibling;
| + | |
− | var text_act=back_act.nextElementSibling;
| + | |
− | panel_act.style.maxHeight = null;
| + | |
− | for_act.style.opacity = 1;
| + | |
− | text_act.style.opacity = 0.8;
| + | |
− | text_act.style.top = "4em";
| + | |
− | }
| + | |
− | | + | |
− | /*open clicked element*/
| + | |
− | panel.style.maxHeight = panel.scrollHeight + "px";
| + | |
− | vignFor.style.opacity = 0;
| + | |
− | vignText.style.opacity = 1;
| + | |
− | vignText.style.top = "15em";
| + | |
− | }
| + | |
− | });
| + | |
− | }
| + | |
− | | + | |
− | </script>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <div class="block separator-mark">
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="block full" id="micro_2" style="display:flex;flex-flow: row wrap;justify-content:center;margin:auto;">
| + | |
− | | + | |
− | <h2 style="order:1;width:100%">Microfluidics: microchannel chip</h2>
| + | |
− | | + | |
− | <p style="text-indent:0px;order:2;margin:2em;width:100%"> We used the microchannel chip to test the effect of NGF on the neuron's growth. </p>
| + | |
− | | + | |
− | <div class="vignette" id="vign_0200">
| + | |
− | <div class="vignette_for" id="for_0200">
| + | |
− | </div>
| + | |
− |
| + | |
− | <div class="vignette_back" id="back_0200">
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="vignette_text">
| + | |
− | <p style="margin:auto; text-align:center;font-weight:bold;">PDMS Microchannel Chip Mold Fabrication</p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="panel" id="pan_0200" style="text-align:left;">
| + | |
− | <div class="close_button">
| + | |
− | </div>
| + | |
− | <br>
| + | |
− | <p style="text-indent:0px;"> We were allowed to use the molds made by Institut Curie. We were not involved in the process of their fabrication. Here is a short video we made about how these molds were created. </p>
| + | |
− | <br>
| + | |
− | <iframe width="854" height="480" src="https://www.youtube.com/embed/3ivw0Yeeve4" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
| + | |
− | <br>
| + | |
− | <br>
| + | |
− | </div>
| + | |
− | | + | |
− | <script>
| + | |
− | var cont = document.getElementById("micro_2");
| + | |
− | var vign_back_lis = cont.getElementsByClassName("vignette_back");
| + | |
− | var i;
| + | |
− | | + | |
− | for (i = 0; i < vign_back_lis.length; i++) {
| + | |
− | vign_back_lis[i].addEventListener("click", function() {
| + | |
− | var cont = document.getElementById("micro_2");
| + | |
− | var vign_back_lis = cont.getElementsByClassName("vignette_back");
| + | |
− | var cont_index = "02";
| + | |
− | /*get clicked element index*/
| + | |
− | var index = String(this.id).substring(7,9);
| + | |
− | | + | |
− | /*locate elements to move*/
| + | |
− | var panel = document.getElementById("pan_"+cont_index+index);
| + | |
− | var vignFor = this.previousElementSibling;
| + | |
− | var vignText = this.nextElementSibling;
| + | |
− | /*move it*/
| + | |
− | if (panel.style.maxHeight){
| + | |
− | | + | |
− | /*close it*/
| + | |
− | panel.style.maxHeight = null;
| + | |
− | vignFor.style.opacity = 1;
| + | |
− | vignText.style.opacity = 0.8;
| + | |
− | vignText.style.top = "4em";
| + | |
− | }
| + | |
− | else {
| + | |
− |
| + | |
− | /*find active element*/
| + | |
− | var j;
| + | |
− | var index_act = -1 ;
| + | |
− | var el_foc;
| + | |
− | for (j = 0; j < vign_back_lis.length; j++) {
| + | |
− | if (j<10) {
| + | |
− | el_foc=document.getElementById("pan_" + cont_index + "0" + j);
| + | |
− | if (el_foc.style.maxHeight != 0) {
| + | |
− | index_act="0"+j;
| + | |
− | break;
| + | |
− | }
| + | |
− | } else {
| + | |
− | el_foc=document.getElementById("pan_" + cont_index + j);
| + | |
− | if (el_foc.style.maxHeight != 0) {
| + | |
− | index_act=j;
| + | |
− | break;
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | if (index_act != -1) {
| + | |
− | /*close active element*/
| + | |
− | var panel_act = document.getElementById("pan_"+cont_index+index_act);
| + | |
− | var back_act = document.getElementById("back_"+cont_index+index_act);
| + | |
− | var for_act=back_act.previousElementSibling;
| + | |
− | var text_act=back_act.nextElementSibling;
| + | |
− | panel_act.style.maxHeight = null;
| + | |
− | for_act.style.opacity = 1;
| + | |
− | text_act.style.opacity = 0.8;
| + | |
− | text_act.style.top = "4em";
| + | |
− | }
| + | |
− | | + | |
− | /*open clicked element*/
| + | |
− | panel.style.maxHeight = panel.scrollHeight + "px";
| + | |
− | vignFor.style.opacity = 0;
| + | |
− | vignText.style.opacity = 1;
| + | |
− | vignText.style.top = "15em";
| + | |
− | }
| + | |
− | });
| + | |
− | }
| + | |
− | | + | |
− | </script>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− |
| + | |
− | <script>
| + | |
− | | + | |
− | /*panels and vignettes flexbox automatic order*/
| + | |
− | | + | |
− | function redim() {
| + | |
− | alert("working");
| + | |
− | if("matchMedia" in window) {
| + | |
− | var vign_lis = document.getElementsByClassName("vignette");
| + | |
− | var pan_lis = document.getElementsByClassName("panel");
| + | |
− | var i;
| + | |
− | if(window.matchMedia("(min-width:850px)").matches) {
| + | |
− | alert("big");
| + | |
− | /*big*/
| + | |
− | for (i = 0; i < vign_lis.length; i++) {
| + | |
− | var act_vign = vign_lis[i];
| + | |
− | var act_pan = pan_lis[i];
| + | |
− | var index = String(act_vign.id).substring(7,9);
| + | |
− | switch (index) {
| + | |
− | case '00':
| + | |
− | act_vign.style.order="3";
| + | |
− | act_pan.style.order="6" ;
| + | |
− | case '01':
| + | |
− | act_vign.style.order="4";
| + | |
− | act_pan.style.order="7";
| + | |
− | case '02':
| + | |
− | act_vign.style.order="5";
| + | |
− | act_pan.style.order="8";
| + | |
− | case '03':
| + | |
− | act_vign.style.order="9";
| + | |
− | act_pan.style.order="10";
| + | |
− | }
| + | |
− | }
| + | |
− | } else if (window.matchMedia("(max-width:760px)").matches) {
| + | |
− | alert("very small");
| + | |
− | /* very small*/
| + | |
− | for (i = 0; i < vign_lis.length; i++) {
| + | |
− | var act_vign = vign_lis[i];
| + | |
− | var act_pan = pan_lis[i];
| + | |
− | var index = String(act_vign.id).substring(7,9);
| + | |
− | switch (index) {
| + | |
− | case '00':
| + | |
− | act_vign.style.order="3";
| + | |
− | act_pan.style.order="4" ;
| + | |
− | case '01':
| + | |
− | act_vign.style.order="5";
| + | |
− | act_pan.style.order="6";
| + | |
− | case '02':
| + | |
− | act_vign.style.order="7";
| + | |
− | act_pan.style.order="8";
| + | |
− | case '03':
| + | |
− | act_vign.style.order="9";
| + | |
− | act_pan.style.order="10";
| + | |
− | }
| + | |
− | } else {
| + | |
− | alert("small");
| + | |
− | /*small*/
| + | |
− | for (i = 0; i < vign_lis.length; i++) {
| + | |
− | var act_vign = vign_lis[i];
| + | |
− | var act_pan = pan_lis[i];
| + | |
− | var index = String(act_vign.id).substring(7,9);
| + | |
− | switch (index) {
| + | |
− | case '00':
| + | |
− | act_vign.style.order="3";
| + | |
− | act_pan.style.order="5" ;
| + | |
− | case '01':
| + | |
− | act_vign.style.order="4";
| + | |
− | act_pan.style.order="6";
| + | |
− | case '02':
| + | |
− | act_vign.style.order="7";
| + | |
− | act_pan.style.order="9";
| + | |
− | case '03':
| + | |
− | act_vign.style.order="8";
| + | |
− | act_pan.style.order="10";
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | window.addEventListener('resize', redim, false);
| + | |
− | | + | |
− | redim();
| + | |
− | | + | |
− | </script>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <script>
| + | |
− | | + | |
− | /*close buttons*/
| + | |
− | | + | |
− | var acc = document.getElementsByClassName("close_button");
| + | |
− | | + | |
− | for (i = 0; i < acc.length; i++) {
| + | |
− | acc[i].addEventListener("click", function() {
| + | |
− | var panel = this.parentElement;
| + | |
− | var index = String(panel.id).substring(4,8);
| + | |
− | var vignBack = document.getElementById("back_"+index);
| + | |
− | var vignFor = vignBack.previousElementSibling;
| + | |
− | var vignText = vignBack.nextElementSibling;
| + | |
− | panel.style.maxHeight = null;
| + | |
− | vignFor.style.opacity = 1;
| + | |
− | vignText.style.opacity = 0.8;
| + | |
− | vignText.style.top = "4em";
| + | |
− | });
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | </script>
| + | |
− | | + | |
− | | + | |
− | <br>
| + | |
− | <br>
| + | |
− | <br>
| + | |
− | <br>
| + | |
| | | |
| | | |