Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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)
<div style="position:absolute; z-index:9999; width:${paramWidth}px; height:${paramHeight}px;top:${paramTop}px;left:${paramLeft}px">
$body
</div>

Sticky box
Left200
Top200
Height200
Width200

BLAH

 

 

This macro uses "Rendered mode"

Image Added

 

Online demo, see above 

  • Hello
  • World
  • of
  • Macros
  • (smile)
    Sticky box
    Left300200
    Top300200
    Height300200
    Width200300
    HTML
    <div style="background-color:white; border:1px; border-color:red;  border-style:solid;">
    <h2>Sticky box user macro demo</h2>
    <ul>
            <li>Hello</li>
            <li>World</li>
            <li>of</li>
            <li>Macros</li>
            <li>
              <ac:emoticon ac:name="smile"/>
            </li>
          </ul>
    </div>