A jQuery plugin to positionate fixed an element, if the position is left or right, the element rotates. It possible hide / show the element.
<script type="text/javascript" src="jquery.fixedTo.min.js"></script>
<script type="text/javascript">
$(".myelement").fixedTo();
</script>
Name | Default | Description |
---|---|---|
Position | Top | Positionate the element on the screen. Values: top, right, bottom, left. |
Align | Center | Align the element. Values: left, center, right. |
Hide | True | Hide or show the element. |
Height_hide | 15 | Height in pixels visible for the element when is hide. |
$(".myelement").fixedTo({
"position": "left",
"align": "center",
"hide": true,
"height_hide": 8
});