flash message should slide in

This commit is contained in:
danielvincent 2010-10-10 23:13:03 -07:00
parent 2a24de2ba7
commit 884d7b7dd7
3 changed files with 5 additions and 3 deletions

View file

@ -12,7 +12,9 @@ $(document).ready(function(){
$("label").inFieldLabels();
$('#flash_notice, #flash_error, #flash_alert').delay(4000).animate({
$('#flash_notice, #flash_error, #flash_alert').animate({
top: 0
}).delay(4000).animate({
top: -100
}, $(this).remove());

View file

@ -34,7 +34,7 @@ h3 {
z-index: 100;
position: fixed;
color: white;
top: 0;
top: -100px;
left: 0;
width: 100%;
padding: 1em;

View file

@ -42,7 +42,7 @@ h3
:position fixed
:color #fff
:top 0
:top -100px
:left 0
:width 100%