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"
  cssSource="styles.css"
  frameWidth="500"
  frameHeight="200"
  frameBgColor="0xF1F1F1"
  frameBgTransparent="100"
  frameBgImage=""
  frameCornerRadius="10"
  slideDuration="4"
  slideLoop="0"
  slideTransitionDuration="1" 
  slidePauseOnRollOver="true"
  slideStartOnClick="false"
  mirrorTransparent="30">
</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'.

  • cssSource

    The absolute or relative URL of the CSS 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 CSS in the topic 'Using CSS file'.

  • frameWidth

    The width of the frame, in pixels.

  • frameHeight

    The height of the frame, in pixels.

  • frameBgColor

    The background color of the frame.

  • frameBgTransparent

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

  • frameBgImage

    The absolute or relative URL of the background image. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://.

  • frameCornerRadius

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

  • slideDuration

    A number that indicates the length of time between transitions slides, in seconds.

  • slideLoop

    The number of cycles the slides to loop. A value of zero causes the slides to loop endlessly.

  • slideTransitionDuration

    A number that indicates the duration of the transitions slides, in seconds.

  • slidePauseOnRollOver

    A Boolean value that indicates whether the slide suspended when the mouse roll over slide.

  • slideStartOnClick

    A Boolean value that indicates whether the presentation starts on mouse click.

  • mirrorTransparent

    Indicates the alpha transparency value of the slide mirror effect. Valid values are 0 (fully transparent) to 100 (fully opaque).