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
|
%br
|
||||||
%time
|
%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
|
:width 30px
|
||||||
|
|
||||||
#notifications_overlay
|
#notifications_overlay
|
||||||
display: none
|
:display none
|
||||||
position: absolute
|
:position absolute
|
||||||
border: 4px solid black
|
:border 4px solid black
|
||||||
background-color: white
|
:background
|
||||||
width: 700px
|
:color white
|
||||||
padding: 10px
|
:width 700px
|
||||||
top: 75.5px
|
:padding 10px
|
||||||
left: 217.5px
|
:top 75.5px
|
||||||
|
:left 217.5px
|
||||||
|
a.close
|
||||||
|
:float right
|
||||||
|
:text-decoration none
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue