OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
3 <style> | 3 <style> |
4 .layer-reference { | 4 .layer-reference { |
5 position: absolute; | 5 position: absolute; |
6 height: 300px; | 6 height: 300px; |
7 width: 50px; | 7 width: 50px; |
8 background-color: lightgrey; | 8 background-color: lightgrey; |
9 font-family: sans-serif; | 9 font-family: sans-serif; |
10 text-align: center; | 10 text-align: center; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 afterTest(function() { | 59 afterTest(function() { |
60 var actives = document.querySelectorAll('.active'); | 60 var actives = document.querySelectorAll('.active'); |
61 var replicas = document.querySelectorAll('.replica'); | 61 var replicas = document.querySelectorAll('.replica'); |
62 for (var i = 0; i < actives.length; i++) { | 62 for (var i = 0; i < actives.length; i++) { |
63 actives[i].style.top = 50 + (i * 40) + 'px'; | 63 actives[i].style.top = 50 + (i * 40) + 'px'; |
64 replicas[i].style.top = 60 + (i * 40) + 'px'; | 64 replicas[i].style.top = 60 + (i * 40) + 'px'; |
65 } | 65 } |
66 }); | 66 }); |
67 </script> | 67 </script> |
68 </body> | 68 </body> |
OLD | NEW |