html - Hide and than Show a Div - Jquery -
i'm creating html5 game , want have new div (containing main menu) pop when click enter button on splash page. i've been successful having main menu div pop when clicking button , hiding splash page, have not been able hide main menu page before clicking button, appears when page loading disappears supposed to. hope makes sense. in advance assistance
$("#mainmenu").hide(); $("#enter").click(function () { $("#main").hide(); $("#mainmenu").show(); return false;
});
$( "#mainmenu" ).hide( "slow", function() { //insert show query here });
Comments
Post a Comment