TABMENU-IE6FIX.js 369 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13

function fixFooter(){
		// fix bug for IE6 : footer position invalid
		var wraper = document.getElementById("wrapper");
		var footer = document.getElementById("footer");
		if(wraper) {
			wraper.style.background="#FFF url(../IMAGES/EMPVIEW/BG_SIDEBAR_206.gif) repeat-y";
		}
		if(footer) {
			footer.style.top = "100%";
			footer.style.margin = "-27px 0 0 0 0";
		}
	}