onclick - z.index
onclick - z.index
Out of context: Reply #12
- Started
- Last post
- 15 Responses
- 7point340
name all layers sub1, sub2, etc.
for statement something like:
for (i=1; i<7; i++) {
var current = 'sub' + 1;
var z = document. getElementById(current).style.z...
z = z - 1;
}then set the new one to the highest z-index you want to set, ie. 55