HTML DOM IFrame Object>>

IFrame Object

The IFrame object represents an HTML inline frame. For each instance of an HTML <iframe> tag in a document, an IFrame object is created.

IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).

Properties

Property Description IE F N W3C
align Sets or returns how to align the iframe according to the surrounding text 5 1 6 Yes
contentDocument Returns the document the iframe contains -     Yes
frameBorder Sets or returns whether to display a border for the iframe 5     Yes
height Sets or returns the height of the iframe 5     Yes
id Sets or returns the id of the iframe (In IE 4 this property is read-only) 4 1   No
longDesc Sets or returns a URL to a long description of the iframe 6     Yes
marginHeight Sets or returns the top and bottom margins of the iframe 5 1 6 Yes
marginWidth Sets or returns the left and right margins of the frame 5 1 6 Yes
name Sets or returns the name of the iframe 5     Yes
scrolling Sets or returns whether the iframe can be scrolled 5 1 6 Yes
src Sets or returns the URL to be loaded by the iframe 5 1 6 Yes
tabIndex Sets or returns the index that defines the tab order for the iframe 5     No
width Sets or returns the width of the iframe 5     Yes

Methods

Method Description IE F N W3C
blur() Removes focus from the iframe 5     No
focus() Gives focus to the iframe 5     No

Events

Syntax: object.event_name="someJavaScriptCode"

Event Description IE F N W3C
onBlur Executes some code when the iframe loses focus 5     No 
onFocus Executes some code when the iframe gets focus 5     No

 

<< Back








   



MSN Nick Name



More Resources...





Most Viewed Services:
  1. HTML Tutorial
  2. XHTML Tutorial
  3. CSS Tutorial
  4. Javascript Tutorial
  5. DHTML Tutorial
  6. VB Script
  7. TCP/IP Tutorial
  8. ADO Tutorial
  9. MYSQL Tutorial
  10. ASP Tutorial
  11. AJAX Tutorial
  12. CFML Tutorial
  13. PHP Tutorial
  14. WML Tutorial
  15. FLASH Tutorial
  16. XML Tutorial
  17. RSS Tutorial
  18. SQL Tutorial
  19. HTML Articles
  1. Javascript Articles
  2. PHP Articles
  3. SEO Articles
  4. Web Design Articles
  5. SEO Tips
  6. Web Design Tips
  7. Articles
  8. CSS
  9. CSS Tips
  10. HTML Tips
  11. JAVASCRIPT Tips
  12. MYSQL Tips
  13. PHP Tips
  14. Money
  15. Tutorials
  16. Web Hosting



  • Home
  • Web Directory
  • Top Directoriers
  • Webmaster Directories
  • Contact
  • © Copyright 2006 All Rights Reserved By CodeDcode.Com