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 = "gallery.xml"
  serverScript = ""
  descriptionTagId = "flash_description"
  descriptionTargetWindow = "_self"
  frameBgColor = "0xC2C9C8"
  frameBgTransparent = "1"
  frameCornerRadius = "15"
  tabFontFamily = "Tahoma"
  tabFontSize = "11"
  tabFontColor = "0x5D5D5D"
  tabFontHighlight = "0xFFFFFF"
  tabFontSelected = "0xFF5500"
  tabShadowColor = "0x000000"
  tabCornerRadius = "15"
  scrollerPageSize = "5"
  scrollerBgColor = "0x000000"
  scrollerCornerRadius = "15"
  pageControlColor = "0x5D5D5D"
  pageControlHighlight = "0xFFFFFF"
  pageControlSelected = "0xFF5500"
  scrollControlColor = "0x757C7C"
  scrollControlFaceColor = "0xFFFFFF"
  scrollControlFaceHighlight = "0xFFFFFF"
  scrollControlGlowColor = "0xFFFFFF"
  markerBgColor = "0xFFFFFF"
  markerBgTransparent = "0"
  markerBorderThickness = "7"
  markerBorderColor = "0x000000"
  markerBorderTransparent = "0.7"
  markerOnClick = "Enlarge"
  thumbWidth = "95"
  thumbHeight = "95"
  thumbSpaceWidth = "9"
  thumbBgColor = "0x202020"
  thumbBorderThickness = "1"
  thumbBorderColor = "0x404040"
  thumbBorderTransparent = "1"
  thumbAlign = "Center"
  thumbEffect = "Brightness"
  thumbMirror = "true"
  thumbScaleMode = "Fit"
  thumbOnClick = "Description"
  captionFontFamily = "Tahoma"
  captionFontSize = "10"
  captionFontColor = "0x707070"
  captionFontHighlight = "0xCCCCCC"
  captionFontSelected = "0xFF5500"
  captionHeight = "23"
  captionVisible = "true"
  popupBgColor = "0x000000"
  popupBgTransparent = "0.7"
  popupFontFamily = "Tahoma"
  popupFontColor = "0x505050"
  popupFontSize = "11"
  popupFrameColor = "0xFFFFFF"
  popupSlideColor = "0xC2C9C8"
  popupSlideMargin = "10"
  popupControlColor = "0xC2C9C8"
  popupControlHighlight = "0xFFFFFF"
  popupDescriptionAlign = "Center"
  popupLoadingColor = "0x707070">
</config>

Attributes

  • 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'.

  • 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'.

  • descriptionTagId

    The ID of the HTML tag.

  • descriptionTargetWindow

    Defines window in which HTML description can be opened.

  • frameBgColor

    The background color of the frame.

  • frameBgTransparent

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

  • frameCornerRadius

    An integer value that sets the radius of all corners of the frame.

  • tabFontFamily

    The font name for tabs text.

  • tabFontSize

    The point size for the tabs font.

  • tabFontColor

    The tabs text color.

  • tabFontHighlight

    The color of the tabs highlight.

  • tabFontSelected

    The color of the selected tab.

  • tabShadowColor

    The color of the shadow from selected tab.

  • tabCornerRadius

    An integer value that sets the radius of all corners of the tabs.

  • scrollerPageSize

    An integer value that sets the number of visible thumbnails in a row.

  • scrollerBgColor

    The background color of the scroller.

  • scrollerCornerRadius

    An integer value that sets the radius of all corners of the scroller.

  • pageControlColor

    The color of the page navigation button.

  • pageControlHighlight

    The color of the highlighted page navigation button.

  • pageControlSelected

    The color of the selected page navigation button.

  • scrollControlColor

    The color of the scroller navigation button.

  • scrollControlFaceColor

    The color of the element in the scroller navigation button.

  • scrollControlFaceHighlight

    The highlight color of the element in the scroller navigation button.

  • scrollControlGlowColor

    The glow color of the scroller navigation button.

  • markerBgColor

    The background color of the marker.

  • markerBgTransparent

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

  • markerBorderThickness

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

  • markerBorderColor

    The color of the border of the marker.

  • markerBorderTransparent

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

  • markerOnClick

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

  • thumbWidth

    The width of the thumbnails, in pixels.

  • thumbHeight

    The height of the thumbnails, in pixels.

  • thumbSpaceWidth

    The width of space between thumbnails, in pixels.

  • thumbBgColor

    The background color of the thumbnails.

  • thumbBorderThickness

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

  • thumbBorderColor

    The color of the border of the thumbnails.

  • thumbBorderTransparent

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

  • thumbAlign

    A string that specifies how to align the thumbnails in the scroller. Acceptable values are "Center" and "Bottom".

  • thumbEffect

    A string that specifies type of the effect when the mouse roll over thumbnails. Acceptable values are "Saturation" and "Bottom".

  • thumbMirror

    A Boolean value that indicates whether the mirror effect of the thumbnails is turned on.

  • thumbScaleMode

    The thumbScaleMode property determines how the thumbnails are adjusted. This property can be set to Fit, Fill or None values. Fits in the entire thumbnails cell or fills the thumbnails image cell with a image, cropping the edges of the image as necessary.

  • thumbOnClick

    The action, which happen when mouse choose on the thumbnails. Acceptable values are "None", "Enlarge", "Description" and "GetLink".

  • captionFontFamily

    The font name of the caption of the thumbnails.

  • captionFontSize

    The font size of the caption of the thumbnails.

  • captionFontColor

    The color of the caption of the thumbnails.

  • captionFontHighlight

    The color of the highlighted caption of the thumbnails.

  • captionFontSelected

    The color of the selected caption of the thumbnails.

  • captionHeight

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

  • captionVisible

    A Boolean value that indicates whether the thumbnail caption is visible.

  • popupBgColor

    The background color of the popup window.

  • popupBgTransparent

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

  • popupFontFamily

    The font name of the caption of the popup window.

  • popupFontColor

    The color of the caption of the popup window.

  • popupFontSize

    The font size of the caption of the popup window.

  • popupFrameColor

    The background color of the frame.

  • popupSlideColor

    The slide background color in the popup window.

  • popupSlideMargin

    The size of the slide margin in the popup window, in pixels.

  • popupControlColor

    The color of controls in the popup window.

  • popupControlHighlight

    The highlight color of the controls in the popup window.