Hacker News new | ask | show | jobs
by cannuk 5170 days ago
Currently I am working on blink.js. It's a travesty that the blink tag is no longer supported.
1 comments

There you go.

    jQuery.fn.blink = function(){
    	var that = this;
    	setInterval(function(){
    		that.css("opacity",function(i,v){return 1>>v})
    	},1500)	
    	return this;
    }
Surely visibility, not opacity. Has to be quicker.