如何定期更改显示的闪光灯? [英] how can I periodically change the flash shown?
本文介绍了如何定期更改显示的闪光灯?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大多数人一定看过闪光灯,经过一段时间后被另一个闪光灯取代,而另一个闪光灯又被另一个闪光灯等替换。怎么样?
Most of you must have seen a flash which after a period of time is replaced by another flash, which in turn is replaced by another flash etc. how to this?
推荐答案
您可以使用JavaScripts setInterval()方法来调用一个函数,该函数会定期将相应嵌入/对象标记的src /值更改为新值...
>
亲切的问候
you may use JavaScripts setInterval() method to call a function that periodically changes the src/value for the respective embed/object tags to new values ...
kind regards
好的这个代码可以正常替换div中的文本;如何将mod替换为flash?尝试将文本变量放入HTML中以显示flash但是没有工作
OK this is the code which works fine replacing text in a div; how it can be mod to replace flash?tried to put into the text variable what I would put in the HTML to display the flash but didn''t work
展开 | 选择 | Wrap | 行号
你是如何在你的HTML中基本包含flash的?
how did you basicly include the flash in your html?
这篇关于如何定期更改显示的闪光灯?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文