HBCMS更多的中文手册参考:

TYPE Attribute | type Property

DHTML中文手册

Sets or retrieves the type of transition to be applied.

dhtml语法

HTML<t:TRANSITIONFILTER TYPE = sType... >
Scriptingt:TRANSITIONFILTER.type [ = sType ]

DHTML可能的值

sTypeString that specifies or receives the name of the transition type that will be applied to renderable content. See the table below for possible values.

The property is read/write. The property has no default value.

Remarks

This attribute is required and must be one of the transition families listed in the table below, or it must be an extended transition type provided by the user agent.

You can apply more than one transitionfilter to a given object. by doing this, you can apply more than one type of transition. this has the possible effect of multiple types of transitions occurring simultaneously to renderable content. see the example below.

if no subtype is specified, the default subtype associated with the transition type will be used. the type starwipe is an exception. it is required to explicitly include the subtype of "fivepoint" for this transition to work.

typeassociated subtype(s)
starwipefivepoint (this must be specified)
barwipelefttoright, toptobottom
barndoorwipevertical, horizontal
iriswiperectangle, diamond
ellipsewipecircle
clockwipeclockwisetwelve
fanwipecentertop
snakewipetoplefthorizontal
spiralwipetopleftclockwise
pushwipefromleft
slidewipefromleft
fadecrossfade

Note  You can also use Cascading Style Sheets (CSS) transitions as values for TYPE. See type and subtype for more information.

Examples

This example demonstrates the different transition type values and the possible subtype values that can be used with those type values. in addition, the effects of changing various other attributes of the transitionfilter is also demonstrated.

this feature requires microsoft?internet explorer 6 or later. click the following icon to install the latest version. then reload this page to view the sample.

This example shows three divs that have two different transitions applied to them simultaneously.

<HTML XMLNS:t = "urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>
.time {behavior: url(#default#time2);}
</STYLE>
<?import namespace = t urn = "urn:schemas-microsoft-com:time"
implementation = "#default#time2" />
</HEAD>
<BODY>
<t:transitionfilter type="barWipe" id="tran1" dur="3"
targetElement="firstDiv"/>
<t:transitionfilter type="fade" id="tran1b" dur="3"
targetElement="firstDiv"/>
<t:transitionfilter type="snakeWipe" id="tran2"  dur="3"
targetElement="secondDiv"/>
<t:transitionfilter type="barnDoorWipe" id="tran2b"  dur="3" targetElement="secondDiv"
from="0" to="1"  CalcMode="linear"   mode="in" />
<DIV STYLE="height:170px;">
<DIV CLASS="time"  ID="firstDiv" STYLE="position:absolute; top:150px;
left:20px; background-color:#3366CC; padding:10px; height:80; color:white;">
This div has fade and barwipe types applied.
</DIV>
<DIV CLASS="time" ID="secondDiv" STYLE="position:absolute; top:185px;
left:60px; background-color:#FFCC00; padding:10px; height:80;">
This div has snakeWipe and barnDoorWipe types applied.
</DIV>
</DIV>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 6 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

applies to

t:TRANSITIONFILTER

更多语法参考

introduction to html+time, Using HTML+TIME Transitions