4
Widget Panel Scrolling is designed for giving scrolling context within any fixed element or frame. Panel Scrolling can have any type of content inside it. Updated: 28 November 2016
Widget Panel Scrolling is designed to enable a scrolling context within any fixed element or frame. Panel Scrolling can have any type of content inside it. When the content exceeds the Panel Scrolling height it will allow you to scroll smoothly to see the hidden parts contents.
You can set the scrolling to be horizontal, vertical or both in the X and Y directions.
There are three options as of now for Panel Scrolling block.
1. Direction: Vertical (default)
2. Direction: Horizontal
2. Direction: Both
Scrolling direction instruction for telling panel which way you want to scroll to, vertical, horizontal or both. Vertical is default which scrolls vertically. If you want panel to scroll horizontally just select the "horizontal" option from the content block "direction" options. You can also make Panel scroll both ways if your content demands such situation.
NOTE: For scrolling direction horizontal and both are not automatic. If you want panel to scroll horizontally or both you have to make changes on the CSS as well to make it function base on contents requirement.
Panel Scrolling comes with default size of width: auto; (auto means, like 100%. it will expand to the edge of document vieport width) max-height: 768px. Default size can be customized according to the requirement of the project and design of the book. The Panel will only be scrollable when content exceeds the hegiht of 768px.
You can insert and have as many Scrolling Panels as you want in a section/page. And have different size and style for every one of them.
You can put any type of content, including images, interactive content and rich media into each frame.
We have kept presentation design as simple as possible and the look and feel of a Scrolling Panel can be customzed by CSS selector or ID.
For changing the size of the panel (or any other styling), open the CSS Editor, navigate to "A03 WIDGETS" and change width: auto; and min-height: 100px; max-height: 768px; from below three selectors to the size of your choice or need.
Widgets use the standard IGP:FoundationXHTML tagging pattern syntax where all grammar controlled CSS class values have the -rw suffix. This pattern can be extended with any additional content blocks within this container. .
<div class="widgets-rw panel-scrolling-rw"> <div class="frame-rw" id="frame3"> <p> Your content goes here...</p> </div> </div>
/* Panel Scrolling ======================= */ .panel-scrolling-rw { width: auto; min-height:100px; max-height:768px; background-color: white; overflow: hidden; position: relative; box-shadow: 0 0 1px gray; } .panel-scrolling-rw .frame-rw { position: absolute; padding: 20px; border-radius: 0; margin: 0; }