]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
A different go at the realtime button location. Button is in a
authorSarven Capadisli <csarven@status.net>
Sat, 26 Sep 2009 20:25:47 +0000 (20:25 +0000)
committerSarven Capadisli <csarven@status.net>
Sat, 26 Sep 2009 20:25:47 +0000 (20:25 +0000)
prominent location.

plugins/Realtime/realtimeupdate.js

index 57fe0a843651ebf1d29b28a492623c297aa82a45..a31565177fe3f1b04646de996f92904fd0dcbc9b 100644 (file)
@@ -113,19 +113,19 @@ RealtimeUpdate = {
 
      addPopup: function(url, timeline, iconurl)
      {
-         $('#site_nav_local_views .current a').append('<button id="realtime_timeline" title="Real-time pop window">&#8599;</button>');
+         $('#content').prepend('<button id="realtime_timeline" title="Realtime window">Realtime</button>');
  
          $('#realtime_timeline').css({
-             'margin':'2px 0 0 11px',
-             'background':'transparent url('+ iconurl + ') no-repeat 45% 45%',
-             'text-indent':'-9999px',
-             'width':'16px',
-             'height':'16px',
-             'padding':'0',
+             'margin':'0 0 18px 0',
+             'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
+             'padding':'0 0 0 20px',
              'display':'block',
              'float':'right',
              'border':'none',
-             'cursor':'pointer'
+             'cursor':'pointer',
+             'color':$("a").css("color"),
+             'font-weight':'bold',
+             'font-size':'1em'
          });
  
          $('#realtime_timeline').click(function() {