Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Blink in IE

  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Posts
    362
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Blink in IE

    Anyway to get the blink to work in IE. It works with the blink tag in IE.

    Is there any JavaScript I can use to get it to work in IE?

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try changing the style visibility between visible and hidden....

    .....Willy

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Put this in the head of your document:
    Code:
    <script type="text/javascript">
    	function assignBlink(el) {
    		el.runtimeStyle.visibility = "visible";
    		setInterval(function() {
    			el.runtimeStyle.visibility = (el.currentStyle.visibility == "visible") ? "hidden": "visible";
    		}, 500);
    	}
    </script>
    <style type="text/css">
    	* html blink {
    		visibility: expression(assignBlink(this));
    	}
    </style>

  • #4
    Regular Coder
    Join Date
    Jul 2002
    Posts
    362
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •