In some countries, user interface guidelines require banners to display additional data in a zone that can be expanded and collapsed as needed. To satisfy this requirement, configure the banner template to use the following functions:
Function |
Description |
---|---|
extendBanner() |
This function extends the height of the banner area by 100 pixels, allowing for additional information to be displayed. |
shrinkBanner() |
This function reduces the height of the banner area back to its original 60 pixels. |
isBannerExtended() |
This function should be used to make sure the banner automatically expands the zone containing additional data if the user had the zone expanded when viewing the previous patient. On document ready, the banner can invoke this function to determine whether the banner was expanded for the last patient the user viewed during the current session. |
For example, you might use these functions configure a button that toggles the display of more information when clicked. For information about executing scripts and functions on HTML pages, consult an HTML reference guide.