0
鉴于以下标签:淡入显示信息/淡出对JS
<h1 id="header_one"><strong>Any Title</strong> any message</h1>
<p id="paragraph_one">Any cool text.<br></p>
而下面的JS数组:
var array_h = ["<strong>Any Title1</strong> any message","<strong>Any Title2</strong> any message"];
var array_p = ["Any cool text1 <br>","Any cool text2 <br>"];
我如何可能会改变h1和p的消息根据数组中的每个元素使用淡入/淡出效果?我希望效果会永久重复开始,当它达到阵列的最后一条消息时。
你能告诉我们你有什么迄今为止的元素? – Scott