wthidden / googlefontdirectory

Automatically exported from code.google.com/p/googlefontdirectory
0 stars 0 forks source link

Google Fonts break after closing Fancybox (type: iFrame) on IE8 #255

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

I made a simple test page:

Try:
http://test2.sogix.com/test-remy/test-fancybox-ie8-googlefonts/index.html

Note: No difference with or without the conditionnal html5shiv.js an ie9.js.

I also try with many other Google Fonts. Same results.

Fancybox v2.15
jQuery v1.10.0

Original issue reported on code.google.com by remy.vac...@gmail.com on 24 Sep 2013 at 8:31

GoogleCodeExporter commented 8 years ago
I also try with jQuery v1.7.2.
Same issue.

Original comment by remy.vac...@gmail.com on 25 Sep 2013 at 1:13

GoogleCodeExporter commented 8 years ago
Screenshot after closing the Fancybox on ie8:

Original comment by remy.vac...@gmail.com on 25 Sep 2013 at 1:15

Attachments:

GoogleCodeExporter commented 8 years ago
The Solution is there:

http://test2.sogix.com/test-remy/test-fancybox-ie8-googlefonts/solution/index.ht
ml

Original comment by remy.vac...@gmail.com on 26 Sep 2013 at 3:01

GoogleCodeExporter commented 8 years ago
id add to the google fonts call in the head of the parent window

and

this in the fancybox-init:

 'beforeClose': function() {
                if ($("html").hasClass("lt-ie9")) {
                    $("#googlefonts-loader").attr('href', 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Share:400,700');
                }
            }

Original comment by remy.vac...@gmail.com on 26 Sep 2013 at 3:05

GoogleCodeExporter commented 8 years ago
Cool :) 

Original comment by dcrossland@google.com on 26 Sep 2013 at 4:10