有没有办法如何每隔X秒刷新一个指定的div?
代码在这里只是为了很好的格式化,我不认为它对你们有用。
<div class='live-upgrades' id='iWantToRefreshThis><p>LATEST UPGRADES<hr></p>
<div class='liveupgradesscroll'>
<div style='position:relative;margin-top:1px;margin-bottom:5px;left:40px;' align='left'>"; echo "$nick"; $nick = $nicknames_array[array_rand($nicknames_array)]; echo "</div>
<div style='display:inline-block; border: 1px solid #161616;'>
<img src='"; print("$degrade"); $randomde = (mt_rand()%$totalde); $degrade = "$degrade_array[$randomde]"; echo "' align='left' />
<img src='img/spacer.png' />
<img src='"; print("$upgrade"); $randomup = (mt_rand()%$totalup); $upgrade = "$upgrade_array[$randomup]"; echo "' align='right' />
</div>
</div>
</div>
答案 0 :(得分:0)
SentMessagesService