close link for notifications ajax
This commit is contained in:
parent
cba7a1a577
commit
bc874e92cd
3 changed files with 20 additions and 8 deletions
|
|
@ -14,3 +14,6 @@
|
|||
|
||||
%br
|
||||
%time
|
||||
= link_to("all of them", notifications_path)
|
||||
%a.close{:href => "#" }
|
||||
close
|
||||
|
|
@ -33,4 +33,9 @@ $(function() {
|
|||
});
|
||||
});
|
||||
|
||||
$("#notifications_overlay").delegate('a.close', 'click', function() {
|
||||
console.log("hi!");
|
||||
$('#notifications_overlay').hide();
|
||||
});
|
||||
|
||||
});
|
||||
|
|
@ -3056,12 +3056,16 @@ ul#left_nav
|
|||
:width 30px
|
||||
|
||||
#notifications_overlay
|
||||
display: none
|
||||
position: absolute
|
||||
border: 4px solid black
|
||||
background-color: white
|
||||
width: 700px
|
||||
padding: 10px
|
||||
top: 75.5px
|
||||
left: 217.5px
|
||||
:display none
|
||||
:position absolute
|
||||
:border 4px solid black
|
||||
:background
|
||||
:color white
|
||||
:width 700px
|
||||
:padding 10px
|
||||
:top 75.5px
|
||||
:left 217.5px
|
||||
a.close
|
||||
:float right
|
||||
:text-decoration none
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue