Getting embedded google docs viewer to work under IE 7,8
Wanted to throw this question out to see if there's been any solutions as the Google Doc viewer is amazing.
Creating an iframe with an embedded Google Docs viewer does not work in IE 7,8.
https://docs.google.com/viewer
Does anyone have开发者_如何转开发 a work around?
I have the same problem, but didn't think it was acceptable to have to ask users to add the URL to their trusted sites in IE.
Luckily I came across the following post:
The embedded version of Google Docs Viewer (gview) will not load its images correctly if third party cookies are disabled. This problem is an issue for most IE users as by default it will be disabled. Below I provide a work around to this problem for at least until google adds a p3p. The original discussion of the issue can be found at google docs help forum.
I've tried this out and it works in IE8, IE7 and IE6.
I just tried an iframe targeting https://docs.google.com/viewer in IE7 and it is working.
But I have ChromeFrame installed in IE - maybe that's the reason it is working for me!
I tested displaying PDFs in Google Viewer with IE8 with following settings.
You may see the solution at http://victoriarange.blogspot.com/2010/07/solution-for-display-problem-of-pdfs-in_24.html
精彩评论