Topic awaiting preservation: Z-Index swapping on stacked images (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Northumberland, England |
posted 10-31-2003 03:39
Hi again guys, |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-31-2003 03:57
Here's what I'd do. |
Paranoid (IV) Inmate From: Northumberland, England |
posted 10-31-2003 10:25
Thanks Bitty, |
Paranoid (IV) Inmate From: Northumberland, England |
posted 11-03-2003 14:18
Ok I'm back - I haven't been able to put bitdamaged's words into practice - can't quite see how to fit it all in to what I'm doing so here is an example of what I'm doing - I hope you guys can help me out coz I'm sposed to be handing this tomorrow so to speak (it's part of a project for my multimedia design degree, only a small exercise tho) |
Paranoid (IV) Inmate From: France |
posted 11-03-2003 15:02
smonkey: Once an image has been downsized to 0x0 you could simply decreased its zIndex by the number of images stacked and reset its dimension to the original value. That way, the zIndexwill constantly decrease, below zero, but who cares ? code: i==13| |i==26| |i==39| |i==52| |i==65?rowNum++:rowNum; by code: rowPos==12?rowPos=0,rowNum++:rowPos++; Which is a little more elegant and saves you to write the N first multiples of 13. |