問題のある部分をコメントアウトすることができましたが、今ではうまく機能しているようです:
//This was causing error in IE8 in compatibility mode
// if (oldIE || ieQuirks) {
// $("#fancy_content")[0].style.removeExpression("height");
// $("#fancy_content")[0].style.removeExpression("width");
// }
if (pad > 0) {
width += pad * 2;
height += pad * 2;
$("#fancy_content").css({
'top': pad + 'px',
'right': pad + 'px',
'bottom': pad + 'px',
'left': pad + 'px',
'width': 'auto',
'height': 'auto'
});
//This was causing error in IE8 in compatibility mode
// if (oldIE || ieQuirks) {
// $("#fancy_content")[0].style.setExpression('height', '(this.parentNode.clientHeight - ' + pad * 2 + ')');
// $("#fancy_content")[0].style.setExpression('width', '(this.parentNode.clientWidth - ' + pad * 2 + ')');
// }
それがないとうまくいくのは奇妙に思えますが、ファンシーボックスの使い方によっては、すべての人にとってうまくいかないかもしれません...