diff options
author | Sarven Capadisli <csarven@status.net> | 2009-09-30 12:48:15 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-09-30 12:48:15 +0000 |
commit | d9e7118a33181407f0ee1a61c435ef001a736754 (patch) | |
tree | b3c4a58d3b2a0ba87ec815af15d81090667d933a /plugins/Realtime | |
parent | 267ab67c8325243d176e1124f2024c7b08417f37 (diff) |
Relocated the button for pop up window for notice stream
Diffstat (limited to 'plugins/Realtime')
-rw-r--r-- | plugins/Realtime/realtimeupdate.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index 4cd68a816..3303d3a44 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -125,14 +125,17 @@ RealtimeUpdate = { addPopup: function(url, timeline, iconurl) { - $('#content').prepend('<button id="realtime_timeline" title="Pop up in a window">Pop up</button>'); + $('#notices_primary').css({'position':'relative'}); + $('#notices_primary').prepend('<button id="realtime_timeline" title="Pop up in a window">Pop up</button>'); $('#realtime_timeline').css({ - 'margin':'0 0 18px 0', + 'margin':'0 0 11px 0', 'background':'transparent url('+ iconurl + ') no-repeat 0% 30%', 'padding':'0 0 0 20px', 'display':'block', - 'float':'right', + 'position':'absolute', + 'top':'-20px', + 'right':'0', 'border':'none', 'cursor':'pointer', 'color':$("a").css("color"), |