jQuery Fade a div off the screen

Posted by Scott B on Stack Overflow See other posts from Stack Overflow or by Scott B
Published on 2010-03-16T12:09:46Z Indexed on 2010/03/16 12:16 UTC
Read the original article Hit count: 137

Filed under:

In my app, I have a temporary div that is shown each time the app is saved (see markup below). I'm using jQuery 1.4.2 and would like to know the command that will fade this div off the screen after 3 seconds...

<script src="../wp-content/themes/mytheme/jquery-1.4.2.min.js" type="text/javascript"></script>
if ($_REQUEST['saved']) echo '<div id="message" class="updated fade"><p>'.$themename.' settings saved.</strong></p></div>';

© Stack Overflow or respective owner

Related posts about jQuery