[Commons-l] ResizeGalleries

Magnus Manske magnusmanske at googlemail.com
Thu Jul 5 10:16:12 UTC 2007


On 7/5/07, Uber Halogen <uberhalogen at googlemail.com> wrote:
> I don't think it would be a great idea to include this by default
> because every user has a different screen resolution, perhaps we could
> use JavaScript to find out the resolution of the user and give them
> the number of rows suited to there resolution.

You mean the number of columns, right?

Well, my script *does* determine the screen resolution (actually, the
width of the visible page in pixel). But instead of "giving it" to the
user, who can't actually use this information, it automagically
rearranges the view to this column number. That's the whole purpose of
it!

Or did I miss your point?

Cheers,
Magnus



More information about the Commons-l mailing list