Set window resize before openning it up

This commit is contained in:
Sarven Capadisli 2009-11-11 12:34:22 +00:00
parent 3874269a0b
commit af4a54b167

View File

@ -180,7 +180,7 @@ RealtimeUpdate = {
RT.click(function() { RT.click(function() {
window.open(url, window.open(url,
timeline, timeline,
'toolbar=no,resizable=yes,scrollbars=yes,status=yes'); 'toolbar=no,resizable=yes,scrollbars=yes,status=yes,width=500,height=550');
return false; return false;
}); });
@ -188,7 +188,6 @@ RealtimeUpdate = {
initPopupWindow: function() initPopupWindow: function()
{ {
window.resizeTo(500, 550);
$('address').hide(); $('address').hide();
$('#content').css({'width':'93.5%'}); $('#content').css({'width':'93.5%'});