Skip to content

Commit

Permalink
menu com efeito agora
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowBelmolve committed Apr 18, 2009
1 parent 7b1d005 commit 2d28545
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ $.fn.subMenu = function() {
var submenu = $(menu).find('ul')

$(menu).hover(function(){
$(submenu).css('visibility', 'visible')
$(submenu).fadeIn(500)
},function(){
$(submenu).css('visibility','hidden')
$(submenu).fadeOut(500)
})
}

Expand Down
2 changes: 1 addition & 1 deletion public/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ form.formtastic li.error { background-color: #fdd; border: 1px solid #fb

/* Submenu */
ul.submenu, ul.submenu2 {
visibility : hidden;
display : none;
position: absolute;
background-color: #e2e2e2 ;
padding: 10px 0;
Expand Down

0 comments on commit 2d28545

Please sign in to comment.