Template:SJTU-Software/requirementJs

$(document).ready(function(){ $('area').click(open); $('.am-close').click(close) });


var open = function(){ var id = $(this).attr("href"); $(id).css("display","block"); } var close = function(){ $(this).parent().css("display","none"); }