I've got a function:
(function(jQuery) {
jQuery.fn.przelicz = function() {
return this.each(function() {
var wysokosc = jQuery(window).height() * 0.554;
jQuery(this).find("img").height(wysokosc);
jQuery(this).height(wysokosc);
});
};
})(jQuery);
I wish that this function will be run with 300ms delay. How to do this?