Line 2: | Line 2: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
− | |||
− | |||
− | |||
− | |||
$(".teampic#rodrigo") | $(".teampic#rodrigo") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Rodrigo Valencia") | $(".team .sidebar-index .card-title").text("Rodrigo Valencia") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 17: | Line 13: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#karla") | $(".teampic#karla") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Karla Soto") | $(".team .sidebar-index .card-title").text("Karla Soto") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 25: | Line 21: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#joel") | $(".teampic#joel") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Joel Lara") | $(".team .sidebar-index .card-title").text("Joel Lara") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 37: | Line 33: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#mille") | $(".teampic#mille") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Santiago Mille") | $(".team .sidebar-index .card-title").text("Santiago Mille") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 49: | Line 45: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#alex") | $(".teampic#alex") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Alejandro Mejorada") | $(".team .sidebar-index .card-title").text("Alejandro Mejorada") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 61: | Line 57: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#shant") | $(".teampic#shant") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Chantal Ravelo") | $(".team .sidebar-index .card-title").text("Chantal Ravelo") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 73: | Line 69: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#ara") | $(".teampic#ara") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Arantxa Karam") | $(".team .sidebar-index .card-title").text("Arantxa Karam") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 85: | Line 81: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#uri") | $(".teampic#uri") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Uriel Ortega") | $(".team .sidebar-index .card-title").text("Uriel Ortega") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 97: | Line 93: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#rulo") | $(".teampic#rulo") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Raúl García") | $(".team .sidebar-index .card-title").text("Raúl García") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 109: | Line 105: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#rock") | $(".teampic#rock") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Rodrigo David") | $(".team .sidebar-index .card-title").text("Rodrigo David") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 121: | Line 117: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#pam") | $(".teampic#pam") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Pameja Jiménez") | $(".team .sidebar-index .card-title").text("Pameja Jiménez") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 133: | Line 129: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#ari") | $(".teampic#ari") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Ariadna Vázquez") | $(".team .sidebar-index .card-title").text("Ariadna Vázquez") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 145: | Line 141: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#borre") | $(".teampic#borre") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Juan Carlos Rueda") | $(".team .sidebar-index .card-title").text("Juan Carlos Rueda") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 157: | Line 153: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#armando") | $(".teampic#armando") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Armando Cortés") | $(".team .sidebar-index .card-title").text("Armando Cortés") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 169: | Line 165: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#edgar") | $(".teampic#edgar") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("Edgar Contreras") | $(".team .sidebar-index .card-title").text("Edgar Contreras") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 181: | Line 177: | ||
) | ) | ||
}) | }) | ||
− | + | ||
$(".teampic#majo") | $(".teampic#majo") | ||
− | .on(" | + | .on("click", function() { |
$(".team .sidebar-index .card-title").text("María José Ugarte") | $(".team .sidebar-index .card-title").text("María José Ugarte") | ||
$(".team .sidebar-index .card-text").html( | $(".team .sidebar-index .card-text").html( | ||
Line 193: | Line 189: | ||
) | ) | ||
}) | }) | ||
− | + | ||
function preloadImages(array) { | function preloadImages(array) { | ||
if (!preloadImages.list) { | if (!preloadImages.list) { | ||
Line 230: | Line 226: | ||
"https://static.igem.org/mediawiki/2018/6/60/T--TecCEM--majo.JPG" | "https://static.igem.org/mediawiki/2018/6/60/T--TecCEM--majo.JPG" | ||
]) | ]) | ||
− | }) | + | })</script> |
− | + | ||
− | </script> | + | |
</html> | </html> |
Revision as of 00:28, 15 October 2018