W jaki sposób zmodyfikować poniższy kod aby obejmował tylko obrazki z określonym ID - obecnie obejmuje wszystkie które posiadają 'parametr' 'title'.
(function($) { $.titleBlock = { defaults: { removeTitle: true, thefontSize: "12px" } } $.fn.extend({ titleBlock:function(config) { var config = $.extend({}, $.titleBlock.defaults, config); return this.each(function() { var theImage = $(this), removeTitle = config.removeTitle, theFontSizeValue = config.thefontSize; theImage .wrap("<div class='image'>") .parent() .find("span") .html(theImage.attr('alt')) if (removeTitle) { theImage .removeAttr("title"); } }) } }) })(jQuery);