Not working on IE
Though an experienced programmer, I'm a Javasript beginner!
The code below is not complete. I'm just trying to get the values, and afterward I'll use them to resize my image. Please help me find out why this code tests ok in Chrome but shows "undefined" values in IE.
<body style="color:white;" onload="Resize()">
document.write ("doc size= ", document.width, " ", document.height);
document.write (" im size= ", im.width, " ", im.height);
document.write (" space= ", im.hspace, " ", im.vspace);
<img id="logo" src="Images/HomeSmall.gif" />
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)