My problem is a bit stupid but i can’t seem to find any info on this.
Is it possible to use the .resize() function on an img object without it generating a div surrounding it?
Maybe this is a bit of a newbie question but this is my first jquery adventure in jqueryland so i’m still learning 🙂
Thanks in advance for the reactions.
By default, the
resize()event is only fired for thewindow– so in your case it wouldn’t work on an image, regardless if it wrapped in adiv.There this plugin which lets you use it for any element though.