Difference between revisions of "Template:TecCEM/JsTeam"

Line 5: Line 5:
 
         $(".team .sidebar-index .card-title").text("Hover on a Team member")
 
         $(".team .sidebar-index .card-title").text("Hover on a Team member")
 
         $(".team .sidebar-index .card-text").text("Lorem")
 
         $(".team .sidebar-index .card-text").text("Lorem")
 +
        $(".team .sidebar-index .card-img-top").attr(
 +
            "src",
 +
            "https://via.placeholder.com/400x400"
 +
        )
 
     }
 
     }
 
     $(".teampic#rodrigo")
 
     $(".teampic#rodrigo")
Line 35: Line 39:
 
             $(".team .sidebar-index .card-text").html(
 
             $(".team .sidebar-index .card-text").html(
 
                 "<h4>Hardware designeer</h4><h5>Chantal, Uriel and Ari's Sugar Daddy</h5><p>Santiago Mille is the hardware and software designer. He is currently majoring in Digital Systems & Robotics Engineering. He is a very happy and optimistic person. The things he loves the most are his cat, traveling and visiting new places. Another interesting fact about him is that he likes anime. He considers himself as a cultured boy. He is a big fan of music festivals and science. He thinks he shares good memes (not anymore).</p>"
 
                 "<h4>Hardware designeer</h4><h5>Chantal, Uriel and Ari's Sugar Daddy</h5><p>Santiago Mille is the hardware and software designer. He is currently majoring in Digital Systems & Robotics Engineering. He is a very happy and optimistic person. The things he loves the most are his cat, traveling and visiting new places. Another interesting fact about him is that he likes anime. He considers himself as a cultured boy. He is a big fan of music festivals and science. He thinks he shares good memes (not anymore).</p>"
 +
            )
 +
            $(".team .sidebar-index .card-img-top").attr(
 +
                "src",
 +
                "https://static.igem.org/mediawiki/2018/a/a7/T--TecCEM--mille.JPG"
 
             )
 
             )
 
         })
 
         })
Line 46: Line 54:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#shant")
+
    $(".teampic#shant")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 54: Line 62:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#ara")
+
    $(".teampic#ara")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 62: Line 70:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#uri")
+
    $(".teampic#uri")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 70: Line 78:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#rulo")
+
    $(".teampic#rulo")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 78: Line 86:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#rock")
+
    $(".teampic#rock")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 86: Line 94:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#pam")
+
    $(".teampic#pam")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 94: Line 102:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#ari")
+
    $(".teampic#ari")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 102: Line 110:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#borre")
+
    $(".teampic#borre")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 110: Line 118:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#armando")
+
    $(".teampic#armando")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 118: Line 126:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#edgar")
+
    $(".teampic#edgar")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 126: Line 134:
 
         })
 
         })
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
$(".teampic#majo")
+
    $(".teampic#majo")
 
         .on("mouseenter", function() {
 
         .on("mouseenter", function() {
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
 
             $(".team .sidebar-index .card-title").text("Rodrigo Valencia")
Line 135: Line 143:
 
         .on("mouseleave", def)
 
         .on("mouseleave", def)
 
})
 
})
 
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 23:14, 14 October 2018