5
Widget Panel Locked is designed for combination use of frame locked and scrolling context. The scrolling panel with a frame locked at the top is useful when it is reference linear text associated with an image or similar. Updated: 28 November 2016
Widget Panel Locked is designed for combination use of frame locked and scrolling context. The scrolling panel with a frame locked at the top is very useful when there is a requirement to have a lot of reference linear text associated with an image or something similar. The image frame is locked in place at the top of the panel and all text scrolls under the image.
For good end user experience, it is designed to be used in the fixed layout format rather then in flowing format. Its not a law but just a recommendation. It can be used in flowing format too if have to except this comes with fixed size from production design so use it thoughtfully.
There are three options as of now for Panel Locked block.
1. Frame: Top (default)
2. Frame: Left
2. Frame: Right
Above Frame options are processor instructions to tell where (top/left/right) the frame should be presented in the output. TOP: this will present first frame to the top and info text frame underneath. Left: this will present first frame to the left and info text frame to the right. Right: this will present first frame to the right and info text frame to the left.
Panel Locked comes with default size of 500px X 600px. Default size can be customized according to the requirement of the project and design of the book. The Panel height of 600px is been divided into 2, for image frame and info text frame.
Above Panel Locked is the default. But there are two more options called frame left/right. In this case size of panel and frames are different. In thise case Panel size is 600px X 400px. And the panel width of 600px is been divided into 2, for image frame and info text frame.
You can insert and have as many Locked Panels as you want in a section/page. And have different size and style for every one of them.
This block has two frames stacked. First frame is the one which is locked and it general contains an image. The second frame is the info frame where text information about the image can be explored. This frame will scroll if the content exceeds the default height of the frame.
The First frame must only contain image, and image must be made to the right size same as the frame size.
You can now replace the placeholder images. Your image must be uploaded in IGP:Media Manager first.
The Second frame can contain any type of content, including images, interactive content and rich media.
We have kept presentation design as simple as possible. Because it can be customozed anytime as needed. From look and feel to the size of Panel can be customzed at any given time.
For changing the size of the panel (or any other styling), open the CSS Editor, navigate to "A03 WIDGETS" and change width and height 500px, 600px, 300px, 400px wherever you see from below three selectors to the size of your choice or need.
The presentation design is simple as possible and can be customized for size, look and feel as needed.
Widgets use the standard IGP:FoundationXHTML tagging pattern syntax where all grammar controlled CSS class values have the -rw suffix.
<!-- WIDGET PANEL LOCKED TOP --> <div class="widgets-rw panel-locked-rw"> <div class="frame-locked-rw"> <img alt="" src="default-graphic.png" /> </div> <div class="widgets-rw panel-scrolling-rw "> <div class="frame-rw"> <p> Your content goes here....</p> </div> </div> </div> <!-- WIDGET PANEL LOCKED RIGHT --> <div class="widgets-rw panel-locked-rw"> <div class="frame-right-rw"> <img alt="" src="default-graphic.png" /> </div> <div class="widgets-rw panel-scrolling-rw "> <div class="frame-rw"> <p> Your content goes here....</p> </div> </div> </div> <!-- WIDGET PANEL LOCKED RIGHT --> <div class="widgets-rw panel-locked-rw"> <div class="frame-left-rw"> <img alt="" src="default-graphic.png" /> </div> <div class="widgets-rw panel-scrolling-rw "> <div class="frame-rw"> <p> Your content goes here....</p> </div> </div> </div>
/* Panel Locked =============================== */ .panel-locked-rw { width: 500px; height:600px; background-color: white; overflow: hidden; position: relative; box-shadow: 0 0 1px gray; } .panel-locked-rw .frame-locked-rw { width: 500px; height:300px; position: relative; } .panel-locked-rw .panel-scrolling-rw { width: 500px; min-height: auto; height:300px; background-color: white; overflow: hidden; position: relative; margin: 0 auto 0 auto; border: none; } .panel-locked-rw .panel-sliding-rw .frame-rw { position: absolute; padding: 20px; } /* Frame Left */ .panel-locked-rw.frame-left-rw { width: 600px; height: 400px; } .panel-locked-rw.frame-left-rw .frame-locked-rw, .panel-locked-rw.frame-left-rw .panel-scrolling-rw{ width: 50%; height: 100%; position: absolute; top: 0; left: 0; } .panel-locked-rw.frame-left-rw .panel-scrolling-rw { left: auto; right: 0; border-left: 1px solid gray; } /* Frame Right */ .panel-locked-rw.frame-right-rw { width: 600px; height: 400px; } .panel-locked-rw.frame-right-rw .frame-locked-rw, .panel-locked-rw.frame-right-rw .panel-scrolling-rw{ width: 50%; height: 100%; position: absolute; top: 0; right: 0; } .panel-locked-rw.frame-right-rw .panel-scrolling-rw { left: 0; right: auto; border-right: 1px solid gray; }