wiki:plugin:bootswrapper:affix

This is an old revision of the document!


Affix

The affix plugin toggles position: fixed; on and off, emulating the effect found with position: sticky;.


Affix

This is a sample

Attribute Default Value
offset-top optional Offset from top of target (in px|em|%)
offset-bottom optional Offset from bottom of target (in px|em|%)
position-top optional Top position of Affix element (in px|em|%)
position-bottom optional Bottom position of Affix element (in px|em|%)
position-left optional Left position of Affix element (in px|em|%)
position-right optional Right position of Affix element (in px|em|%)
target Window Document Target element (eg. #dokuwiki__site)
  • wiki/plugin/bootswrapper/affix.1456483096.txt.gz
  • Last modified: 8 years ago
  • (external edit)