Menu
Hello everyone. I’m new here to the forums and have a quick question about some JavaScript code I’m working on.
In IE, I’m trying to display a resized image to the screen. I recalculate the size by setting iHeight and iWidth. The strange thing is that this code only works if I put an alert on the screen.
alert (“testing”);
$iHeight = 150;
$iWidth = 300;
// This resizes perfectly.
If I have the above code WITHOUT the alert box code, it doesn’t work!! It’s almost as if JavaScript just skips right over the code.
Any suggestions? This is really driving me nuts!!
Thanks MUCH in advance!!!