擅长:python、mysql、java
<p>您应该能够使用javascript和jquery来实现这一点。你知道吗</p>
<pre><code><div id="content">
</div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script>
$( document ).ready(function() {
$("#content").load("index1.html");
});
var counter = 1;
var i = setInterval(function(){
switch(counter){
case 0:
$("#content").load("index1.html");
break;
case 1:
$("#content").load("index2.html");
break;
case 2:
$("#content").load("index3.html");
break;
}
counter++;
if(counter == 3) {
counter = 0;
}
}, 60000);
</script>
</code></pre>
<p>我希望这是有用的</p>