IE8 - Error - Not implemented

986 views
Skip to first unread message

tapin13

unread,
May 18, 2009, 7:58:41 PM5/18/09
to fancybox
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET
CLR 2.0.50727; InfoPath.2)
Timestamp: Tue, 19 May 2009 00:00:49 UTC


Message: Not implemented

Line: 19
Char: 15990
Code: 0
URI: http://fancy.klade.lv/js/jquery-1.3.2.min.js

tapin13

unread,
May 19, 2009, 7:56:56 PM5/19/09
to fancybox
I found bug and solution.
The bug is in jquery library, that detect IE8 like IE6!
In fancybox, there is 2 places, that use features of IE later than
IE8. In IE8 there is no this elements.
So, i add additional js code from here http://www.quirksmode.org/js/detect.html
that detect IE8 correct.

tapin13

unread,
May 25, 2009, 12:15:14 PM5/25/09
to fancybox
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

Carsten

unread,
Jul 18, 2009, 8:54:46 AM7/18/09
to fancybox
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.

Muckinger

unread,
Aug 17, 2009, 6:12:05 AM8/17/09
to fancybox
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)+')');
Reply all
Reply to author
Forward
0 new messages