This repository has been archived by the owner on Mar 24, 2020. It is now read-only.
forked from scottjehl/Respond
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Internet Explorer 9 supports css3 media queries, but not within frames (this appears to be a bug in IE9). Modifying this script to check for IE9 and check if within iframe and run if true.
- Loading branch information
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1c86c66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine for me.
Thanks.
1c86c66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this saved me hours of random debugging!
1c86c66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad this has been of use to someone other than me.
1c86c66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This worked for me temporarily when just changing my .js and refreshing.
As soon as i reset the browser the problem comes back
1c86c66
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!. This was driving me nuts. Dreadful IE9.
Was openening a lightbox iframe and it would destroy the whole layout, not only iframe but top window. Funnily, it wouldn´t happen with Developer Tools open which meant it was impossible to debug. My guess is IE9 applied the media-query CSS according to the size of the "active" window, so as you moved the mouse it would switch from top (big) to iframe (small) and just go crazy.