This JavaScript function tested in all Browsers like: IE,Chrome,Firefox,Opera,Safari
<script type="text/javascript">
window.setInterval (BlinkIt, 550);
window.setInterval (BlinkIt1, 300);
var color0 = "#1F1FFF";
var color1 ="#FF3300";
var color2 ="Orange";
function BlinkIt () {
var blink0 = document.getElementById ("blinkdata");
color0 = (color0 == "#1F1FFF")? "Black" : "#1F1FFF";
blink0.style.color = color0;
}
function BlinkIt1 () {
var blink1 = document.getElementById("blinkadd");
color1 = (color1 == "#FF3300")? "Black" : "#FF3300";
blink1.style.color = color1;
}
</script>
<Strong> <p id="blinkadd"> Welcome in ramsis-code blog </p> </strong>
No comments:
Post a Comment