![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
dorayme wrote: Personally, I really don't like PDFs that open in a browser window. I like for my PDF reader (Foxit) to natively open the document, so I always give the user the option by offering a link, eg: <a href="somefile.pdf" class="pdf" type="application/pdf" title="Some file in PDF (size)">PDF document (size)</a>. The link is the simpler thing to do and should be fine to suit every taste at the other end. Yes, it may well be but I need to know why a PDF that I've "embedded" in a page can cause a new window to open. |
#12
| |||
| |||
|
|
In article <bpKdnaRYFN8-InLXnZ2dnUVZ_uCdnZ2d (AT) westnet (DOT) com.au>, Andrew Poulos <ap_prog (AT) hotmail (DOT) com> wrote: dorayme wrote: Personally, I really don't like PDFs that open in a browser window. I like for my PDF reader (Foxit) to natively open the document, so I always give the user the option by offering a link, eg: <a href="somefile.pdf" class="pdf" type="application/pdf" title="Some file in PDF (size)">PDF document (size)</a>. The link is the simpler thing to do and should be fine to suit every taste at the other end. Yes, it may well be but I need to know why a PDF that I've "embedded" in a page can cause a new window to open. Without really knowing all about the other browser, one cannot know why it does this. It is certainly open to browsers to open links in various ways. In new tabs, in new windows, even to fire up an app and open the thing in that. Why, Andrew, I once saw a link open in a sink. There was this scream from the kitchen and... Here is what an old browser of mine says when I even put in: p>This sentence will be interrupted by a picture <iframe src="../pics/crimson.png">Alternative text for browsers that do not understand frames.</iframe> for a few pixels.</p "Internet Explorer doesn't know how to handle the type of file you have selected. "You can choose to save this file to your disk or you can configure a Helper Application for this file. "... "Cancel | Save File As | Plugin | Application and this is with an image! In other words, browsers sometimes have to be set up to do the unusual. Out of the box, they know to display a valid html file in an iFrame. They will even, out of the box, go to a url that is just an image, and if it is a jpg, gif or png, it is set to show it in the viewport. But other than these stock standard situations, the browser often needs setting up to handle things. |
#13
| |||
| |||
|
|
[Adrienne Boswell:] The class attribute appears twice, that's invalid. You can only have the class attribute once in an element, but you can combine different classes in one attribute, eg: <span class="red green">Duct Tape</span Are you sure? |
#14
| |||
| |||
|
|
Personally, I really don't like PDFs that open in a browser window. |
#15
| |||
| |||
|
|
Yes, it may well be but I need to know why a PDF that I've "embedded" in a page can cause a new window to open. |
#16
| |||
| |||
|
|
Adrienne Boswell wrote: The class attribute appears twice, that's invalid. You can only have the class attribute once in an element, but you can combine different classes in one attribute, eg:<span class="red green">Duct Tape</span Canadian joke, eh? |
#17
| |||
| |||
|
|
Gazing into my crystal ball I observed "Jonathan N. Little" lws4art (AT) centralva (DOT) net> writing in news:hcodv8$po8$1 (AT) news (DOT) eternal- september.org: Adrienne Boswell wrote: The class attribute appears twice, that's invalid. You can only have the class attribute once in an element, but you can combine different classes in one attribute, eg:<span class="red green">Duct Tape</span Canadian joke, eh? Good - I was hoping someone would get that. |
#18
| |||
| |||
|
|
rf wrote: It's a browser setting. Could you please give me an idea what setting that would be in, say, IE 8? |
#19
| |||
| |||
|
|
I'm embedding an Acrobat file in the page with iframe class="acroframe" src="test.pdf" class="acroelement" /iframe When I test it, it opens as I would expect it. That is, embedded within the page. When my friend tests it on her computer a new window opens with the PDF in it. My questions are, why does the PDF open in a new window and how can I get it to display as it does on my computer? Andrew Poulos |
#20
| |||
| |||
|
|
dorayme: [Adrienne Boswell:] The class attribute appears twice, that's invalid. Are you sure? Yes, SGML doesn't allow an attribute to be specified more than once. |
![]() |
| Thread Tools | |
| Display Modes | |
| |