
Extends the Element Type to include the pin method useful for fixed positioning for elements.
Affixes an element at its current position, even if the window is scrolled.
$('myElement').pin();
Un-pins an element at its current position (see Element:pin).
$('myElement').unpin();
Toggles the pin state of the element.
$('myElement').togglePin();
© Linux.ria.ua, 2008-2024 |