Transparent Property



 
The Transparent property indicates if transparency is to be used for the animated image.


Syntax

    document.all["id_name"].Transparent [=boolean]
    
Possible Values
    Boolean value. True if transparency is to be used.
    False if no transparency is to be used.

    The property is read/write.
Remarks
    None.
Examples
    The following example shows an animation deploying transparency.

    <html>
    <head>
    <SCRIPT TYPE="text/javascript">
    function startAnim()
    {
    	document.all["id_SKAnimateControl"].Start();
    }
    function stopAnim()
    {
    	document.all["id_SKAnimateControl"].Stop();
    }
    function resetAnim()
    {
    	document.all["id_SKAnimateControl"].Reset();
    }
    </SCRIPT>
    </head>
    <body>
    <OBJECT id="id_SKAnimateControl" style="width:65px; height:65px; 
    border-width:0px; margin-right:0px; margin-bottom:5px; 
    margin-top:5px; " 
    classid="CLSID:D061BD69-BEDF-4A1C-B890-9D6E784CA25E">
    	<PARAM NAME="ImageFile" VALUE=
    	"skins\default\img\anilogo.png">
    	<PARAM NAME="ImageWidth" VALUE="65">
    	<PARAM NAME="TimerInterval" VALUE="25">
    	<PARAM NAME="UseAlpha" VALUE="0">
    	<PARAM NAME="SrcAlpha" VALUE="0">
    	<PARAM NAME="BackgroundColor" VALUE="0">
    	<PARAM NAME="Transparent" VALUE="1">
    </OBJECT>
    <div onclick="startAnim()">ClickStart!</div>
    <div onclick="stopAnim()">ClickStop!</div>
    <div onclick="resetAnim()">ClickReset!</div>
    </body>
    </html>
    

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

Back to top