0

我在 jssor 的标题示例中找到了 t3 和 d3 属性。这些属性是如何使用的?可能的值是多少(即“B”)。

还有其他(未记录的)属性吗?

天呐!

4

1 回答 1

1

属性“t”指定“播放”的转换,“t2”用于“播放”

“t3”是“立即播放”。't'和't3'在'play in'的时间线上,但't'是'play in'出现,'t3'是'play out'消失。

属性“d”指定在时间轴中设置动画的时间延迟。“d”影响“t”,“d3”影响“t3”。

d:  a numeric value in milliseconds means delay of animation
du: a numeric value in milleseconds means duration of the animation
x:  a numeric value in ratio means the caption will fly horizontal by distance of
    parent container width
y:  a numeric value in ratio means the caption will fly vertical by distance of
    parent container width
z:  a numeric value in ratio means the caption will zoom by
r:  a numeric value means the caption will rotate by, 1 equas 360 degree.
f:  a numeric value (from 0 to 1) means the caption will fade by.
b:  a numeric value (in milliseconds) indicates an explicit begin time to start
    animation. By default, captions play in one by one. But if a caption specified
    with 'b' explicitly, it breaks the streamline.
Note: 'du', 'x', 'y', 'z', 'r' and 'f' can be percentage value, if a percentage value
is specified, the final behavior is a percent of original transition.

http://www.jssor.com/development/slider-with-caption-jquery.html

于 2014-07-04T04:43:53.027 回答