»
EnglishFrenchVietnamese

Print - FlashId - JavaScriptBank.com

Full version: jsB@nk » Text » Animation » FlashId
URL: https://www.javascriptbank.com/flashid.html

FlashId © JavaScriptBank.comFlashId changes any element which has an ID, a div section in this example, at a set rate. The example is set for 1.1 seconds, but can be changed. It can use any number of easily coded messages which may cause interesting effects such as the repeating message in the example. It may contain HTML code.

Full version: jsB@nk » Text » Animation » FlashId
URL: https://www.javascriptbank.com/flashid.html



JavaScript
<script language="Javascript">/*Another function by IraOriginal Programmed by Ira Sterbakov - [email protected] 12/15/04Please keep credit in scriptMay be freely used and modified - email notification would be nice*/var tt = 0;var ins=-1;//messages go here. There may be any number of them.var FMess = new Array()ins++;FMess[ins] = "<b>Hello</b>";ins++;FMess[ins] = "<font color=red size=+1><b>World</b></font>";ins++;FMess[ins] = "<font color=green size=+2><b>From</b></font>";ins++;FMess[ins] = "<font color=blue size=+3><b><i>JavaScriptBank.com</i></b></font>";ins++;FMess[ins] = "";ins++;FMess[ins] = "<font color=blue size=+3><b><i>JavaScriptBank.com</i></b></font>";ins++;FMess[ins] = "";ins++;FMess[ins] = "<font color=blue size=+3><b><i>JavaScriptBank.com</i></b></font>";function FlashId(){setTimeout('FlashId()',1100);document.getElementById('FTest').innerHTML = FMess[tt];tt = (tt < (FMess.length -1)) ? tt + 1 : 0;}FlashId();</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<div id="FTest" style="height: 35px;"></div><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->