[jQuery] Re: help with indexing items with random variable to appear in correct order

2009-09-14 Thread roryreiff
Was trying some other options and basically figured out the indexing/ setting the id issue: .attr('id', 'pane-' + ((LENGTH - startingPane) + i) % LENGTH ). I am still curious about this codes performance though and any suggestions as to how it could be made better. Thanks, On Sep 14, 10:43 am, ro

[jQuery] Re: help with indexing items with random variable to appear in correct order

2009-09-14 Thread roryreiff
I would also be interested in comments/suggestions about how this code or even approach could be simplified/improved. It seems pretty lightweight and simple to me, but I have very little idea about it's performance and am curious if I am doing something that is unnecessary or just plain pointless.