每刷新一次页面就顺序更换一组内容的js特效 类似刷新页面 随机更换内容;但是是多个相同的内容同时更换
1个回答
展开全部
改编下自己:
var test1 = ["aa1","bb1","cc1","dd1","ee1"];
var test2 = ["aa2","bb2","cc2","dd2","ee2"];
var test3 = ["aa3","bb3","cc3","dd3","ee3"];
var test = [test1,test2,test3];
document.write(test[Math.floor(Math.random()*3)]);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询