[jQuery] Re: jquery.innerfade.js Random Problem

2007-05-16 Thread Aaron
Thanks for the reply!!! So would i add this to the 2 sections that have the random code or would i replace the randome code there with this code? Thanks again and cant wait to try it out! :) On May 15, 2:15 pm, Scott Sauyet <[EMAIL PROTECTED]> wrote: > I think this would do it. The original co

[jQuery] Re: jquery.innerfade.js Random Problem

2007-05-15 Thread Scott Sauyet
I think this would do it. The original code is starting with 0 intentionally. It's not hard to switch to starting with a random one: } else if ( settings.type == 'random' ) { // add this: var first = Math.floor ( Math.random ( ) * ( elements.length ) )