tray/src/messenger/webim/js/ie.js
Evgeny Gryaznov dc3c6ebdaa Update views with a new layout
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@402 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-03-12 01:07:35 +00:00

8 lines
248 B
JavaScript

window.attachEvent('onload', mkwidth);
window.attachEvent('onresize', mkwidth);
var minwidth = 700;
function mkwidth(){
document.getElementById("wrap").style.width = document.documentElement.clientWidth < minwidth ? minwidth+"px" : "100%";
};