Good day! Faced such a task. There is a picture
<a class="title-item-event" href="#"> <img src="/image/width/115/44764-1480932675.jpeg" alt="" data="/image/width/580/44764-1480932675.jpeg"> In the field src="/image/width/115/44764-1480932675.jpeg" this is her grasp, in the field the link to the big picture is original data="/image/width/580/44764-1480932675.jpeg"> when the user presses on a small increase occurs
$(document).ready(function(){ $(".title-item-event").click(function(){ var link = $($(this).children()).attr("src"); var full_link = $($(this).children()).attr("data"); $($(this).children()).attr("src", full_link); $(".b-featuredobjects-main .item").css("height", "400px"); }); }); Those. the contents of these fields just change. Everything works well, but there is a question: is it possible to make a smooth animation to this increase (smooth increase)?
Thank you in advance!