Javascript examples for jQuery Method and Property:slideDown
JQuery slidedown effect
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.2.js"></script> <style id="compiled-css" type="text/css"> #error {/*from www . j a v a 2 s.c o m*/ background-color: red; color: white; padding: 10px; } </style> <script type="text/javascript"> $(window).load(function(){ $(function(){ $("#error").hide().slideDown('slow'); }); }); </script> </head> <body> <div id="error"> hello error! </div> </body> </html>