()
| 111 | } |
| 112 | |
| 113 | function next() { |
| 114 | var index = getIndex(); |
| 115 | index++; |
| 116 | if (index >= slides.length) { |
| 117 | index = slides.length-1; |
| 118 | } |
| 119 | show(index); |
| 120 | } |
| 121 | |
| 122 | function getIndex() { |
| 123 | var active = slides.filter(":visible"); |
no test coverage detected