How does Sitepoint do that Ninja ad?

Really like the way Sitepoint has that Banner that appears at the top of the page inviting members to buy The ninja JS book, and yes Ive bought it because I’m in the beggining of learning Java script.

MY question is please can anyone give ma an insight into how you create top banners with that appear then disappear effect…

Any insights welcome :slight_smile:

Maybe you’ll find out once you read the book you ordered :slight_smile: The visual effects are jQuery. You can view the code for it by viewing source of this page.

Here’s the jQuery reference on animations, which that promo uses:
http://api.jquery.com/category/effects/

specifically they’re using .animate() and defining the custom animations in http://sitepointstatic.com/js/ninja.js