/ Published in: jQuery
                    
                                        
if you are using jquery 1.4 you can simple do
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<script type="text/javascript">
$(document).ready(function(){
$(".trigger").click(function(){
$(".panel").show("fast").delay(2000).hide("fast");
});
});
</script>
//You can change the delay time "1000 = 1 sec" and effect with
//slide effect
$(".panel").slideDown("fast").delay(4000).slideUp("fast");
//fade effect
$(".panel").fadeIn("fast").delay(2000).fadeOut("fast");
URL: http://www.blueicestudios.com
Comments
 Subscribe to comments
                    Subscribe to comments
                
                