Specification of the configuration file

PREV
NEXT

The following example shows the basic structure of configuration XML file:

<?xml version = "1.0" encoding = "utf-8"> 
<config 
  xmlSource = "catalogue.xml"
  serverScript = ""
  spacingHeight = "170"
  autoFirstItem = "false"
  popupWindowName = "My popup window"
  popupAutoClose = "false"
  popupMenuDisabled = "false"
  controlsColor = "0x909090"
  controlsHighlight = "0xC0C0C0"
  controlsIconColor = "0xFFFFFF"
  controlsBorderColor = "0x707070"
  textFontFamily = "Tahoma"
  textFontSize = "11"
  textFontColor = "0x505050"
  numberFontColor = "0x202020"
  descLineSpacing = "-2"
  captionFontColor = "0xFF5500"
  captionFontBold = "false"
  linkColor = "0xFF5500"
  linkHighlight = "0xFF7700"
  linkUnderline = "true"
  linkUnderlineRollOver = "false"
  photoWidth = "300"
  photoHeight = "200"
  photoBgColor = "0xD5D5D5"
  photoBgTransparent = "100"
  photoBorderWidth = "1"
  photoBorderColor = "0x707070"
  photoBorderTransparent = "100"
  photoScaleMode = "Fill"
  photoAction = "Enlarge"
  loadingStyle = "Bytes"
  thumbColumns = "7"
  thumbWidth = "105"
  thumbHeight = "75"
  thumbCollapseHeight = "5"
  thumbLineSpacing = "1"
  thumbColor = "0x505050"
  thumbHighlight = "0xFF5500"
  thumbDisabledColor = "0xD0D0D0">
</config>

Attributes

  • xmlSource

    The absolute or relative URL of the XML file with the structure of the contents of the component. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://. Read more information about XML content file in the topic 'Working with XML content'.

  • serverScript

    The absolute or relative URL of the ASPX or PHP file is used. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://. Read more information about server script in the topic 'Using server scripts'.

  • spacingHeight

    The spacing height between categories and thumnails of the item.

  • autoFirstItem

    Indicates that initially will be loaded the first image of the first category.

  • popupWindowName

    The title name of the popup window.

  • popupAutoClose

    A Boolean value that indicates that the popup window is automatically closed (true) or not (false).

  • popupMenuDisabled

    A Boolean value that indicates whether the context menu of the popup window is disable.

  • controlsColor

    The color of the controls.

  • controlsHighlight

    The highlight color of the controls.

  • controlsIconColor

    The color of the icon of the controls.

  • controlsBorderColor

    The color of the border of the controls.

  • textFontFamily

    The font name for text.

  • textFontSize

    The point size for the font.

  • textFontColor

    The text color.

  • numberFontColor

    The color of the number of the thumbnails.

  • descLineSpacing

    The width of space between lines of text in the description, in pixels.

  • captionFontColor

    The color of the caption.

  • captionFontBold

    Specifies whether the caption is boldface.

  • linkColor

    The color of the hyperlink.

  • linkHighlight

    The highlight color of the hyperlink.

  • linkUnderline

    A Boolean value that indicates whether hyperlinks are underlined (true) or not (false).

  • linkUnderlineRollOver

    A Boolean value that indicates whether hyperlinks are underlined if you hover the mouse over them (true) or not (false).

  • photoWidth

    The width of the photo, in pixels.

  • photoHeight

    The height of the photo, in pixels.

  • photoBgColor

    The background color of the photo.

  • photoBgTransparent

    Indicates the alpha transparency value of the background of the photo. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • photoBorderWidth

    The width of the border of the photo, in pixels.

  • photoBorderColor

    The color of the border of the photo.

  • photoBorderTransparent

    Indicates the alpha transparency value of the border of the photo. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • photoScaleMode

    The photoScaleMode property determines how the photo contents are adjusted. This property can be set to Fit and Fill values. Fits to the entire photo cell or fills the entire photo cell with an image, cropping the edges of the image as necessary.

  • photoAction

    The action, which happen when mouse click on the photo. Acceptable values are "None", "Enlarge" and "GetLink".

  • loadingStyle

    A string that specifies how to display the progress loading slide. Acceptable values are "Bytes" and "Percent".

  • thumbColumns

    The number of thumbnails in the row.

  • thumbWidth

    The width of the thumbnails, in pixels.

  • thumbHeight

    The height of the thumbnails, in pixels.

  • thumbCollapseHeight

    The height of the thumbnails in the collapse, in pixels.

  • thumbLineSpacing

    The width of space between thumbnails, in pixels.

  • thumbColor

    The color of the thumbnails.

  • thumbHighlight

    The highlight color of the thumbnails.

  • thumbDisabledColor

    The disabled color of the thumbnails.