Edwin Edwin - 9 months ago 24
jQuery Question

How to make a DIV pop out from nowhere Jquery?

So I have a game where I want to show two numbers. But I want these numbers to come out from nowhere, perhaps from the button of the screen and they travel up and then disappear.

I was looking through the Jquery website, but I couldn't find anything similar.


Heres an example that i just wrote:

$(document).ready(function() {

    //allow time for animation to finish before next click

    $("div").animate({bottom: '1200px'}, 2000);