I just got set up on SVN to do that!!! I've got several cool utilitarian
plugins and a ajax patch for partial status reporting, I would be cooler
than a whirling gif!

On 5/12/07, Glen Lipka <[EMAIL PROTECTED]> wrote:

I have pick random images for a background like this:

  var totalNum = 4; //the total number of images in a folder.
  var rndNum = Math.floor(Math.random() * totalNum);
  $("div#header").css("background-image","url(myimage" + rndNum  + ".gif)");

But this assumes you have a set of images with a naming scheme.
Jakes plugin looks alot more robust.  But this is the first I have seen
it.

Jake, you might want to package this on a sample page and submit it to the
plugins page.  Looks good.

Glen

On 5/12/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
>
> you can see some random images, and reading them from a folder, on my
> dog Junior's site!
>
> http://jpassoc.com/junior
>
> All plug-in quality.
>
> On 5/12/07, Sharique <[EMAIL PROTECTED]> wrote:
> >
> >
> > I want to show random images from a folder.
> > How I can do this?
> > ----
> > Sharique
> >
> >
>
>
> --
> Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ





--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to