mirror of
https://github.com/Mibew/tray.git
synced 2025-01-23 02:20:35 +03:00
fix ie6 layout
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@623 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
2d42041062
commit
6bd70e088f
@ -3,9 +3,9 @@ window.attachEvent('onresize', mkwidth);
|
|||||||
|
|
||||||
function mkwidth(){
|
function mkwidth(){
|
||||||
if(document.getElementById("wrap700")) {
|
if(document.getElementById("wrap700")) {
|
||||||
document.getElementById("wrap700").style.width = document.documentElement.clientWidth < 700 ? "750px" : "100%";
|
document.getElementById("wrap700").style.width = document.documentElement.clientWidth < 750 ? "750px" : "100%";
|
||||||
}
|
}
|
||||||
if(document.getElementById("wrap400")) {
|
if(document.getElementById("wrap400")) {
|
||||||
document.getElementById("wrap400").style.width = document.documentElement.clientWidth < 400 ? "450px" : "100%";
|
document.getElementById("wrap400").style.width = document.documentElement.clientWidth < 450 ? "450px" : "100%";
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user