Edwin Edwin - 2 years ago 65
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.

Answer Source

Heres an example that i just wrote:

$(document).ready(function() {

    //allow time for animation to finish before next click

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


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download