Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

formname.imagename.width/height in Netscape 4.7

Status
Not open for further replies.

mhenley

IS-IT--Management
Aug 25, 2000
27
0
0
US
Yo

I use the following code to do some evaluation on image size.

if (document.frmPrint.image_name.width < *somenumber*){
...

Also use xxxx.height property. Works great in IE5.0 and NetScape6.0, but not Netscape 4.7. I know this probably just isnt' supported, but does anybody know anything off hand that will fix/workaround this?

Thx -Matt H.
 
it's just the way to adress your elements : document.formname.tagname.propertyname is only supported in ie4+ and ns6+
so search here for cross browser/ dom issues, or go to a site (referenced in the FAQ area of this forum ! be sure to check out !!!) , as i don't have time to give you the whole code, but it's been written thousand times ... you first have to check which version of which browser is running, then there are some tricks to make it easier to have cross browser element adressing ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top