# Font Property The Font property contains information about the font used for text in the address field. Syntax
    document.all["id_name"].Font [=IFontDisp]
Possible Values
    IFontDisp that specifies or retrieves the font used for the text.
The property is read/write. Remarks Since the Font property is an IFontDisp interface, access to the properties of the interface is possible. They are as follows: Name, Size, Bold, Italic, Underline, Strikethrough, Weight, and Charset. Examples The following example shows the FontName property when the link is clicked.
    <html>
    <head>
    <SCRIPT TYPE="text/javascript">
    function ShowProp()
    {
       alert(document.all['URLComboBox'].Font.Name);
    }
    </SCRIPT>
    </head>
    <body>
    <OBJECT ID="URLComboBox" width="300" height="22px"
    CLASSID="CLSID:973BD82B-0F81-4C42-A222-C42CA47DA1D3">
      <PARAM NAME="BackColor" value="16777215">
      <PARAM NAME="FontName" VALUE="Tahoma">
      <PARAM NAME="FontSize" VALUE="8.00">
      <PARAM NAME="FontBold" VALUE="0">
      <PARAM NAME="FontItalic" VALUE="0">
      <PARAM NAME="ForeColor" VALUE="65280">
    </OBJECT>
    <br><br>
    <a href="javascript:ShowProp()">Show FontName property</a>
    </body>
    </html>
Applies to SiteKiosk v5.0 (and later versions). Back to top