clonePosition
1.6

clonePosition(element, source[, options]) -> HTMLElement

Clones the position and/or dimensions of source onto element as defined by the optional argument options.

Note that target will be positioned exactly like source whether or not it is part of the same CSS containing block.

Options

Name Default Description
setLeft true clones source’s left CSS property onto element.
setTop true clones source’s top CSS property onto element.
setWidth true clones source’s width onto element.
setHeight true clones source’s width onto element.
offsetLeft 0 Number by which to offset element’s left CSS property.
offsetTop 0 Number by which to offset element’s top CSS property.