Salve,
vorrei sapere se c'è un modo per abbreviare questo codice:
	
	
	
		
Grazie per un eventuale aiuto
				
			vorrei sapere se c'è un modo per abbreviare questo codice:
		Codice:
	
	        var img = $("<div></div>");
        var butRight = $("<img src='images/pulRight.png'>");
        var butLeft = $("<img src='pulLeft.png'>");
        var close = $("<img src='close.
        img.appendTo("#cont").animate({marginTop:'115'}, 500);
        butLeft.attr("id","buttonLeft").appendTo("#imgBig");
        butRight.attr("id","buttonRight").appendTo("#imgBig");
        close.attr("id","closeButton").appendTo("#imgBig");
	Grazie per un eventuale aiuto