Search the Community
Showing results for tags 'jquery clone xpercent'.
Hi i'm using xPercent for making slideshows with one or more slides moving at once. For making infinite roll i need sometime to clone lasts/first childs, but as they are xPercent-ised when i clone them i get this behavior... The node has : transform: translate(800%, 0%) matrix(1, 0, 0, 1, 0, 0); the div is 211.983px, when cloned and setted to -100 (getting it before the first slide) it has then : transform: translate(-100%, 0%) matrix(1, 0, 0, 1, 1695.87, 0); so it computes 800% width in matrix and apply my xPercent placement of -100. Is it jquery that when copying the node properties, make that move ? Luckily, i found a way to mitigate that by using clearProps:"xPercent" and setting it again after. @+