What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 40817 |  Welcome, Guest!   Register  Login
 Home > Code Snippets > JavaScript > How to blink a text on IE browser.??? ...
Ranjeet_8

How to blink a text on IE browser.???

 Code Snippet posted by: Ranjeet_8 | Posted on: 1/31/2013 | Category: JavaScript Codes | Views: 1207 | Status: [Member] | Points: 40 | Alert Moderator   


How blink a text on IE Browser.

//Java Script
<script type="text/javascript">

function doBlink() {
var blink = document.all.tags("BLINK")
for (var i = 0; i < blink.length; i++)
blink.style.visibility = blink.style.visibility == "" ? "hidden" : ""
}
function startBlink() {
if (document.all) setInterval("doBlink()", 500)
}
window.onload = startBlink;
</script>


//CSS
    <style type="text/css">

blink
{
-webkit-animation-name: blink;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0);
-webkit-animation-duration: 1s;
}
</style>


//HTML
 <span style="color: Red; font-size: 11px; font-family: Times New Roman;">

<blink>New!</blink>
</span>

Found interesting? Add this to:


>> Write Response - Respond to this post and get points

More codes snippets

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/22/2013 6:02:49 AM