c# - How to blink a label in asp.net -
I want to wink a label in the asp.net page but when I want to see the whole page in its light No label.
Blink text with random color in java script
in script tag H2> & lt; Script language = "javascript" type = "text / javascript" & gt; Var hexawale = Array ("A", "B", "C", "D", "E", "F", "0", "1", "2", "3", "4", " 5 "," 6 "," 7 "," 8 "," 9 "); Function Flashtext () {var color = '#'; For (var counter = 1; counter & lt; = 6; counter ++) {var hevival = hequilaw [Math. Floor (hequalv. Tall * monastery. Random ())]; Color = color + hexview; } Document.getElementById ("Flashingtext") .style.color = color; } SetInterval ("flashtext ()", 500); & Lt; / Script & gt;
and type it in the Body section
& lt; Div id = "flashingtext" style = "font-size: 25px;" & Gt; Javascript flashing text & lt; / Div & gt;
& lt; Script language = "javascript" type = "text / javascript" & gt; Var hexawale = Array ("A", "B", "C", "D", "E", "F", "0", "1", "2", "3", "4", " 5 "," 6 "," 7 "," 8 "," 9 "); Function Flashtext () {var color = '#'; For (var counter = 1; counter & lt; = 6; counter ++) {var hevival = hequilaw [Math. Floor (hequalv. Tall * monastery. Random ())]; Color = color + hexview; } Document.getElementById ("Flashingtext") .style.color = color; } SetInterval ("flashtext ()", 500); & Lt; / Script & gt;
& lt; Div id = "flashingtext" style = "font-size: 25px;" & Gt; Javascript flashing text & lt; / Div & gt;
Comments
Post a Comment