Difference between revisions of "Team:Virginia/Parts"
Line 229: | Line 229: | ||
jQuery(document).ready(function(){ | jQuery(document).ready(function(){ | ||
$(".popup").fadeOut("fast"); | $(".popup").fadeOut("fast"); | ||
− | $("table tr:nth-child(1) a").click(function(){ | + | $("table tr:nth-child(1) a img").click(function(){ |
$("#popup-1").fadeIn("fast"); | $("#popup-1").fadeIn("fast"); | ||
}); | }); | ||
Line 235: | Line 235: | ||
$("#popup-1").fadeOut("fast"); | $("#popup-1").fadeOut("fast"); | ||
}); | }); | ||
− | $("table tr:nth-child(5) a").click(function(){ | + | $("table tr:nth-child(5) a img").click(function(){ |
$("#popup-5").fadeIn("fast"); | $("#popup-5").fadeIn("fast"); | ||
}); | }); | ||
Line 243: | Line 243: | ||
− | $("table tr:nth-child(2) a").click(function(){ | + | $("table tr:nth-child(2) a img").click(function(){ |
$("#popup-2").fadeIn("fast"); | $("#popup-2").fadeIn("fast"); | ||
}); | }); | ||
Line 251: | Line 251: | ||
− | $("table tr:nth-child(3) a").click(function(){ | + | $("table tr:nth-child(3) a img").click(function(){ |
$("#popup-3").fadeIn("fast"); | $("#popup-3").fadeIn("fast"); | ||
}); | }); | ||
Line 259: | Line 259: | ||
− | $("table tr:nth-child(4) a").click(function(){ | + | $("table tr:nth-child(4) a img").click(function(){ |
$("#popup-4").fadeIn("fast"); | $("#popup-4").fadeIn("fast"); | ||
}); | }); |
Revision as of 14:39, 18 September 2015