tendouser Posted May 12, 2011 Share Posted May 12, 2011 Any good html function to make html text blink?(All browsers) Thanks! Link to comment https://forums.phpfreaks.com/topic/236162-js-function-html-blink/ Share on other sites More sharing options...
KevinM1 Posted May 12, 2011 Share Posted May 12, 2011 Any good html function to make html text blink?(All browsers) Thanks! Use the <blink></blink> tag? Also: ugh. Blinking text is so 1997. Link to comment https://forums.phpfreaks.com/topic/236162-js-function-html-blink/#findComment-1214236 Share on other sites More sharing options...
tendouser Posted May 12, 2011 Author Share Posted May 12, 2011 Works on all browsers? I found one Javascript and it works in all IE, Safari, Opera, FF, Chrome. Link to comment https://forums.phpfreaks.com/topic/236162-js-function-html-blink/#findComment-1214238 Share on other sites More sharing options...
KevinM1 Posted May 12, 2011 Share Posted May 12, 2011 Works on all browsers? I found one Javascript and it works in all IE, Safari, Opera, FF, Chrome. ...<blink></blink> is an HTML tag. Try the following code and look for yourself: <!doctype html> <html lang="en-us"> <head> <title>Blink test</title> </head> <body> <blink>This text is blinking</blink> </body> </html> Link to comment https://forums.phpfreaks.com/topic/236162-js-function-html-blink/#findComment-1214241 Share on other sites More sharing options...
tendouser Posted May 12, 2011 Author Share Posted May 12, 2011 create js file function parpadear() { with (document.getElementById("parpadeo").style) visibility = (visibility == "visible") ? "hidden" : "visible"; } inside html file body tag <body class="cuerpo" onload="setInterval('parpadear()', 1500)"> <span id="parpadeo" style="position:absolute;left:30px;top:30px;color:#ff3366;font-family:arial;font-size:45px;text-align: center"> 203-2799<br/>6226-6691</span> Link to comment https://forums.phpfreaks.com/topic/236162-js-function-html-blink/#findComment-1214245 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.