BounceCount Property



 
The BounceCount property contains the number of bounces per slide.


Syntax

    BounceSlide.BounceCount [=long]
Possible Values
    Long value that specifies or retrieves the number of bounces.

    The property is read/write.
Remarks
    None.
Examples
    The following example creates a BounceSlide object and starts a 2 seconds slide with 5 bounces.

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

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

Back to top