Effects Object

The Effects object permits creating slide effect objects.

Members Table

    The following table lists the members provided by the Effects object.

    Methods Description
    CreateBounceSlide Creates an object that controls a bounce slide effect.
    CreateSmoothSlide Creates an object that controls a slide effect.

    This object is available through the main object SiteKiosk. Use the Effects object to create a slide effect.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
    The following example creates a SmoothSlide object and starts the slide.

    <div id="sldiv" style="position:absolute;left:0;">
    <img src="myimage.gif" alt="image">
    <SCRIPT TYPE="text/javascript">
    myslide = SiteKiosk.Effects.CreateSmoothSlide();
    myslide.StartPos = 0;
    myslide.EndPos = 200;
    myslide.Rate = 100;
    myslide.Duration = 2000;
    myslide.OnUpdatePosition = UpdatePosition;
    function UpdatePosition(pos)
       sldiv.style.pixelLeft = parseInt(pos);

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top