

style.border="none" // For IE.Get the Code! Copied! Use a different Browser Browser not compatible. Scrolling: These attributes control whether the scrollbar will show or not to the frame. Marginheight: This allows you to define space between the top & bottom of the frame. Marginwidth: Allows you to define space between the left & right sides of the frame. tAttribute("frameBorder", "0") // For other browsers (just a backup for the above). Value 1 is to show border & 0 not to show border to the frame. Var iFrameElements = ("iframe") įor (var i = 0 i < iFrameElements.length i++) Took me MANY hours of working to the anycodings_noborder point of despair to figure this out.Įnjoy. (or just let anycodings_noborder IE look fugly-my current favorite anycodings_noborder option ) ) If that anycodings_noborder happens, your only option is to set it anycodings_noborder before it is generated, as others have anycodings_noborder noted, or use the non-standard anycodings_noborder frameBorder="0" attribute. Otherwise the anycodings_noborder script will get "access denied" errors anycodings_noborder in the IE error console. Note: The IE part will only work (of anycodings_noborder course) if the parent window and iframe anycodings_noborder are from the SAME origin (same domain, anycodings_noborder port, protocol etc.). Likewise, the height is set using the iframe height attribute. The syntax is: scrolling'no' The width of the iframe is set using the iframe width attribute. The scrollbars can be removed by using the iframe scrolling attribute. The src attribute defines the URL of the page to embed. Use middle border and frameborder set at zero however the marginwidth and height should remain at 1 so that Netscape recognizes it.
This appears to work because IE creates anycodings_noborder the border, not on the iframe element as anycodings_noborder you'd expect, but on the CONTENT of the anycodings_noborder iframe-after the iframe is created in anycodings_noborder the BOM. Some browsers may try to add scrollbars when they are not desired. The HTML