HTML DOM TableHeader Object>>

TableHeader Object

The TableHeader object represents an HTML table header element. For each instance of an HTML <th> tag in a document, a TableHeader object is created.

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

TableHeader Object Properties

Property Description IE  F N W3C
abbr Sets or returns an abbreviated text for the table header cell (for non-visual media such as speech or Braille) 6     Yes
accessKey Sets or returns the keyboard key to access the table header cell 5     No
align Sets or returns the horizontal alignment of data within the table header cell 4     Yes
axis Sets or returns a comma-delimited list of related table header cells (categories) 6     Yes
background Sets or returns the background image for the table header cell 4     No
bgColor Sets or returns the background color for the table header cell 4     Yes
borderColor Sets or returns the border color of the table header cell 4     No
cellIndex Returns the position of the cell in the cells collection of a row 4     Yes
ch Sets or returns the alignment character for the table header cell 6     Yes
chOff Sets or returns the offset of alignment character for the table header cell 6     Yes
colSpan Sets or returns the number of columns the table header cell should span 4     Yes
headers Sets or returns a list of space-separated header cell ids 6     Yes
height Sets or returns the height of the table header cell 4     No
id Sets or returns the id of the table header cell (In IE 4 this property is read-only) 4     No
innerHTML Sets or returns the HTML between the start and end tags of the table header cell 4     No
innerText Sets or returns the text between the start and end tags of the table header cell 4     No
noWrap Sets or returns a Boolean value indicating whether or not the browser automatically performs word wrap in the table header cell 4     Yes
outerHTML Sets or returns the table header object and its content in HTML 4     No
outerText Sets or returns the text of the table header object 4     No
rowSpan Sets or returns the number of rows the table header cell should span 4     Yes
scope   6     Yes
tabIndex Sets or returns the tab order for the table header cell 5     No
vAlign Sets or returns how header cell content are vertically aligned 4     Yes
width Sets or returns the width of the table header cell 4     Yes

TableHeader Object Methods

Method Description IE F N W3C
blur() Removes focus from the table header cell 5     No
click() Simulates a mouse-click on the table header cell 4     No
focus() Sets focus on the table header cell 5     No

TableHeader Object Events

Syntax: object.event_name="someJavaScriptCode"

Event Description IE F N W3C
onBlur Executes some code when the table header cell loses focus 5      
onClick Executes some code when the user clicks on the table header cell 4      
onFocus Executes some code when the table header cell gets focus 5      
onSelectStart Executes some code when the table header cell is selected 4      

 

<< 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