In-Page Search
The In-Page Search component adds a search box to the page, with an optional alert. With a little HTML you can create a searchable page. This component was designed to search through large sections of text or data.
Demo
Note: Filtered results will appear below as you type.
Chemistry
Math
Plant Biology
Plant Research
Instructions for use
While editing a page:
- Before adding this component to the page, enter the text content you wish to make searchable.
- Then move your cursor to the area of the page you wish to add the component.
- Click the "Insert Component" button in the editor toolbar.
- Select the In-Page Search component from the list.
- Enter the class of the HTML element you wish to search inside. This will most likely be a div, paragraph, table element or span.
- Select whether or not you want the optional alert to display.
- Click the "Save" button.
- Click on the source code button, to the left of the snippet icon.
- Add your class to the HTML element. Let's use a paragraph tag for example like in the demo above. ex. <p class="testFilter>Chemistry</p>
- Save and Publish the page.