1
   

Stop after three blinks

 
 
mycrown
 
Reply Thu 11 Dec, 2014 03:43 am
Hi I'm trying to create a title on the title bar that blinks. i only want it to blink three times then stop here's the code

<script language="javascript">
function blinkTitle(binShow) {


if(binShow) {
window.document.title = "*** (1) Message ***";
setTimeout("blinkTitle()", 500);
}
else {
window.document.title = " . ";
setTimeout("blinkTitle(true)", 500);
}

}
</script>

i hopw you ca help me out
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 1 • Views: 603 • Replies: 0
No top replies

 
 

Related Topics

 
  1. Forums
  2. » Stop after three blinks
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/16/2024 at 02:08:48