(Replaced content with "{{:Team:Mingdao/test}} {{:Team:Mingdao/test5}}") |
|||
Line 1: | Line 1: | ||
{{:Team:Mingdao/test}} | {{:Team:Mingdao/test}} | ||
+ | <html lang="en"> | ||
+ | <head> | ||
+ | <meta charset="UTF-8"> | ||
+ | <link href='https://fonts.googleapis.com/css?family=Arizonia' rel='stylesheet'> | ||
+ | <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet'> | ||
+ | <title>Description</title> | ||
+ | </head> | ||
+ | <style type="text/css"> | ||
+ | |||
+ | * { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | box-sizing: border-box; } | ||
+ | |||
+ | body { | ||
+ | width: 100%; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | font-family: 'Ubuntu' !important; } | ||
+ | |||
+ | |||
+ | .bg-container { | ||
+ | background-attachment: fixed; | ||
+ | background-color: white; | ||
+ | margin-top:-10px; | ||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2018/3/39/T--Mingdao--project_background.jpg); | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: 100%; | ||
+ | } | ||
+ | |||
+ | .my-main-container { | ||
+ | width: 100%; | ||
+ | padding: 50px 7%; | ||
+ | } | ||
+ | |||
+ | .main-content { | ||
+ | background-color: rgba(255,255,255, .9); | ||
+ | width: 80%; | ||
+ | margin-left: 10%; | ||
+ | padding: 50px; | ||
+ | min-height: 180vh; | ||
+ | z-index: 10; } | ||
+ | |||
+ | .text-area { | ||
+ | margin-bottom: 80px; } | ||
+ | .text-area h1 { | ||
+ | font-size: 130px; | ||
+ | font-weight: 700; | ||
+ | font-family: 'Arizonia' !important; | ||
+ | text-align: center; | ||
+ | margin-bottom: 1rem; } | ||
+ | .text-area p { | ||
+ | font-size: 22px; | ||
+ | font-weight: 500; } | ||
+ | |||
+ | .m-block img { | ||
+ | width: 100%; } | ||
+ | |||
+ | .path-btns { | ||
+ | position: fixed; | ||
+ | width: 250px; | ||
+ | top: 200px; | ||
+ | left: 225px; } | ||
+ | .path-btns .path-dot { | ||
+ | width: 25px; | ||
+ | height: 25px; | ||
+ | border-radius: 50%; | ||
+ | position: absolute; | ||
+ | background-color: #fff; | ||
+ | top: 5px; | ||
+ | left: 27px; | ||
+ | border: 5px solid #385e66; | ||
+ | cursor: pointer; } | ||
+ | .path-btns .path-dot.active { | ||
+ | background-color: #385e66; } | ||
+ | .path-btns .path-dot:hover { | ||
+ | transition: all .3s; | ||
+ | transform: scale(1.2); } | ||
+ | |||
+ | |||
+ | .path { | ||
+ | height: 100px; | ||
+ | display: flex; } | ||
+ | .path .pathSvg { | ||
+ | display: block; } | ||
+ | .path .pathWord { | ||
+ | padding-right: 10%; } | ||
+ | .path .path-btn { | ||
+ | cursor: pointer; | ||
+ | fill: #fff; } | ||
+ | .path .path-btn.path-active { | ||
+ | fill: #385e66; } | ||
+ | .path .path-word-sm { | ||
+ | font-size: 12px; } | ||
+ | #HQ_page .path .pathWord p { | ||
+ | font-weight: 700; | ||
+ | text-align: left !important; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | #HQ_page .text-area p { | ||
+ | font-size: 22px; | ||
+ | font-family: 'Ubuntu'; | ||
+ | font-weight: 500; } | ||
+ | img.center { | ||
+ | display: block; | ||
+ | margin: 0 auto; } | ||
+ | |||
+ | .text-area h2{ | ||
+ | text-align: center; | ||
+ | margin-bottom: 2rem !important; | ||
+ | margin-top: 2rem; | ||
+ | color: black !important; | ||
+ | font-size: 40px; | ||
+ | font-weight:bold; | ||
+ | font-family:serif; | ||
+ | } | ||
+ | .text-area h3{ | ||
+ | text-align: left; | ||
+ | margin-bottom: 2rem !important; | ||
+ | margin-top: 2rem; | ||
+ | color: #4682B4 !important; | ||
+ | font-size: 28px; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
+ | .top { | ||
+ | position: fixed; | ||
+ | right: 50px; | ||
+ | bottom: 50px; | ||
+ | height: 50px; | ||
+ | width: 50px; | ||
+ | cursor: pointer; } | ||
+ | .top img { | ||
+ | width: 100%; } | ||
+ | img.pic { | ||
+ | display: block !important; | ||
+ | margin: 40px auto !important; | ||
+ | } | ||
+ | |||
+ | video { | ||
+ | position:relative; | ||
+ | width: 100%; | ||
+ | height:auto; | ||
+ | margin: 20px auto !important; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | <body> | ||
+ | <div class="bg-container" style="max-height:none;"> | ||
+ | <img class="top-picture" src="https://static.igem.org/mediawiki/2018/2/2f/T--Mingdao--project_top.jpg" style="width:100%"> | ||
+ | <div class="my-main-container"> | ||
+ | <div class="main-content"> | ||
+ | <div class="text-area"> | ||
+ | <h1 id = "d-overview">Project</h1> | ||
+ | <h2>Syringe</h2> | ||
+ | |||
+ | <video playinline controls="true"> | ||
+ | <source src="https://static.igem.org/mediawiki/2017/7/71/T--CSMU_NCHU_Taiwan--ProjectDescription.mp4" type="video/mp4" > | ||
+ | </video> | ||
+ | |||
+ | |||
+ | <h2>Mosquito as natural syringe</h2> | ||
+ | <br /> | ||
+ | <h3>Xenosurveillance</h3> | ||
+ | <p style="text-indent:2em"> | ||
+ | <p> | ||
+ | •Definition | ||
+ | <p> | ||
+ | •Application | ||
+ | <p> | ||
+ | •Paper1, 2, 3 showed that | ||
+ | </p> | ||
+ | |||
+ | <p> | ||
+ | |||
+ | <p style="text-indent:2em"> | ||
+ | <em>Am J Trop Med Hyg. (2015) <strong>Feasibility of Using the</strong></em><br /><strong><em>Mosquito Blood Meal for Rapid and Efficient Human and</em></strong><br /><strong><em>Animal Virus Surveillance and Discovery.</em></strong><br /><em>Yu Yang, et al.</em></p> | ||
+ | <br /> | ||
+ | <h3>Experiment</h3> | ||
+ | ↓Anopheles stephensi (primary vector of malaria) | ||
+ | <p> | ||
+ | ↓Dengue virus serotype 2 (DENV-2) | ||
+ | <p> | ||
+ | ↓in human red blood cell and serum (Key Biologics, LLC) | ||
+ | <p> | ||
+ | ↓RNA extracted at 0, 4, 8, 16, 24 hours after blood feeding | ||
+ | <p> | ||
+ | ↓DENV-2 copy by qRT-PCR | ||
+ | </p> | ||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/6/6e/T--Mingdao--project_picture_chart_mosquito.jpg" alt="" style="width: 80%; margin-bottom: 20px;"> | ||
+ | |||
+ | <br /> | ||
+ | <h3>Result</h3> | ||
+ | <p style="text-indent:2em"> | ||
+ | In Anopheles stephensi, which does not allow DENV-2 to | ||
+ | replicate, viral RNA titer will reduce gradually but remains | ||
+ | detectable for at least | ||
+ | <p> | ||
+ | 24 hours in the midgut. | ||
+ | </p> | ||
+ | <br /> | ||
+ | <h3>Reference</h3> | ||
+ | <p> | ||
+ | <p> | ||
+ | 1.Am J Trop Med Hyg. (2017) The Use of Xenosurveillance to | ||
+ | Detect Human Bacteria, Parasites, and Viruses in Mosquito | ||
+ | Bloodmeals. | ||
+ | <p> | ||
+ | 2.PLoS Negl Trop Dis. (2015) Xenosurveillance: a novel | ||
+ | mosquito-based approach for examining the human-pathogen | ||
+ | landscape. | ||
+ | <p> | ||
+ | 3.Am J Trop Med Hyg. (2015) Feasibility of Using the Mosquito | ||
+ | Blood Meal for Rapid and Efficient Human and Animal Virus | ||
+ | Surveillance and Discovery. | ||
+ | <p> | ||
+ | </p> | ||
+ | <br /> | ||
+ | <h2>Living Syringe</h2> | ||
+ | <p style="text-indent:2em"> | ||
+ | <br /> | ||
+ | <p> | ||
+ | •(In order) To ………., we | ||
+ | conducted/performed/did…………….. | ||
+ | <p> | ||
+ | •The result/data showed/presented/indicated………….. | ||
+ | <p> | ||
+ | •Taken our results and previous researches together, | ||
+ | mosquitoes could be…………….. | ||
+ | </p> | ||
+ | <br /> | ||
+ | <h3>Experiment</h3> | ||
+ | <p> | ||
+ | ↓Aedes aegypti | ||
+ | <p> | ||
+ | ↓10% glucose water with or without heat-killed E. coli (109 | ||
+ | cells/ml) | ||
+ | <p> | ||
+ | ↓gDNA extracted at 0, 6, 18 hours after feeding | ||
+ | <p> | ||
+ | ↓2 repeats for every group & one control of gDNA of E. coli | ||
+ | <p> | ||
+ | ↓PCR with specific primer for A. aegypti or E. coli | ||
+ | </p> | ||
+ | <br /> | ||
+ | <h3>Primers</h3> | ||
+ | <p style="text-indent:2em"> | ||
+ | <p> | ||
+ | •Aedes: (730 bp)<br> | ||
+ | -Act-2F (5′-ATGGTCGGYATGGGNCAGAAGGACTC-3′),<br> | ||
+ | -Act-2R (5′-TCGCACTTCATGATSGAGTTGTA-3′) | ||
+ | <p> | ||
+ | •E. coil: (970 bp)<br> | ||
+ | -K12IS-L (5’-CGCGATGGAAGATGCTCTGTA-3’)<br> | ||
+ | -K12-R (5’-ATCCTGCGCACCAATCAACAA-3’) | ||
+ | </p> | ||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/4/43/T--Mingdao--project_pic_syringe_gel.jpg" alt=" " style="width:50%"> | ||
+ | <br /> | ||
+ | <h3>Result</h3> | ||
+ | <p>Genomic DNAs of Aedes aegypti were confirmed by PCR with | ||
+ | Aedes primers in all groups, indicating the integrity of the | ||
+ | extracted DNA. Feeding heat-killed bacteria to the mosquitoes, | ||
+ | genomic DNAs of E. coli can be detected in the group at 6hr | ||
+ | post-feeding and slightly decreased at 18hr post-feeding, | ||
+ | demonstrating the existence of non-dividing bacteria at least | ||
+ | within overnight in the gut of a mosquito.</p> | ||
+ | <br /> | ||
+ | <h3>Reference</h3> | ||
+ | <p> | ||
+ | <p> | ||
+ | 1.Appl Environ Microbiol. (1995) Rapid and accurate identification | ||
+ | of Escherichia coli K-12 strains. | ||
+ | <p> | ||
+ | 2.J Am Mosq Control Assoc. (2010) Universal primers for the | ||
+ | amplification and sequence analysis of actin-1 from diverse | ||
+ | mosquito species | ||
+ | <p> | ||
+ | 3.PLoS One. (2010) Dengue virus inhibits immune responses in | ||
+ | Aedes aegypti cells. | ||
+ | <p> | ||
+ | </p> | ||
+ | |||
+ | |||
+ | <br /> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/a/a8/T--CSMU_NCHU_Taiwan--safety-line.png" alt="" style="width:100%"> | ||
+ | <h2 id = "d-intro">GFP System</h2> | ||
+ | <br /> | ||
+ | <p style="text-indent:2em">To create a reporter system, we constructed a GFP expression vector. We amplified a constitutive promoter from Drosophila actin 5c gene and an eukaryotic poly A signal by PCR from pAc5.1 vector. The resulting DNA fragments were assembled with a BioBrick existing part of GFP to generate the reporter vector of Ac5- GFP-polyA / pSB1C3 (K2543004).</p> | ||
+ | <img src="https://static.igem.org/mediawiki/2018/b/be/T--Mingdao--project_biobrick.jpg" alt="" style="width:80%"> | ||
+ | |||
+ | <p style="text-indent:2em">To test the reporter system, we cultured a mosquito Aedes albopictus C6/36 cell line and transfected cells with the plasmid of Ac5-GFP-polyA. GFP positive cells and intensity were analyzed 2 days after transfection.</p> | ||
+ | <br /> | ||
+ | <h3>EXPERIMENT</h3> | ||
+ | |||
+ | <p>↓C6/36 cells (1.8 x 105 cells/well in a 96-well plate)<br> | ||
+ | ↓Liposome-mediated transfection and culture for 2 more days<br> | ||
+ | ↓Read fluorescence intensity at Ex/Em = 480/520 nm with a microplate reader<br> | ||
+ | ↓Observe GFP+ cells under a fluorescence microscope</p> | ||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/4/4c/T--Mingdao--project_picture_gfp_chart1.jpg" alt="" | ||
+ | style="width:80%"> | ||
+ | <br /> | ||
+ | <h3>RESULT</h3> | ||
+ | <p style="text-indent:2em">As data shown here, Ac5 is a strong and constitutive promoters which can drive GFP to high expression level in mosquito cells. And we can transfect more than 50% of GFP positive cell with liposome-mediated DNA delivery.</p> | ||
+ | |||
+ | <a name="antidote"></a> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/a/a8/T--CSMU_NCHU_Taiwan--safety-line.png" style="width:100%"> | ||
+ | <br /> | ||
+ | <h2 id="d-antidote">Mosquito Immune Signaling</h2> | ||
+ | <br /> | ||
+ | <p style="text-indent:2em">Mosquito immune defense signaling involves well-studied and well-known Toll and Imd intracellular pathways to trigger antimicrobial peptide (AMP) production. Gram-positive bacteria induce Toll signaling, while Gram-negative bacteria induce Imd signaling. However, some promoters may be activated in a synergistic and cross-talk way. Even though Mosquito-borne viruses are controlled by immune signaling in mosquitoes in a currently unidentified pathway, AMP | ||
+ | promoter activities were enhanced in mosquito cells in the presence of the viruses.</p> | ||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/6/69/T--Mingdao--project_picture2.jpg" alt="" | ||
+ | style="width:80%"> | ||
+ | <p style="text-indent:2em"><i>Front Cell Infect Microbiol.</i> (2017) <b>Regulation of | ||
+ | Antimicrobial Peptides in Aedes aegypti Aag2 Cells.</b><br> | ||
+ | <i>Rudian Zhang, et al.</i></p> | ||
+ | <br /> | ||
+ | <h3>EXPERIMENT</h3> | ||
+ | |||
+ | <p>↓Aag2 cell line from Aedes aegypti<br> | ||
+ | ↓E. coli or Bacillus at OD600 = 0.05 (≅ MOT = 10)<br> | ||
+ | ↓RNA extracted 12 hours after bacteria challenge<br> | ||
+ | ↓qRT-PCR with specific AMP primers</p> | ||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/f/fc/T--Mingdao--project_picture_chart2.jpg" alt="" | ||
+ | style="width:60%"> | ||
+ | <br /> | ||
+ | <h3>RESULT</h3> | ||
+ | <p style="text-indent:2em">AMP promoters can be activated by challenging with Gram-negative and Gram-positive bacteria. In addition, some are regulated synergistically by cross-talking Toll and Imd pathways.</p> | ||
+ | <br /> | ||
+ | <h3>REFERENCE</h3> | ||
+ | <p>1.Trends Parasitol. (2016) Mosquito Defense Strategies against | ||
+ | Viral Infection.<br> | ||
+ | 2.Front Cell Infect Microbiol. (2017) Regulation of Antimicrobial | ||
+ | Peptides in Aedes aegypti Aag2 Cells</p> | ||
+ | |||
+ | <a name="test_strip"></a> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/a/a8/T--CSMU_NCHU_Taiwan--safety-line.png" alt="" style="width:100%"> | ||
+ | <br /> | ||
+ | <h2 id="d-detective">AMP System</h2> | ||
+ | <br /> | ||
+ | <p style="text-indent:2em">Aedes aegypti, a yellow fever mosquito, is a major arbovirus vector to transmit several diseases and spread mosquito-borne viruses such as dengue virus, Ziki virus, yellow fever viruses, etc. It can be genetically modified to control viral transmission. The cell line isolated from Aedes are widely used in the research. The full genome sequence and signaling pathways are defined in the literature. Therefore, it a good host for our study. In our project, we | ||
+ | successfully cloned 3 AMP (GAM1, CecN, DefA) promoters from gDNA of Aedes aegypty and confirmed the sequencesby sequences by sequencing.</p> | ||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/0/0e/T--Mingdao--project_picture_mosquito.jpg" alt="" style="width:70%"> | ||
+ | <br /> | ||
+ | <h3>AMP promoters amplified by PCR</h3> | ||
+ | |||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/a/ab/T--Mingdao--project_picture_pcr.jpg" alt="" style="width:90%"> | ||
+ | <p style="text-indent:2em">To create AMP reporter system, the AMP promoters of Aedes aegypti amplified from PCR were assembled with GFP-polyA /pSB1C3 (BBa_K2543003)</p> | ||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/b/bc/T--Mingdao--project_picture_amp_biobrick.jpg" alt="" style="width:80%"> | ||
+ | <p style="text-indent:2em">To test the function of the device, C6/36 cells were transfected with the vectors. And the mosquito cells were challenged with bacteria on 2 days after transfection.</p> | ||
+ | <br /> | ||
+ | <h3>EXPERIMENT</h3> | ||
+ | |||
+ | <p>↓C6/36 cells were seeded at the density of 1.8 x 105 cell/well in a 96-well plate<br> | ||
+ | ↓Cells were transfected with the AMP-GFP-polyA vectors<br> | ||
+ | ↓E. coli was added on 2 days post-transfection at MOI=10<br> | ||
+ | ↓GFP positive cells and intensity were analyzed by a fluorescence microscope and a microplate reader at Ex/Em = | ||
+ | 480/520 nm,respectively</p> | ||
+ | <br /> | ||
+ | <h3>GAM1-GFP-polyA / pSB1C3 challenged with E. coli</h3> | ||
+ | |||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/6/65/T--Mingdao--project_picture_chart_gfp_amp.jpg" alt="" style="width:80%"> | ||
+ | <br /> | ||
+ | |||
+ | <h3>GAM1/CecN/DefA-GFP-polyA / pSB1C3 challenged with E. coli</h3> | ||
+ | |||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/9/97/T--Mingdao--project_picture_chart_gmp.jpg" alt="" | ||
+ | style="width:100%"> | ||
+ | <br /> | ||
+ | <h3>RESULT</h3> | ||
+ | |||
+ | <p style="text-indent:2em">We successfully assembled three AMP promoters with GFP and poly A to pSB1C3 vector. The function of the devices were tested by challenging with E. coli. The intensities were 5.31-fold, 3.02-fold and 2.29-fold increase for E. coli-induced GAM1, CecN and DefA promoter activities, respectively. The GFP positive cells after induction were clearly observed under fluorescence microscope.</p> | ||
+ | <p style="text-indent:2em">To test the AMP promoter in response of Gram-negative and Gram-positive bacteria, we challenged GAM1 promoter with E. coli and Bacillus subtilis, respectively.</p> | ||
+ | <br /> | ||
+ | <h3>EXPERIMENT</h3> | ||
+ | |||
+ | <p>↓C6/36 cells were seeded at the density of 1.8 x 105 cell/well in a 96-well plate<br> | ||
+ | ↓Cells were transfected with the GAM1-GFP-polyA vector<br> | ||
+ | ↓E. coli or B. subtilis was added on 2 days post-transfection at MOI=10<br> | ||
+ | ↓GFP intensity was measured by a microplate reader at Ex/Em = | ||
+ | 480/520 nm.</p> | ||
+ | <br /> | ||
+ | <h3>RESULT</h3> | ||
+ | |||
+ | <p style="text-indent:2em">The data represented in C6/36 cells showed that GAM1 promoter was not only activated by Gram-negative E. coli but also induced by Gram-positive B. subtilis. The result further indicated the AMP promoter activity may cross talk between Toll and Imd signaling pathways.</p> | ||
+ | <br /> | ||
+ | <h3>GAM1-GFP-polyA / pSB1C3 challenged with E. coli & B. subtilis</h3> | ||
+ | |||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/8/8f/T--Mingdao--project_picture_chart3.jpg" alt="" style="width:60%"> | ||
+ | <p style="text-indent:2em">To apply GAM1 promoter as a biosensor, E. coli at various concentrations were added to the mosquito cells transfected with the GAM1-GFP-polyA / pSB1C3</p> | ||
+ | <br /> | ||
+ | <h3>EXPERIMENT</h3> | ||
+ | |||
+ | <p>↓C6/36 cells were seeded at the density of 1.8 x 105 cell/well in a 96-well plate<br> | ||
+ | ↓Cells were transfected with GAM1-GFP-polyA or Ac5-GFP-polyA vectors<br> | ||
+ | ↓E. coli at MOI=2, 4, 8, 16, 32 were added on 2 days post-transfection<br> | ||
+ | ↓GFP intensity was measured by a microplate reader at Ex/Em = 480/520 nm.</p> | ||
+ | <br /> | ||
+ | <h3>RESULT</h3> | ||
+ | |||
+ | <p style="text-indent:2em">As figures shown below, the green fluorescence intensities driven by GAM1 promoter were increased dose-dependently in the presence of E. coli at MOIs from 2 to 32. The fluorescence expressed by Ac5 promoter was not influenced at the same condition. These results demonstrated GAM1-GFP reporter system can used in the mosquito cells as a | ||
+ | biosensor in response of different concentrations of bacteria.</p> | ||
+ | <br /> | ||
+ | <h3>GAM1 promoter was dose-dependently induced by heat-killed E. coli</h3> | ||
+ | |||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/d/d4/T--Mingdao--project_picture_chart4.jpg" alt="" style="width:60%"> | ||
+ | <h3>Ac5 promoter was not affected by heat-killed E. coli</h3> | ||
+ | <img class="center" src="https://static.igem.org/mediawiki/2018/e/e5/T--Mingdao--project_picture_chart5.jpg" alt="" style="width:60%"> | ||
+ | <br /> | ||
+ | <h3>REFERENCE</h3> | ||
+ | |||
+ | <p>1.Aedes aegypti: From Wikipedia, the free encyclopedia<br> | ||
+ | 2.Science (2007) Genome sequence of Aedes aegypti, a major arbovirus vector<br> | ||
+ | 3.Crit Rev Eukaryot Gene Expr. (2017) Genetically Modified Aedes | ||
+ | aegypti to Control Dengue: A Review.<br> | ||
+ | 4.Front Cell Infect Microbiol. (2017) Regulation of Antimicrobial Peptides | ||
+ | in Aedes aegypti Aag2 Cells | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="path-btns" style="left:0;"> | ||
+ | <div class="path"> | ||
+ | <div class="pathSvg"> | ||
+ | <svg width="80" height = "100"> | ||
+ | <rect x ="36" y="20" width="6" height="80" style="fill:#385e66"/> | ||
+ | </svg> | ||
+ | </div> | ||
+ | <div id="d-overview-btn" class="path-dot"></div> | ||
+ | <div class="pathWord path-word-sm"> | ||
+ | <p>Syringe</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="path"> | ||
+ | <div class="pathSvg"> | ||
+ | <svg width="80" height = "100"> | ||
+ | <rect x ="36" y="20" width="6" height="80" style="fill:#385e66"/> | ||
+ | </svg> | ||
+ | </div> | ||
+ | <div id="d-intro-btn" class="path-dot" style="top: 100px"></div> | ||
+ | <div class="pathWord path-word-sm"> | ||
+ | <p>GFP System</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="path"> | ||
+ | <div class="pathSvg"> | ||
+ | <svg width="80" height = "100"> | ||
+ | <rect x ="36" y="20" width="6" height="80" style="fill:#385e66"/> | ||
+ | </svg> | ||
+ | </div> | ||
+ | <div id="d-antidote-btn" class="path-dot" style="top: 200px"></div> | ||
+ | <div class="pathWord path-word-sm"> | ||
+ | <p>Mosquito Immune Signaling</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="path"> | ||
+ | <div class="pathSvg"> | ||
+ | <svg width="80" height = "100"> | ||
+ | <rect x ="36" y="20" width="0" height="80" style="fill:#385e66"/> | ||
+ | </svg> | ||
+ | </div> | ||
+ | <div id="d-detective-btn" class="path-dot" style="top: 300px"></div> | ||
+ | <div class="pathWord path-word-sm"> | ||
+ | <p>AMP System</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="top"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/5/52/T--CSMU_NCHU_Taiwan--top.png" alt=""> | ||
+ | </div> | ||
+ | </body> | ||
+ | <script type="text/javascript"> | ||
+ | $("#d-overview-btn").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#d-overview").offset().top | ||
+ | }, 500); | ||
+ | }); | ||
+ | $("#d-intro-btn").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#d-intro").offset().top | ||
+ | }, 500); | ||
+ | }); | ||
+ | $("#d-antidote-btn").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#d-antidote").offset().top | ||
+ | }, 500); | ||
+ | }); | ||
+ | $("#d-detective-btn").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#d-detective").offset().top | ||
+ | }, 500); | ||
+ | }); | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | $('.top').on('click', function(){ | ||
+ | $('html, body').animate({scrollTop: '0px'}, 500); | ||
+ | }); | ||
+ | $("#d-overview-btn").css('background-color', '#385e66'); | ||
+ | var scroll_pos = 0; | ||
+ | $(document).scroll(function() { | ||
+ | scroll_pos = $(this).scrollTop(); | ||
+ | |||
+ | d_overview_pos = $("#d-overview").offset().top -100 | ||
+ | d_intro_pos = $("#d-intro").offset().top -100 | ||
+ | d_antidote_pos = $("#d-antidote").offset().top -100 | ||
+ | d_detective_pos = $("#d-detective").offset().top -100 | ||
+ | |||
+ | // overview | ||
+ | if(scroll_pos < d_intro_pos) { | ||
+ | $(".path-dot").css('background-color', '#fff') | ||
+ | $("#d-overview-btn").css('background-color', '#385e66'); | ||
+ | // intro | ||
+ | } else if(scroll_pos < d_antidote_pos){ | ||
+ | if(scroll_pos >= d_intro_pos){ | ||
+ | $(".path-dot").css('background-color', '#fff') | ||
+ | $("#d-intro-btn").css('background-color', '#385e66');} | ||
+ | |||
+ | // antidote | ||
+ | } else if(scroll_pos < d_detective_pos){ | ||
+ | if(scroll_pos >= d_antidote_pos){ | ||
+ | $(".path-dot").css('background-color', '#fff') | ||
+ | $("#d-antidote-btn").css('background-color', '#385e66');} | ||
+ | } | ||
+ | |||
+ | //detective | ||
+ | else if( scroll_pos >= d_detective_pos) { | ||
+ | $(".path-dot").css('background-color', '#fff') | ||
+ | $("#d-detective-btn").css('background-color', '#385e66'); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | </html> | ||
{{:Team:Mingdao/test5}} | {{:Team:Mingdao/test5}} |
Revision as of 08:02, 5 October 2018