There is also a Problem with the 20px in IE6 when u use another
padding:
if (isIE) {
$("#fancy_content")[0].style.setExpression
('height', '(this.parentNode.clientHeight - 20)');
$("#fancy_content")[0].style.setExpression
('width', '(this.parentNode.clientWidth - 20)');
}
You have to make the var flexible with the pad-amount. This should
work:
if (isIE) {
$("#fancy_content")[0].style.setExpression
('height', '(this.parentNode.clientHeight - '+(pad*2)+')');
$("#fancy_content")[0].style.setExpression
('width', '(this.parentNode.clientWidth - '+(pad*2)+')');
}
On 18 Jul., 14:54, Carsten <devriescars
...@gmail.com> wrote:
> Thank you tapin13, I had the same problem and your fix works. I wonder
> why there still is no new version of fancybox with your bug fix.
> On 25 mei, 18:15, tapin13 <tapi...@gmail.com> wrote:
> > FIXED fancybox js, you can download from here, and see on site, that
> > all work in IE8.http://gamestation.ru/js/jquery.fancybox/jquery.fancybox-1.2.1.js