Javascript Reference
Categories: FRAME

javascript FRAME frameBorder

@March 15, 2008, 1:22 a.m.
frameBorderFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Controls whether an individual frame within a frameset displays a border. Controlling individual frame borders appears to be a problem for most browsers in most operating system versions. Turning off the border of one frame may have no effect if all adjacent frames have their borders on. Feel free to experiment with the effects of turning some borders on and some borders off, but be sure to test the final effect on all browsers and operating systems used by your audience. Rely more comfortably on the frameborder attribute or frameBorder property of the entire frameset.

 
Example
 
parent.document.getElementById("frame2").frameBorder = "no";
 
Value

String values of 1 (on) and 0 (off) as well as yes and no.

 
Default

yes


Powered by Linode.