This Adaptive Component enables you to define areas in a page as being scrollable as long as the element has a set height. It will try several methods to circumvent any possible limitations that the client may have. The content will be encapsulated by a div
element.
Use the register-ac
action to enable the AC-Scroll in your site.
<flow>
<register-ac name="ac-scroll" />
<default-request />
<parse />
</flow>
The ac-scroll
element wraps potentially scrollable content. HTML5 global attributes can be used on this element.
overflow-x
and overflow-y
instructions have no effect on AC-Scroll elements. <ac-scroll id="scroller">
<h1>Scroll Example</h1>
<p>A plain scroller, nothing fancy.</p>
</ac-scroll>