Carousel考试中单词使用说明

时间:2015-08-01 19:05:32

标签: javascript html carousel

我的考试说在基本图像轮播上执行以下操作。

the images should wrap around when the user gets to the end of the list

任何人都知道他们的意思??

1 个答案:

答案 0 :(得分:1)

表示当您到达最后一个索引时,下一个索引必须是第一个:

if(index === last_index)
    index = 0;
相关问题