changing multiple z-indexes
The problem, in brief:
30+ small images, layered on top of eachother... old photos, in chronological order, starting from the earliest:earliest photo has highest z-index.
With jQuery, 2 functions are bound to each image: click, the image enlarges and is draggable; doubleclick, it fades out.
Watching people try it, they like keeping the screen full of images-- 5-6 take up most of the screen space, and they like the way images slide around under eachother.
But: what's really wanted is a way to make the latest enlarged image the topmost layer, rather than the bottom-most... apart from individually assigning z-indexes in 30+ individual functions.
Suggestions very welcome: my vocab is pretty limited, this looks like an opportunity, as they say.