DimpCore.DMenu.addElement(bid + '_img', 'ctx_' + ctx, { offset: bidelt.up(), left: true });
},
+ resizeWindow: function()
+ {
+ var mb = $('msgData').down('DIV.msgBody');
+
+ mb.setStyle({ height: (document.viewport.getHeight() - mb.cumulativeOffset()[1] - parseInt(mb.getStyle('paddingTop'), 10) - parseInt(mb.getStyle('paddingBottom'), 10)) + 'px' });
+ },
+
onDomLoad: function()
{
DimpCore.growler_log = false;
$('msgLogInfo').show();
DimpCore.updateMsgLog(this.log);
}
+
+ this.resizeWindow();
}
};
/* Attach event handlers. */
document.observe('dom:loaded', DimpFullmessage.onDomLoad.bind(DimpFullmessage));
+Event.observe(window, 'resize', DimpFullmessage.resizeWindow.bind(DimpFullmessage));