[Commons-l] ResizeGalleries
Magnus Manske
magnusmanske at googlemail.com
Thu Jul 5 14:58:32 UTC 2007
On 7/5/07, Magnus Manske <magnusmanske at googlemail.com> wrote:
> On 7/5/07, Andrew Gray <shimgray at gmail.com> wrote:
> > On 05/07/07, Magnus Manske <magnusmanske at googlemail.com> wrote:
> >
> > > You mean the number of columns, right?
> > >
> > > Well, my script *does* determine the screen resolution (actually, the
> > > width of the visible page in pixel).
> >
> > So it dynamically adjusts when you resize a window? Marvellous. We
> > ought to roll this out beyond Commons, come to think of it - the other
> > projects don't use galleries much, but they are out there.
>
> No, currently it uses the window width of the page at the moment of
> page loading. I can look into dynamic rearranging while resizing a
> browser window if that's
> a) possible with JavaScript
> b) a real issue
Resizing the browser window now triggers rearranging of the
thumbnails. If you've already installed ResizeGalleries, force-reload
any commons page to enjoy :-)
Cheers,
Magnus
More information about the Commons-l
mailing list