7
Widgets Reveal hides and shows content in the flow. It is more useful for reflowable content than fixed layout unless the content is in a scrolling panel. Updated: 28 November 2016
Widgets hides and shows content in the primary content flow. It is more useful for reflowable presentation content than fixed layout unless the content is in a scrolling panel and can expand appropriately. Reveal is another tool for the education writer/designers toolkit. It is particularly useful for explorative content.
You can see this widget in action by clicking on the word Me in the title. You can also see it by clicking Reveal Panel here.
The default presentation design is as simple as possible and can be customized as needed. You can customize Reveal Panels globally using the CSS selector, or individually using their ID.
Reveal block don't have any size set. it will expand automatically according to the content inside it and the bounding block it is within.
The Reveal Panel will always be inserted after the paragraph or HTML5 structure from which it is called. It does not break the HTML structure. You need to take this into account with your authoring and design.
Reveal Panel content blocks can be placed anywhere in the HTML5 document. It may be useful to insert them immediately after their reference call in text, or to accumulate them at the end of the section for general maintenance.
For print PDF output, reveal content can be treated as noteboxes, sidebars or margin-notes.
Reveal is content block IGP:Widget W06. To insert Widgets Reveal into the IGP:Writer document.
To create a Panel Reveal call reference:
Notes. Do NOT place HTML styling on the Reveal Reference. Use CSS for consistency and to ensure your tagging sequence does not interfere with the operation of the Javascript.
You can use any number of Reveal Panels in a document and document section as long as the ID's are unique.
<!-- REVEAL PANEL --> <div class="widgets-rw reveal-rw"> <h4>I am a Panel Reveal Content Block</h4> <p>Your content goes here. You can insert any content including: Text, images, audio and video.</p> </div> <!-- REVEAL PANEL REFERENCE LINK --> <span class="ref-reveal-rw" data-pp-target="pp1">Hello</span>
Note that Widget references use the HTML5 data- attribute.
/* Reveal =================== */ div.reveal-rw { position: relative; background-color: rgb(200, 255, 220); border-radius: 0px; padding: 10px; margin: 10px 0 10px 0; font-size: 16px; font-weight: normal; font-style: normal; color: rgb(0, 0, 0); display: none; }
/*DEFAULT REVEAL PANEL REFERENCE CSS ========= */ .ref-panel-reveal-rw { color: blue; text-decoration: none; cursor: pointer; } .ref-panel-reveal-rw:hover { text-decoration: underline; }
The Reveal Text used on this page is located between these dotted lines but cannot be seen in a normal view.
=========================
=========================