MMTTMM
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<div id='count'></div>
</head>
<body>
<script>
var arr = ['str1','str2','str3','str4','str5','str6','str7','str8','str9','str10']
function myfun(arr){
arr = arr || [];
var i = arr.length,
count = 1;
setInterval(function(){
count = count>10?count%10:count;
document.getElementById("count").innerHTML = arr[count - 1];
count++;
},5*60*1000)
}
myfun(arr);
</script>
</body>
</html>