You're getting one random element for every child. You need to operate
on the current jQuery object, not on each element.
jQuery.fn.randomChild = function(settings) {
var random = Math.floor(Math.random() *
this.children().length);
return this.children(':not(:nth-child('+random+')
I've made no progress on this. I only seem to be able to break it in
different ways every time I make a change that seems right. Can
anybody lend a hand?
On Oct 9, 4:17 pm, illtron <[EMAIL PROTECTED]> wrote:
> Hi, I posted this a few weeks ago but I didn't get any traction. I've
> been fumbling w
2 matches
Mail list logo