This project is archived and is in readonly mode.

#1182 ✓invalid
Damien D

IFrame and pdf file trigger external pdf reader

Reported by Damien D | February 24th, 2011 @ 09:11 PM

var foo = new IFrame({ src: './files/file.pdf'});
foo.setStyles({width:'500px',height: '500px',border: '0'});
$(somecontainer).adopt(foo);

results on firefox : no problem, the container shows the iframe
results with IE8 : when triggered adobe reader opens externally and it's not using the internal browser plugin (as the container is empty in the browser)

A "manual" html test (with iframe html tags and proper src) works in both browsers.

Comments and changes to this ticket

  • Christoph Pojer

    Christoph Pojer February 24th, 2011 @ 11:40 PM

    • State changed from “new” to “invalid”

    Hello,

    this is likely not a bug in IFrame but a matter of proper content-type or other attributes. Please feel free to ask on IRC or the mailing list.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages