Thanks guys! Server-side coding would be nice, but it's not PHP-enabled, and I think the only method would through ASP which I, frankly, haven't the foggiest clue about! For the time it'll take to download the relatively small number of 'facts', it shouldn't be a problem.
I take it, using your code, Glen, I'd have a series of hidden divs and then jQuery will randomly pick one and show it? This, I presume, will require all of the divs to be duplicated in all of the pages I want to have a random fact displaying on? Is there a way to have the 'facts' centralised -- for example in the jQuery 'custom.js' file or something -- so it's easy to add and remove new or old facts? Thanks for your imput. We've nearly cracked it! :-D Zarino On Jun 26, 11:07 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > I agree. I was stretching his original intent. :) > > Glen > > On 6/26/07, Scott Sauyet <[EMAIL PROTECTED]> wrote: > > > > > Glen Lipka wrote: > > > Scott, I can think of a couple reasons for this. > > > Let's say you want to scroll some facts or quotes or customer > > testamonials across the screen, but you also want to start at a random one. > > > > That sort of thing. Or scrolling images. > > > Oh, I can see plenty of reasons for choosing a random element of a set, > > but the OP said > > > > I'd like to create a repository of 'facts' and have jQuery serve up > > > a different fact at random with each page-load. > > > which sounds more server-side to me. Not a big deal either way. As you > > pointed out, it's easy enough to do in JQuery if that's what's needed. > > > -- Scott