uploader.titleFont Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a font format of ActiveX/Java Uploader titles.

Syntax

JavaScript Initialize
$au.uploader({
    //...other params...
    titleFont: "",
    //...other params...
})

Property Value

Type: String

The font format of:

  • tree pane header title;
  • folder pane header title;
  • adding files dialog title;
  • uploading files dialog title;
  • status pane text (always regular, even if the bold style is specified).

See the Remarks section for more details about the font format syntax.

If this property is not specified, a default font is used.

Default value is "".

Remarks

The string which specifies font format has the following syntax:

variable1=value1;variable2=value2;...

Here is a list of supported variables:

VariableDescription
NameFont name. This font should be installed on the client machine, so it is recommended to use only standard font names. When this parameter is not specified, the system default font is used.
SizeFont size. If this parameter is not specified, the system default font size is used.
Style

Font style. The following styles are supported:

  • Bold
  • Italic

You can specify several styles separated with a comma. Example:

Style=Bold,Italic

If this parameter is not specified, regular font is used.

Note

The format string is case insensitive.

Other fonts are specified via the paneFont property.

Example

The following code sets font size at 18px and font style at italic:

JavaScript
var u = $au.uploader({
    id: 'Uploader1',
    titleFont: "Size=18;Style=Italic",
    //...
});

See Also

Reference

Manual