Simple user macro
Code Block |
---|
## Sticky box macro by Vertuna LLC
## @param Width:title=Width|type=string|required=true|desc=Width in pixels (numeric)
## @param Height:title=Height|type=string|required=true|desc=Height in pixels (numeric)
## @param Top:title=Top|type=string|required=true|desc=Top in pixels (numeric)
## @param Left:title=Left|type=string|required=true|desc=Left in pixels (numeric)
|
HTML |
<div style="position:absolute; z-index:9999; width:300px${paramWidth}px; height:200px${paramHeight}px;top:220px;left:300px"> Hello world </div>${paramTop}px;left:${paramLeft}px"> $body </div> |
This macro uses "Rendered mode"
Online demo, see above
Sticky box | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|