|
|
Line 1: |
Line 1: |
- | {{:Team:Aalto-Helsinki/header}} | + | {{:Team:WashU_StLouis/Header}} |
| <html> | | <html> |
| <body> | | <body> |
- | <div id=""page-content-wrapper""><script src="//code.jquery.com/jquery-1.11.0.min.js"></script> | + | <div id=""page-content-wrapper""> |
| | | |
- | <div class="splash" id="mainsplash"> | + | <div class="splash" id="mainsplash"> |
- | <div class="row splashyla">
| + | <div class="row splashyla"> |
| <div class="col-md-12"> | | <div class="col-md-12"> |
- | <a href="https://2014.igem.org/"><img src="https://static.igem.org/mediawiki/2014/0/09/Aalto_Helsinki_Logov_iGEM.png" class="img-responsive igem-logo"></a>
| + | <a href="https://2015.igem.org/"><img src="https://static.igem.org/mediawiki/2014/9/94/Igemlogo_officiallogo.png" class="img-responsive igem-logo"></a> |
| </div> | | </div> |
- | </div>
| + | </div> |
| | | |
- | <div class= "row splashesittely">
| + | <div class= "row splashesittely"> |
- | <div class="col-md-3">
| + | <div class="col-md-3"> |
- | </div>
| + | </div> |
- | <div class="col-md-6">
| + | <div class="col-md-6"> |
- | <h1>Aalto-Helsinki<br>
| + | <h1>Washington University<br> |
- | <small>Bioworks</small></h1>
| + | <img src="https://static.igem.org/mediawiki/2014/d/dc/Aalto_Helsinki_Logov_Oma.png" class="img-responsive omalogo center-block"> |
- | <img src="https://static.igem.org/mediawiki/2014/d/dc/Aalto_Helsinki_Logov_Oma.png" class="img-responsive omalogo center-block">
| + | <p class="bigsplashtext"> |
- | <p class="bigsplashtext">
| + | Engineering Ntrogen Fixation |
- | Figuring out how to combine business with science.
| + | </p> |
- | </p>
| + | </div> |
- | </div>
| + | <div class="col-md-3"> |
- | <div class="col-md-3">
| + | </div> |
- | </div>
| + | </div> |
- | </div>
| + | |
| | | |
- | <div class= "row splashala">
| + | <div class= "row splashala"> |
- | <div class ="col-md-12 transp scroller">
| + | <div class ="col-md-12 transp scroller"> |
| <a href="#Abstract"> | | <a href="#Abstract"> |
- | Scroll down to read more
| + | Scroll down to read more |
- | <img src="https://static.igem.org/mediawiki/2014/3/3e/Aalto_Helsinki_Nuoli.png" class="img-responsive center-block transp nuoli">
| + | <img src="https://static.igem.org/mediawiki/2014/3/3e/Aalto_Helsinki_Nuoli.png" class="img-responsive center-block transp nuoli"> |
| </a> | | </a> |
| + | </div> |
| </div> | | </div> |
- | </div>
| |
| | | |
- | <div class = "splashcopyright">
| |
- | <p class="transp">
| |
- | <a href="http://i-see-faces.deviantart.com/">Photo © Tanja Maria</a>
| |
- | </p>
| |
- | </div>
| |
- | </div>
| |
- | <script src="https://2014.igem.org/Team:Aalto-Helsinki/jquery-1.11.0.min.js?action=raw&ctype=text/js"></script>
| |
- | <article>
| |
- | <div class="link" id="Abstract"></div>
| |
- | <h2>Aalto-Helsinki Bioworks<br>
| |
- | <small>A Synthetic Biology Startup with a Three-Channel Gene Switch</small></h2>
| |
| | | |
- | <h3>Project Description</h3>
| + | </div> |
- | <p>
| + | <article> |
- | We have engineered a three-channel switch that is controlled with the intensity of blue light. By utilizing the mechanisms of the lambda repressor, we are able to switch between the expressions of three different genes with a short delay. This kind of mechanism provides a nearly real-time control over genes, which could provide advantages in variety of industrial bioprocesses.
| + | <div class="link" id="Abstract"></div> |
- | </p>
| + | <h2>Washington University in St. Louis<br> |
- | <p>
| + | <small>Engineering Nitrogen Fixation</small></h2> |
- | Inspired by the principles of open source software, we introduce an Open Source business model implemented around our switch. We want to encourage future companies to create Open Source based solutions and to empower customers to participate in the product development. Open Source model’s transparency as well as lower degree of protection raises trust and continuity and benefits larger community.
| + | |
- | </p>
| + | |
- | <p>
| + | |
- | We want to share our experiences and insights in biotech entrepreneurship and address the difficulties that students and newcomers may face in the early stages of building a synthetic biology startup.
| + | |
- | </p>
| + | |
- | <div class="row">
| + | |
- | <div class="img-center"> | + | |
- | <a href="http://youtu.be/tlc7MPY9SE8"><img src="https://static.igem.org/mediawiki/2014/7/79/Aaltohelsinki_pitc_capture.png" class="img-responsive smallerimg"></img></a>
| + | |
- | <p class="kuvateksti">
| + | |
- | Our pitch video on August 6th, Summer of Startups Demo Day.
| + | |
- | </p>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | <img src="https://static.igem.org/mediawiki/2014/7/7e/Aalto_Helsinki_Logot_Oma.png" class="img-responsive center-block omalogot">
| + | |
| | | |
- | </article> | + | <h3>Project Description</h3> |
- | <article class="abg-pcb"> | + | <p> |
| + | Some cyanobacteria fix nitrogen for nutritional needs, while most organisms can only acquire it from the food it consumes. Synthetic biology allows us to transfer this ability to fix nitrogen to a heterologous host that has many genetic tools, Escherichia coli, so that we can learn how to give single cell organisms, and eventually chloroplasts the ability to create their own nitrogen fertilizer. |
| + | </p> |
| + | <p> |
| + | Diazotrophic (organisms that fix nitrogen) cyanobacteria such Nostoc Punctiforme or Anabaena use heterocysts (specialized nitrogen fixing cells) to create a mini-anaerobic environment to aid nitrogen fixation. However, Cyanothece 51142, a non-heterocyst, fixes nitrogen in the same cell as photosynthesis by relying on a circadian metabolic process, when there is less oxygen byproduct from photosynthesis. This process is both fascinating and necessary since the key enzyme in nitrogen fixation, nitrogenase, is poisoned by oxygen. Our goal this summer is to engineer the regulation of the proteins necessary for nitrogen fixation so that they are highly repressed when activated by broad spectrum light (such as the sun), and are highly active when there is no light around, mimicking the cycle where photosynthesis occurs during the day and nitrogen fixation occurs at night. |
| + | </p> |
| + | <div class="row"> |
| + | <div class="img-center"> |
| + | <p class="kuvateksti"> |
| + | Our pitch video. |
| + | </p> |
| + | </div> |
| + | </div> |
| + | <div align="center" class="embed-responsive embed-responsive-16by9"> |
| + | <video autoplay loop class="embed-responsive-item"> |
| + | <source src="https://youtu.be/5B73_8vcENI" type=video/mp4> |
| + | </video> |
| + | </div> |
| + | </article> |
| + | <article class="abg-pcb"> |
| | | |
- | <h2>The Story of Aalto-Helsinki Bioworks</h2>
| + | <div class="row"> |
- | <div class="row">
| + | <div class="col-md-6 text-col-left"> |
- | <div class="col-md-6 text-col-left">
| + | <h3>How does our project work?</h3> |
- | <p>
| + | <p> |
- | We are Aalto-Helsinki Bioworks, the first-ever Finnish iGEM Team and one of the four teams in the new Entrepreneurship Track. Our <a href="https://2014.igem.org/Team:Aalto-Helsinki/Team">team</a> consists of nine students from Aalto University and the University of Helsinki and we are combining our interdisciplinary forces to develop something new and fascinating. We want to put Finland on the map of synthetic biology and improve undergraduate research opportunities in our universities.
| + | Our team worked this summer on two projects towards a common purpose. |
- | </p>
| + | Richard and Caroline worked in the Pakrasi lab under Dr. Pakrasi, with Andrew Ng, Bert Berla, and Deng Liu as advisors on the getting nitrogen fixation working in E. coli. |
- | <p>
| + | Benjamin and Jeffrey worked in the Moon lab under Dr. Moon, with Cheryl Immethun as an advisor, and created a repressor system to turn off transcription of a reporter protein in the light. |
- | We have <a href="https://2014.igem.org/Team:Aalto-Helsinki/Research">designed</a> a three-channel gene switch that would make it possible to control three user-defined genes with blue light intensity. We are using <a href="https://2014.igem.org/Team:Aalto-Helsinki/Research#yf1-title">YF1</a> as our light receptor protein and the signal is mediated to lambda repressor protein (CI) production via phosphorylation pathway. The concentration of the CI protein defines the gene that should be active at a time. The secret behind this function is our modified version of the <a href="https://2014.igem.org/Team:Aalto-Helsinki/Research#lambda-title">lambda repressor</a> mechanism.
| + | </p> |
- | </p>
| + | <h3>What did we accomplish?</h3> |
- | <p>
| + | <p> |
- | We constructed a mathematical <a href="https://2014.igem.org/Team:Aalto-Helsinki/Modeling">model</a> that simulates the interactions of the molecules and function of the gene switch we designed. This revealed interesting phenomena in the dynamics of our system which helps us to better understand the capabilities and limitations of the gene switch. We also made an <a href="http://igem-qsf.github.io/SimCircus/WebUI/">interactive simulation</a> available to everybody to best illustrate how our idea actually works.
| + | There are two key components of our project: |
- | </p>
| + | </p> |
- | <p>
| + | <p> |
- | To control the amount of blue light on our cell cultures, we created the <a href="https://2014.igem.org/Team:Aalto-Helsinki/Research#ledrig-title">LED rig</a> device. This enabled us to perform diverse experiments in order to characterize our light response element. These <a href="https://2014.igem.org/Team:Aalto-Helsinki/Research#Results">results</a> show that our light response element is able to regulate the downstream gene expression precisely. In addition, the response time is in a ten-minute-scale, which enables constant and nearly real-time control over bacterial cultures. In addition, we hypothesize that this system is also applicable to bioreactors, which would enable higher level of control in industrial bioprocesses. However, our fully functional prototype is still under ongoing development.
| + | Richard and Caroline have been working in the Pakrasi lab, and have been using genes from cyanobacteria to get nitrogen fixation working in E. coli . They are testing nitrogen fixation by running acetylene reduction assays and designing experiments to test the optimal criteria (ie. E. coli strains, temperature, pH, nitrogen source) to get maximum results. For more info, visit the |
- | </p>
| + | <a href=""></a> nitrogenase tab. |
- | <p>
| + | </p> |
- | We have developed an open approach to <a href="https://2014.igem.org/Team:Aalto-Helsinki/Business">biotech business</a> inspired by the business models for open source software. Following the Open Source philosophy, we will distribute open Aalto-Helsinki Bioworks technologies for free to everybody - as long as they share the improvements made on the technology. Therefore, we empower our users to participate in product development. Our <a href="https://2014.igem.org/Team:Aalto-Helsinki/Business#canvas-title">business model</a> is based on hardware and wide range of services offered to our customers.
| + | <h3>Who will our project help?</h3> |
- | </p>
| + | <p> |
- | <p>
| + | Our project is the first step of a much larger, much more complex endeavor. Nitrogen overabundance and nitrogen depletion are simultaneously big stumbling blocks in modern agriculture. The solution to both of these problems would be to endow plants themselves with the ability to fix nitrogen so that they could autonomously supply their own nitrogen for proteins, DNA, etc. We are taking the first step towards this ambitious goal by studying how the genes for nitrogen fixation from cyanobacteria work in different environments and constructing an artificial transcriptional system. We are currently working in E. coli because it is easy to engineer, but the next step would be to move into a cyanobacteria more closely related to chloroplasts. We hope that by making these initial steps that we may be helping to pave the way for future research that may put an end to world hunger. |
- | During the summer we participated in Aalto Entrepreneurship Society’s <a href="https://2014.igem.org/Team:Aalto-Helsinki/Business#Sos">Summer of Startups 2014</a> incubator programme to learn the essential entrepreneurial skills, such as pitching, investor relations, customer-driven development and <a href="https://2014.igem.org/Team:Aalto-Helsinki/Business#pitch-title">explaining</a> the science for general audience. See our Demo Day video for details.
| + | </p> |
- | </p>
| + | |
- | <p>
| + | |
- | iGEM is an international experience and as the first Finnish team, we went to find advice and experience around the globe. We contributed to the iGEM community by building a <a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation#Seekers">BioBrick Seeker</a> tool which makes it easy to find parts of your interest in the 2014 BioBrick distribution. This tool has been used by iGEM teams all over the world! We also did a lot of <a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation#Interteam">cooperation</a>, including filling out surveys and having skype conversations and live meetings with current and previous iGEM teams from France, Colombia, Switzerland, USA and the Netherlands. We even made a <a href="http://www.youtube.com/embed/icPgP3OOVOQ?rel=0">video</a> together with ETH Zürich team to Colombia team’s challenge.
| + | |
- | </p>
| + | |
- | <p>
| + | |
- | We wanted to <a href="https://2014.igem.org/Team:Aalto-Helsinki/Outreach">raise awareness</a> about synthetic biology in Finland and also showcase researchers’ work to young people and undergraduate students. Therefore, we have been reaching out to general public, especially young people via <a href="https://2014.igem.org/Team:Aalto-Helsinki/Outreach#SoMe">social media</a>, including <a href="http://www.facebook.com/AaltoHelsinki">Facebook</a>, <a href="http://twitter.com/AaltoHelsinki">Twitter</a>, <a href="http://www.youtube.com/channel/UCEZliqjLu86CRpQlk57FfSw">Youtube</a>, <a href="http://www.flickr.com/photos/aaltohelsinki/">Flickr</a> and our own blog. We’ve shared stories, pictures, videos and experiences to our followers. In addition, we have been featured in radio interviews and articles on magazines and webzines. We also made a silly game: <a href="https://2014.igem.org/Team:Aalto-Helsinki/Flappycoli">Flappy Coli</a>. We have a public team webpage, <a href="http://2014.aaltohelsinki.com/">aaltohelsinki.com</a>, where you can find the latest stories of Aalto Helsinki also in the future. We lifted some of the highlights of this project on a <a href="https://2014.igem.org/Team:Aalto-Helsinki/Journal#Timeline">timeline</a>: the story of Aalto-Helsinki Bioworks is there for you to see!
| + | |
- | </p>
| + | |
- | </div>
| + | |
- | <div class="col-md-6 img-100">
| + | |
- | <img src="https://static.igem.org/mediawiki/2014/a/a2/Aalto_Helsinki_Banner.png" class="img-responsive">
| + | |
- | </div>
| + | |
- | </div>
| + | |
| | | |
| + | </div> |
| + | </div> |
| | | |
- | </article>
| |
- | <article>
| |
| | | |
- | <h2 class="kakspaddingbot">Accomplishments</h2>
| + | </article> |
- | <ul>
| + | <article> |
- | <li>Best undergraduate wiki 2014</li>
| + | |
- | <li>Poster</li>
| + | |
- | <li>Presentation at the Giant Jamboree in Boston</li>
| + | |
- | <li>Background research, design and the creation of a <a href="https://2014.igem.org/Team:Aalto-Helsinki/Research">Three-Channel Gene Switch</a></li>
| + | |
- | <li>Submission of <a href="https://2014.igem.org/Team:Aalto-Helsinki/Research#Parts">three new BioBricks and two new primers to the Registry</a></li>
| + | |
- | <li>Creation of <a href="https://2014.igem.org/Team:Aalto-Helsinki/Business#Plan">an Open Source business model and a business plan</a> for Synthetic Biology Entrepreneurship</li>
| + | |
- | <li>Logo and brand design</li>
| + | |
- | <li><a href="http://youtu.be/tlc7MPY9SE8">Pitch</a> to an audience of 1000+ people</li>
| + | |
- | <li>Participation in the <a href="https://2014.igem.org/Team:Aalto-Helsinki/Business#Sos">Summer of Startups</a>, a startup incubator program</li>
| + | |
- | <li>Connecting with <a href="https://2014.igem.org/Team:Aalto-Helsinki/Outreach">investors and general public</a></li>
| + | |
- | <li>Received 45 000€ in <a href="https://2014.igem.org/Team:Aalto-Helsinki/Team#Sponsors">funding</a></li>
| + | |
- | <li>Drawing attention <a href="https://2014.igem.org/Team:Aalto-Helsinki/Outreach#Media">in the media</a></li>
| + | |
- | <li>BioBrick and Team <a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation#Seekers">Seekers</a></li>
| + | |
- | <li>Collaboration with other <a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation#Interteam">iGEM teams</a></li>
| + | |
- | <li>Participation in the <a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation#Interlab">Measurement Interlab Study</a></li>
| + | |
- | </ul>
| + | |
| | | |
- | </article> | + | <h2 class="kakspaddingbot">Accomplishments</h2> |
- | <article> | + | <ul> |
| + | <li></li> |
| + | </ul> |
| | | |
- | <h2>Categories</h2>
| + | </article> |
| | | |
- | <p>
| + | </div> |
- | Our wiki has seven different categories in addition to this main page. On each of them you can just scroll through the content until you're finished reading. Everything about the subject can be found on one page, additional material is provided when possible and pages discussing similar topics are linked to each other. A submenu will also appear when you start scrolling through the other pages: see the top of the page as you advance in the wiki!
| + | </body> |
- | </p>
| + | |
- | <div class="row row-eq-height">
| + | |
- | <div class="col-md-4 bg feat feat-left bg-team">
| + | |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Team">
| + | |
- | <div class="feattext-container-tall">
| + | |
- | <div class ="feattext-cell">
| + | |
- | <p class="feattext-p">
| + | |
- | <big><big><big>Team</big></big></big><br>
| + | |
- | We are a team of nine Finnish students and we've gotten amazing support during this project.
| + | |
- | </p>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </a>
| + | |
- | </div>
| + | |
- | <div class="col-md-4 bg feat feat-center bg-business">
| + | |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Business">
| + | |
- | <div class="feattext-container-tall">
| + | |
- | <div class ="feattext-cell">
| + | |
- | <p class="feattext-p">
| + | |
- | <big><big><big>Business</big></big></big><br>
| + | |
- | We explored the possibilities of biotech and synthetic biology business.
| + | |
- | </p>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </a>
| + | |
- | </div>
| + | |
- | <div class="col-md-4 bg feat feat-right bg-research">
| + | |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Research">
| + | |
- | <div class="feattext-container-tall">
| + | |
- | <div class ="feattext-cell">
| + | |
- | <p class="feattext-p">
| + | |
- | <big><big><big>Research</big></big></big><br>
| + | |
- | We engineered a three-channel switch that can be controlled with the intensity of blue light.
| + | |
- | </p>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </a>
| + | |
- | </div>
| + | |
- | </div>
| + | |
| | | |
- | <div class="row row-eq-height">
| |
- | <div class="col-md-6 bg feat feat-left bg-modeling">
| |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Modeling">
| |
- | <div class="feattext-container-tall">
| |
- | <div class ="feattext-cell">
| |
- | <p class="feattext-p">
| |
- | <big><big><big>Modeling</big></big></big><br>
| |
- | We made mathematic models of the interactions behind our gene switch.
| |
- | </p>
| |
- | </div>
| |
- | </div>
| |
- | </a>
| |
- | </div>
| |
- | <div class="col-md-6 bg feat feat-right bg-cooperation">
| |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation">
| |
- | <div class="feattext-container-tall">
| |
- | <div class ="feattext-cell">
| |
- | <p class="feattext-p">
| |
- | <big><big><big>Cooperation</big></big></big><br>
| |
- | We got to know other iGEM teams and developed tools for everyone to use.
| |
- | </p>
| |
- | </div>
| |
- | </div>
| |
- | </a>
| |
- | </div>
| |
- | </div>
| |
- | <div class="row row-eq-height">
| |
- | <div class="col-md-6 bg feat feat-left bg-outreach">
| |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Outreach">
| |
- | <div class="feattext-container-tall">
| |
- | <div class ="feattext-cell">
| |
- | <p class="feattext-p">
| |
- | <big><big><big>Outreach</big></big></big><br>
| |
- | We spread the word about iGEM and synthetic biology especially in Finland.
| |
- | </p>
| |
- | </div>
| |
- | </div>
| |
- | </a>
| |
- | </div>
| |
- | <div class="col-md-6 bg feat feat-right bg-journal">
| |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Journal">
| |
- | <div class="feattext-container-tall">
| |
- | <div class ="feattext-cell">
| |
- | <p class="feattext-p">
| |
- | <big><big><big>Journal</big></big></big><br>
| |
- | We documented the project well.
| |
- | </p>
| |
- | </div>
| |
- | </div>
| |
- | </a>
| |
- | </div>
| |
- | </div>
| |
- | <div class="cpright">
| |
- | <p class ="kuvateksti">
| |
- | <a href="http://i-see-faces.deviantart.com/">Photos © Tanja Maria</a>
| |
- | </p>
| |
- | </div>
| |
- | <p>
| |
- | If you find yourself lost (or simply don't know where to start looking for what you'd want to find), <a href="https://static.igem.org/mediawiki/2014/7/73/Aalto_Helsinki_Wiki_Sitemap.png" target="_blank">here's a sitemap to help with the task</a>!
| |
- | </p>
| |
| | | |
- | </article>
| + | </div><script> |
- | </div> | + | $(document).ready(function() { |
- | </body>
| + | |
- | <script> | + | |
- | $(document).ready(function() {
| + | |
| | | |
- | if(location.pathname != "/Team:Aalto-Helsinki") {
| + | if(location.pathname != "/Team:WashU_StLouis") { |
- | $('#navigation a[href^="https://2014.igem.org' + location.pathname + '"]').addClass('active');
| + | $('#navigation a[href^="https://2015.igem.org' + location.pathname + '"]').addClass('active'); |
- | } else $('#navigation a.home').addClass('active');
| + | } else $('#navigation a.home').addClass('active'); |
| }); | | }); |
| </script> | | </script> |
| <script type="text/javascript"> | | <script type="text/javascript"> |
- | // Picture reference script
| + | // Picture reference script |
- | /*
| + | /* |
- | USAGE:
| + | USAGE: |
- | tag img with a ref that is connected to the image, such as:
| + | tag img with a ref that is connected to the image, such as: |
- | <img src="aaltohelsinki.com/testikuva.png" ref="varioskan" />
| + | <img src="aaltohelsinki.com/testikuva.png" ref="varioskan" /> |
- | When you insert a reference in text, put a tag with a ref attribute:
| + | When you insert a reference in text, put a tag with a ref attribute: |
- | <a ref="varioskan"></a>
| + | <a ref="varioskan"></a> |
- | Do not put href attribute, it will be replaced with a link to the image.
| + | Do not put href attribute, it will be replaced with a link to the image. |
- | Moreover, inner html of the anchor tag will be "figure x" where x is the
| + | Moreover, inner html of the anchor tag will be "figure x" where x is the |
- | correct figure number. If span or anchor has "." as the inner html, the
| + | correct figure number. If span or anchor has "." as the inner html, the |
- | caption will be capitalized.
| + | caption will be capitalized. |
- | */
| + | */ |
- | var images = $('img[ref]');
| + | var images = $('img[ref]'); |
- | $.each(images, function(index, e){
| + | $.each(images, function(index, e){ |
- | var referenceName = e.getAttribute("ref");
| + | var referenceName = e.getAttribute("ref"); |
- | if (!e.id){
| + | if (!e.id){ |
- | e.setAttribute("id","figure"+(index+1));
| + | e.setAttribute("id","figure"+(index+1)); |
- | }
| + | } |
- | $.each($('a[ref="'+referenceName+'"]'), function(j, e2){
| + | $.each($('a[ref="'+referenceName+'"]'), function(j, e2){ |
- | e2.setAttribute("href","#"+e.id);
| + | e2.setAttribute("href","#"+e.id); |
- | if (e2.innerHTML == "."){
| + | if (e2.innerHTML == "."){ |
- | e2.innerHTML = "Figure " + (index+1);
| + | e2.innerHTML = "Figure " + (index+1); |
- | } else {
| + | } else { |
- | e2.innerHTML = "figure " + (index+1);
| + | e2.innerHTML = "figure " + (index+1); |
- | }
| + | } |
- | });
| + | }); |
- | $.each($('span[ref="'+referenceName+'"]'), function(j, e2){
| + | $.each($('span[ref="'+referenceName+'"]'), function(j, e2){ |
- | e2.setAttribute("href","#"+e.id);
| + | e2.setAttribute("href","#"+e.id); |
- | if (e2.innerHTML == "."){
| + | if (e2.innerHTML == "."){ |
- | e2.innerHTML = "Figure " + (index+1);
| + | e2.innerHTML = "Figure " + (index+1); |
- | } else {
| + | } else { |
- | e2.innerHTML = "figure " + (index+1);
| + | e2.innerHTML = "figure " + (index+1); |
- | }
| + | } |
- | });
| + | }); |
- | }
| + | } |
- | );
| + | ); |
| | | |
- | // Table reference script
| + | // Table reference script |
- | /*
| + | /* |
- | USAGE:
| + | USAGE: |
- | tag table with a tab that is connected to the table, such as:
| + | tag table with a tab that is connected to the table, such as: |
- | <table ref="intensities" />
| + | <table ref="intensities" /> |
- | When you insert a reference in text, put a tag with a ref attribute:
| + | When you insert a reference in text, put a tag with a ref attribute: |
- | <a tab="intensities"></a>
| + | <a tab="intensities"></a> |
- | Do not put href attribute, it will be replaced with a link to the image.
| + | Do not put href attribute, it will be replaced with a link to the image. |
- | Moreover, inner html of the anchor tag will be "table x" where x is the
| + | Moreover, inner html of the anchor tag will be "table x" where x is the |
- | correct table number. If span or anchor has "." as the inner html, the
| + | correct table number. If span or anchor has "." as the inner html, the |
- | caption will be capitalized.
| + | caption will be capitalized. |
- | */
| + | */ |
- | var tables = $('table[tab], img[tab]');
| + | var tables = $('table[tab], img[tab]'); |
- | $.each(tables, function(index, e){
| + | $.each(tables, function(index, e){ |
- | var tableName = e.getAttribute("tab");
| + | var tableName = e.getAttribute("tab"); |
- | if (!e.id){
| + | if (!e.id){ |
- | e.setAttribute("id","table"+(index+1));
| + | e.setAttribute("id","table"+(index+1)); |
- | }
| + | } |
- | $.each($('a[tab="'+tableName+'"]'), function(j, e2){
| + | $.each($('a[tab="'+tableName+'"]'), function(j, e2){ |
- | e2.setAttribute("href","#"+e.id);
| + | e2.setAttribute("href","#"+e.id); |
- | if (e2.innerHTML == "."){
| + | if (e2.innerHTML == "."){ |
- | e2.innerHTML = "Table " + (index+1);
| + | e2.innerHTML = "Table " + (index+1); |
- | } else {
| + | } else { |
- | e2.innerHTML = "table " + (index+1);
| + | e2.innerHTML = "table " + (index+1); |
- | }
| + | } |
- | });
| + | }); |
- | $.each($('span[tab="'+tableName+'"]'), function(j, e2){
| + | $.each($('span[tab="'+tableName+'"]'), function(j, e2){ |
- | e2.setAttribute("href","#"+e.id);
| + | e2.setAttribute("href","#"+e.id); |
- | if (e2.innerHTML == "."){
| + | if (e2.innerHTML == "."){ |
- | e2.innerHTML = "Table " + (index+1);
| + | e2.innerHTML = "Table " + (index+1); |
- | } else {
| + | } else { |
- | e2.innerHTML = "table " + (index+1);
| + | e2.innerHTML = "table " + (index+1); |
- | }
| + | } |
- | });
| + | }); |
- | }
| + | } |
- | );
| + | ); |
| </script> | | </script> |
| </html> | | </html> |
- | {{:Team:Aalto-Helsinki/footer}} | + | {{:Team:WashU_StLouis/Footer}} |