[Javascript] IE & NN dom references

Steve White steve at VirtualMechanics.com
Fri Mar 23 09:06:24 CST 2001


But I did find a way to do it in NN

if(isNav4)
ob[Cobj].style.resizeTo(width, height);
else
{
ob[Cobj].geom.width  = width;
ob[Cobj].geom.height = height;
} 

-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Peter-Paul Koch
Sent: Friday, March 23, 2001 7:15 AM
To: javascript at LaTech.edu
Subject: RE: [Javascript] IE & NN dom references




>ob[2].geom.width  = newWidth;
>
>I assume the problem is that "ob[2].geom.width" is not the correct way to 
>access the width in NN.

No, the problem is that you can't change the width of an image in NN4 (not 
sure about NN6).

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list