Make one HTML element match the position and size of another.
jQuery.clonePosition(element, [options])
Copies height/width and left/top of element
.
$('#myDiv').clonePosition('#anotherDiv');
Also accepts options
object with the following parameters:
{
cloneWidth: boolean,
cloneHeight: boolean,
offsetLeft: integer,
offsetTop: integer
}
[email protected]
@xutopia