Team:Buenos Aires/Pruebas
From 2013.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
p:first-child { display: none;} | p:first-child { display: none;} | ||
/* Wiki Hacks - END */ | /* Wiki Hacks - END */ | ||
+ | |||
+ | |||
+ | #contenedor{ | ||
+ | height:100%; | ||
+ | } | ||
Line 56: | Line 61: | ||
<body> | <body> | ||
- | <contenedor> | + | <div id="contenedor"> |
<div id="ac_background" class="ac_background"> | <div id="ac_background" class="ac_background"> | ||
Line 156: | Line 161: | ||
</div> | </div> | ||
</div> | </div> | ||
- | + | </div> | |
<div class="ac_footer"> | <div class="ac_footer"> | ||
iGem Bs As | iGem Bs As | ||
</div> | </div> | ||
- | + | ||
<!-- The JavaScript --> | <!-- The JavaScript --> | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> | ||
Line 167: | Line 172: | ||
<script src="https://2013.igem.org/Team:Buenos_Aires/css/jquery.pageslide.js?action=raw&ctype=text/js"></script> | <script src="https://2013.igem.org/Team:Buenos_Aires/css/jquery.pageslide.js?action=raw&ctype=text/js"></script> | ||
- | + | <script> | |
/* Default pageslide, moves to the right */ | /* Default pageslide, moves to the right */ | ||
$(".first").pageslide(); | $(".first").pageslide(); | ||
Line 365: | Line 370: | ||
/* makes an image "fullscreen" and centered */ | /* makes an image "fullscreen" and centered */ | ||
adjustImageSize = function($img) { | adjustImageSize = function($img) { | ||
- | var w_w = $( | + | var w_w = $("#contenedor").width(), |
- | w_h = $( | + | w_h = $("#contenedor").height(), |
r_w = w_h / w_w, | r_w = w_h / w_w, | ||
i_w = $img.width(), | i_w = $img.width(), |
Revision as of 18:51, 21 May 2013
<!DOCTYPE html>