there's no way to resize an iFrame in v.2. i found the resize patch for the
previous version. hoping to get similar functionality in v.2 either by patch,
instructions or a version upgrade to the gold build. thanks man. really great
software!
tried this on v.2, no luck. since v.2 uses classes instead of divs i created
two divs, one for the wrapper and the second for inner css.
function fb_resize(w, h) {
if (w > 0 || h > 0) {
if (w > 0) {$('#fbwrap').css({ width: w+"px"}); $('#fbinner').css({ width: (w-6)+"px"});}
if (h > 0) {$('#fbwrap').css({ height: h+"px"}); $('#fbinner').css({ height: (h-6)+"px"});}
$.fancybox.update();
}
}
Original issue reported on code.google.com by bayorzs...@gmail.com on 10 Dec 2011 at 1:54
Original issue reported on code.google.com by
bayorzs...@gmail.com
on 10 Dec 2011 at 1:54