javascript Dialog Helper fonts
@March 15, 2008, 1:22 a.m.
fonts | Firefox/Netscape/NN n/a IE 6 Chrome/Safari/DOM n/a |
Read-only | |
Returns a collection of plain-language names of system fonts. Unlike other IE collections, to read the number of items, you must access its Count property, rather than length property. The names of items returned are strings, such as "MS Sans Serif" and "Verdana". Access each item in the collection via the collection's item( ) method. |
|
Example | |
var fontList = dlgHelper.fonts; var fontNames = new Array( ); for (var i = 0; i < fontList.Count; i++) { fontNames [fontNames .length]= fontList .item(i); } |
|
Value | |
Array of strings |
|
Default | |
Implementation-dependent. |
Permanent URL:
http://javascript.gakaa.com/dialog-0-helper-fonts.aspx
Powered by Linode.