Viewport Widget
The View Port widget makes integrating external scripts and applications into MODx sites incredibly easy. Think of it as a way to wrap an application like an e-commerce engine or complex polling script into the look and feel of your site.
Property | Description |
ID/Name | Sets the CSS id for the containing block DIV |
Border | CSS |
Scrollbars | Turn on scrollbars or not when the size exceeds the View Port size |
Auto Size | Size automatically to fit both the width and height of the content displayed inside the View Port. |
Auto height | Size automatically to fit the height of content displayed inside the View Port |
Auto width | Size automatically to fit the width of content displayed inside the View Port |
Stretch to Fit | Size automatically to fit both the width and height of the available space. Same as width = 100% and height = 100% |
Attributes | Sets additional HTML attributes for the View Port. For example, onclick, etc |
Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).