Team:Buenos Aires/Pruebas
From 2013.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
/* Author: Pieter van Boheemen */ | /* Author: Pieter van Boheemen */ | ||
/* Team: TU Delft */ | /* Team: TU Delft */ | ||
- | #globalWrapper {background-color: transparent; border: none; margin: 0; padding: 0; width: 100%; height:100%;} | + | #globalWrapper { background-color: transparent; border: none; margin: 0; padding: 0; width: 100%; height:100%;} |
#content { background-color: transparent; border: none; padding: 0; margin: 0; width: 100%; overflow: scroll; height:100%;overflow:hidden;} | #content { background-color: transparent; border: none; padding: 0; margin: 0; width: 100%; overflow: scroll; height:100%;overflow:hidden;} | ||
#bodyContent {background-color:transparent; border: none; padding:0; margin:0; width:100%; height:100%;} | #bodyContent {background-color:transparent; border: none; padding:0; margin:0; width:100%; height:100%;} | ||
Line 81: | Line 81: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="http://www.toxicwatersolution.com/images/water-filter-drop.jpg">Results</a> |
<div class="ac_subitem"> | <div class="ac_subitem"> | ||
<span class="ac_close"></span> | <span class="ac_close"></span> | ||
Line 99: | Line 99: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="http://s17.postimg.org/bp7obatz3/background.png">Team</a> |
<div class="ac_subitem"> | <div class="ac_subitem"> | ||
<span class="ac_close"></span> | <span class="ac_close"></span> | ||
Line 321: | Line 321: | ||
new_w,new_h, | new_w,new_h, | ||
new_left,new_top; | new_left,new_top; | ||
- | |||
- | |||
- | + | if(r_w > r_i){ | |
- | new_h = | + | new_h = w_h; |
- | new_w = | + | new_w = w_h / r_i; |
- | + | } | |
+ | else{ | ||
+ | new_h = w_h * r_i; | ||
+ | new_w = w_w * r_i; | ||
+ | } | ||
$img.css({ | $img.css({ |
Revision as of 00:14, 27 May 2013