Menu
Hi i have this script that i downloaded. It resizes the window, it does just fine in MAC-SAFARI, and MAC-INTERNET EXPLORER, but in PC-INTERNET EXPLORER doest work.
heres the code:
[code]
<script language=’javascript’>
var NS = (navigator.appName==”Netscape”)?true:false;
function FitPic() {
iWidth = (NS)?window.innerWidth:document.body.clientWidth;
iHeight = (NS)?window.innerHeight:document.body.clientHeight;
iWidth = document.images[0].width – iWidth+0;
iHeight = document.images[0].height – iHeight + 0;
window.resizeBy(iWidth, iHeight);
self.focus();
};
</script>