Difference between revisions of "Team:NYU Abu Dhabi"

Line 12: Line 12:
 
     <script>
 
     <script>
 
     window.onload = () => {
 
     window.onload = () => {
         var svg = $(".hero-image");
+
         var svg = document.getElementById("hero-image").content
        console.log(svg);
+
        svg.find(".bio").hover(function() {
+
            $(this).css('cursor','pointer');
+
        }, function() {
+
        $(this).css('cursor','auto');
+
        });
+
 
     }
 
     }
 
     </script>
 
     </script>

Revision as of 08:20, 26 October 2017