Fancybox 1.3.4 & IE 7 & Jquery 1.6 doesn`t work anymore

673 views
Skip to first unread message

Normsen

unread,
May 5, 2011, 4:20:38 AM5/5/11
to fancybox
The Fancybox doesn`t work anymore with jQuery`s current 1.6 release in
IE7. It causes an stack overflow when initializing. Do you have any
clue ?

badcom

unread,
May 5, 2011, 8:52:37 AM5/5/11
to fancybox
It happened with me as well.

Stephan de Souza

unread,
May 5, 2011, 9:47:57 AM5/5/11
to fanc...@googlegroups.com
Appear to be a $.append error on IE 7, he's no more accepting multiples var append!

Made a simple correction with this rewrite of Fancybox.init(): http://pastebin.com/1CxG62aB

Normsen

unread,
May 5, 2011, 10:30:29 AM5/5/11
to fancybox
Yes thats right, i did it the same way

JFK

unread,
May 5, 2011, 5:45:20 PM5/5/11
to fancybox
it seems to be a jQuery bug that now is fixed and will be included in
v1.6.1 in a week or so
http://bugs.jquery.com/ticket/9072
http://news.ycombinator.com/item?id=2510844

In the meantime, Souza's post may be used as a workaround (neat!,
thanks) but fancybox js file should work with no modifications after
jQuery 1.6.1

Stephan de Souza

unread,
May 6, 2011, 8:37:30 AM5/6/11
to fanc...@googlegroups.com
Thanks for the feedback JFK. ;)

Tim F

unread,
May 6, 2011, 10:35:20 AM5/6/11
to fanc...@googlegroups.com
Man, I wish I had found this 45 min ago before trying to figure out why IE7 was taking a dump...

Thanks for confirming my theory though!

JFK

unread,
May 13, 2011, 5:28:50 PM5/13/11
to fancybox
jQuery 1.6.1 released
http://code.jquery.com/jquery-1.6.1.min.js
seems like everything works fine now (fancybox js out of the box with
no modifications)

Joonas

unread,
May 13, 2011, 5:50:05 PM5/13/11
to fancybox
thanks for sharing.

On 14 touko, 00:28, JFK <jfk.d...@gmail.com> wrote:
> jQuery 1.6.1 releasedhttp://code.jquery.com/jquery-1.6.1.min.js
Reply all
Reply to author
Forward
0 new messages