javascript - How to make a DIV pop out from nowhere Jquery? -


so have game want show 2 numbers. want these numbers come out nowhere, perhaps button of screen , travel , disappear.

i looking through jquery website, couldn't find similar.

heres example wrote:

$(document).ready(function() {   $("button").click(function(){     $('.count').html(parseint($('.count').html())+1);      //allow time animation finish before next click     $('button').hide();     window.settimeout(function(){$('button').show();},3000);       $("div").css("bottom","-20px");     $("div").animate({bottom: '1200px'}, 2000);   }) }); 

https://jsfiddle.net/xop36gcs/4/


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -