I\'ve got a slideshow running in a container and need the height of the container to match the visible slide\'s height. Unfortunately the images are absolutely positioned and th
I'd suggest using the plug-in's callback options, particularly the after:
after
$('.home').cycle({ fx:'fade', after: function(){ $('#main').css('height',$(this).outerHeight()); } });
Updated JS Fiddle demo.
References: