Difference between revisions of "Team:NYU Abu Dhabi"

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

Revision as of 08:16, 26 October 2017