Skip to content

WD ATTR Slide Tool

wdonadelli edited this page Apr 2, 2022 · 3 revisions

WD ATTR Slide Tool

The reference for how the attribute works is in the following tools:

The attribute's target is the containing element itself, and the result influences the child elements.

The attribute value represents the time interval, in milliseconds, of transition between child elements.

The non-mandatory value must be a non-zero integer (default value is 1000). If the number is positive, the transition advances, otherwise, it recedes.

For dynamic assignments, see:

<!-- Transition rewinding every 1.5s -->
<div data-wd-slide="-1500">
	<div>Slide 1</div>
	<div>Slide 2</div>
	<div>Slide 3</div>
</div>

<!-- Transition advancing every 4.5s -->
<div data-wd-slide="4500">
	<div>Slide 1</div>
	<div>Slide 2</div>
	<div>Slide 3</div>
	<div>Slide 4</div>
	<div>Slide 5</div>
</div>

Clone this wiki locally