So in my Fancybox I dont want a scrollbar displayed but rather use the autoscale : true option.
So what happens with my settings is that no scroll bar is displayed which is good, but the contents of the div go outside of the white div of the fancybox and the div itself does not grow to size of the content but stays at its original size.
claimLink.fancybox({
'scrolling' : 'no',
'overlayShow' : false,
'autoScale' : true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'hideOnContentClick' : false,
'width': 500,
'height': 590,
'autoDimensions': false,
'onCleanup': function (e) {
var modelClaimFormId = $j(e).attr("href").replace("body", "");
var modalClaimForm = $j(modelClaimFormId);
if (!($j(modalClaimForm).valid())) {
$j(claimForm).remove();
$j(e).parents("tr").remove();
}
}..
Any idea why this is happening ?