Rendering controls into multiple containers
Rendering controls into multiple containers
In this example, we will add pagination to an ordered list. Some things to note:
- Pagination controls are added in a
<span>
as well as in a <p>
.
- All included pagination controls use inline elements, so the containers needn't be block elements.
- A custom skin treatment has been applied.
- State changes made to the Paginator propagate to all controls in all containers.
1987 US Billboard Top 40!
Random content with pagination controls embedded inline.
Suspendisse vestibulum dignissim quam. Integer vel augue.
Phasellus nulla purus, interdum ac, and here they are.
and now back to random content habitant morbi tristique
senectus et netus et malesuada fames ac turpis egestas.
yui_2.7.0b.zip( 4,431 k)