Biomod/2011/IITM/AcidArtists

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Line 219: Line 219:
var name;
var name;
$(".picture").click(function(){
$(".picture").click(function(){
-
name="#"+
+
name="#"+$(this).attr(title);
$("#data_container").fadeIn();
$("#data_container").fadeIn();
-
$("#video").fadeOut();
+
$(name).fadeIn();
});
});
$("#close_dialog").click(function(){
$("#close_dialog").click(function(){
$("#data_container").fadeOut();
$("#data_container").fadeOut();
 +
$(name).fadeOut();
});
});

Revision as of 16:32, 2 November 2011




Personal tools