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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -