PDA

View Full Version : Accessing the framborder of an IFRAME


hazel
10-07-2002, 10:52 AM
Can anyone help me with setting the framBorder property of an IFRAME element from IE5+/NS6+

I looked through all the properties but didn't find any solution.

Thanks

Hazel

glenngv
10-07-2002, 11:09 AM
this works with NS6 but doesnt work with IE5.5 though there's no error:

document.getElementById('iFrameID').frameBorder=0

hazel
10-07-2002, 12:23 PM
I know, because there is no property frameborder at the object level of an IFRAME. It is just an undefined property which will be asigned a value of 1.

Does anyone know where this ... frameborder property is hidden in IE?

r