Template:ETHZ Basel10 Teaser
From 2010.igem.org
(Difference between revisions)
Line 145: | Line 145: | ||
//Set Variables | //Set Variables | ||
var imgAlt = $(this).find('img').attr("alt"); //Get Alt Tag of Image | var imgAlt = $(this).find('img').attr("alt"); //Get Alt Tag of Image | ||
- | var imgTitle = $(this).find(' | + | var imgTitle = $(this).find('lk').attr("href"); //Get Main Image URL |
var imgDesc = $(this).find('.block').html(); //Get HTML of block | var imgDesc = $(this).find('.block').html(); //Get HTML of block | ||
var imgDescHeight = $(".main_image").find('.block').height(); //Calculate height of block | var imgDescHeight = $(".main_image").find('.block').height(); //Calculate height of block | ||
Line 197: | Line 197: | ||
<ul> | <ul> | ||
<li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Introduction/Motivation'"> | <li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Introduction/Motivation'"> | ||
- | < | + | <lk href="https://static.igem.org/mediawiki/2010/8/84/ETHZ_Basel_teaser_project.png"><img src="https://static.igem.org/mediawiki/2010/b/bd/ETHZ_Basel_teaser_project_thumb.png"> |
<div class="block"> | <div class="block"> | ||
<a href="https://2010.igem.org/Team:ETHZ_Basel/Introduction/Motivation" class="teaserlink"> | <a href="https://2010.igem.org/Team:ETHZ_Basel/Introduction/Motivation" class="teaserlink"> | ||
Line 208: | Line 208: | ||
</li> | </li> | ||
<li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Introduction/Movie'"> | <li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Introduction/Movie'"> | ||
- | < | + | <lk href="https://static.igem.org/mediawiki/2010/8/84/ETHZ_Basel_teaser_project.png"><img src="https://static.igem.org/mediawiki/2010/b/bd/ETHZ_Basel_teaser_project_thumb.png"> |
<div class="block"> | <div class="block"> | ||
<a href="https://2010.igem.org/Team:ETHZ_Basel/Introduction/Movie" class="teaserlink"> | <a href="https://2010.igem.org/Team:ETHZ_Basel/Introduction/Movie" class="teaserlink"> | ||
Line 219: | Line 219: | ||
</li> | </li> | ||
<li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Biology'"> | <li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Biology'"> | ||
- | < | + | <lk href="https://static.igem.org/mediawiki/2010/3/3f/ETHZ_Basel_teaser_biology.png"><img src="https://static.igem.org/mediawiki/2010/f/f9/ETHZ_Basel_teaser_biology_thumb.png"> |
<div class="block"> | <div class="block"> | ||
<a href="https://2010.igem.org/Team:ETHZ_Basel/Biology" class="teaserlink"> | <a href="https://2010.igem.org/Team:ETHZ_Basel/Biology" class="teaserlink"> | ||
Line 230: | Line 230: | ||
</li> | </li> | ||
<li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Modeling'"> | <li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Modeling'"> | ||
- | < | + | <lk href="https://static.igem.org/mediawiki/2010/1/16/ETHZ_Basel_teaser_molecular_models.png"><img src="https://static.igem.org/mediawiki/2010/1/1f/ETHZ_Basel_teaser_molecular_models_thumb.png"> |
<div class="block"> | <div class="block"> | ||
<a href="https://2010.igem.org/Team:ETHZ_Basel/Modeling" class="teaserlink"> | <a href="https://2010.igem.org/Team:ETHZ_Basel/Modeling" class="teaserlink"> | ||
Line 241: | Line 241: | ||
</li> | </li> | ||
<li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/InformationProcessing'"> | <li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/InformationProcessing'"> | ||
- | < | + | <lk href="https://static.igem.org/mediawiki/2010/2/21/ETHZ_Basel_teaser_information_processing.png"><img src="https://static.igem.org/mediawiki/2010/5/52/ETHZ_Basel_teaser_information_processing_thumb.png"> |
<div class="block"> | <div class="block"> | ||
<a href="https://2010.igem.org/Team:ETHZ_Basel/InformationProcessing" class="teaserlink"> | <a href="https://2010.igem.org/Team:ETHZ_Basel/InformationProcessing" class="teaserlink"> | ||
Line 252: | Line 252: | ||
</li> | </li> | ||
<li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Achievements'"> | <li class="" onclick="document.location.href='https://2010.igem.org/Team:ETHZ_Basel/Achievements'"> | ||
- | < | + | <lk href="https://static.igem.org/mediawiki/2010/9/90/ETHZ_Basel_teaser_achievements.png"><img src="https://static.igem.org/mediawiki/2010/b/b1/ETHZ_Basel_teaser_achievements_thumb.png"> |
<div class="block"> | <div class="block"> | ||
<a href="https://2010.igem.org/Team:ETHZ_Basel/Achievements" class="teaserlink"> | <a href="https://2010.igem.org/Team:ETHZ_Basel/Achievements" class="teaserlink"> |
Revision as of 08:49, 20 October 2010