Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"

Line 103: Line 103:
  
 
$("img").each(function(){
 
$("img").each(function(){
 
+
$(this).on("click", function(){
href = $(this).src
+
window.location = $(this).attr("src")
alert(href);
+
});
 
+
$(this).css('cursor','move');
 
});
 
});
  

Revision as of 16:08, 28 July 2015