borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincani
:: Dynamic Color Change of Text

Author  

Sujatha G

Language  

VB Script

Operating Systems  

Windows 95, 98 and NT
HTML
<HEAD>
<TITLE>Dynamic Color Change of Text</TITLE>

<SCRIPT LANGUAGE = VBSCRIPT>
Function fnColor()
	Randomize
	H.style.color=rgb(Int(255 * Rnd),Int(255 * Rnd),Int(255 * Rnd))
End function

Function fnTimer()
	window.setInterval "fnColor()",1000  
End function
</SCRIPT>
</HEAD>

<BODY LANGUAGE=VBSCRIPT  ONLOAD = "fnTimer()">
<CENTER><H2 id=H>Hello Good Morning</H2></CENTER>
</BODY>

</HTML>
:: Navigation

Home

VB Script and ASP

Previous Tip

Next Tip

:: Search this site
Google
:: Related Topics
icon 07-02-2003 Re: excel like multiple sheets by vbgen
icon 11-01-2003 Change Your Subject Title... by vbgen
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincaniborder