Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

When viewer is used in an IFRAME scrolling to top of IFRAME on page load

124 views
Skip to first unread message

astilla

unread,
May 22, 2012, 3:13:59 AM5/22/12
to mozilla-d...@lists.mozilla.org
Hi,

I have a problem I can't seem to resolve. I have the PDFJS viewer working fine in full screen but when I embed that inside an IFRAME on another page I get a weird page scroll issue. When loading the new main page, the page jumps down so that the top if the IFRAME viewer is now at the top of the page.

How do I stop this happening?

I tried the latest version of PDFJS as of yesterday and it's still happening for me with this (the version I've previously been using is a few weeks old - before the translation stuff went in).

Thanks,

Andrew
0 new messages