This is a slightly unusual request, because I know that there are plugins for placing elements along the bezier curve, however, for a variety of reasons that I will not go into, these methods are not applicable for this application.
I need to iterate through a set of elements using jQuery of each function and emulate a curve that has a curve from left to bottom up.
Also: -
O O O O O O O
I need to save the number of elements in a variable using .size ()
And from this number, do the calculation to work out the css left property, which depends on the index of the element.
Math, unfortunately, is not my forte, and I'm fixated on the formula used, and how would I continue to iterate through the elements using jQuery.each () and apply the css changes for each element.
The number of elements will dynamically change, so both the number of elements and the index of each element should be included in the formula.
Can someone give me at least a starting point regarding how I will avoid coding this in jQuery? (or using position addon in jqueryUI)
source share