Control-attacher-index

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This style is used to specify what visual element should be used to hold some control. Currently, this only applies to video skins.


Value

An index of a Frontal document element. See Accessing Frontal Tags for Scripting for a discussion on indexes.

control-attacher-index: div1;


Remarks

This style is currently only used by the 'video' tag. It uses this style to determine where skins should be attached. See Video Skins for further details.


Example

Here we pin the skin to the lower right corner of the browser.

<style><![CDATA[
    video
        {
            video-skin: http://www.frontalcode.com/assets/skins/SkinOverAll.swf;
            control-attacher-index: videoSkin;
        }
]]></style>
<video src="http://www.frontalcode.com/assets/video/video_1.flv" />
<div id="videoSkin" style="right: 100%; bottom: 100%; width: 300px;" />


Can Be Applied To

This style can be applied to:

Personal tools
Get Adobe Flash player