A different go at the realtime button location. Button is in a

prominent location.
This commit is contained in:
Sarven Capadisli 2009-09-26 20:25:47 +00:00
parent bc2a0f550b
commit 2b6dfbdf2b

View File

@ -113,19 +113,19 @@ RealtimeUpdate = {
addPopup: function(url, timeline, iconurl) 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({ $('#realtime_timeline').css({
'margin':'2px 0 0 11px', 'margin':'0 0 18px 0',
'background':'transparent url('+ iconurl + ') no-repeat 45% 45%', 'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
'text-indent':'-9999px', 'padding':'0 0 0 20px',
'width':'16px',
'height':'16px',
'padding':'0',
'display':'block', 'display':'block',
'float':'right', 'float':'right',
'border':'none', 'border':'none',
'cursor':'pointer' 'cursor':'pointer',
'color':$("a").css("color"),
'font-weight':'bold',
'font-size':'1em'
}); });
$('#realtime_timeline').click(function() { $('#realtime_timeline').click(function() {