Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

How to display large png files instead of Opening or Saving then.

  • 2 svar
  • 1 har detta problem
  • 26 visningar
  • Senaste svar av JimBayne

more options

Firefox and Chrome appear to have a problem related to displaying large (page size) png files in frames.

I have a series of frame based web pages that work fine with Internet Explorer, Safari, Opera, and Maxthon (i.e. they display the png's in the target frame). When I use FireFox (and Chrome), and click on the links to display the png files I receive the message ...

      You have chosen to open xxx.png ... 
        ...
      What should Firefox do ...
        O Open with ...
        O Save 

My html window has 3 frames: - the top frame has links to control the middle frame content - the middle frame has links to control the bottom frame content The bottom frame displays the large (page size) png (bitmap) files.

My links are coded as follows ...

  <td width="10%"><a href="javascript:DisplayLargeVariant('A','aug');">aug</a></td>

Which Calls ...

function DisplayLargeVariant(Key, ChordVariant, Dir) { //  Routine to change the content of the bottom panel when the variant is changed
    ...
    var bottom = "";
    ...
    //  which builds the png file reference "bottom" => the appropriate file and then    
    //        displays the png in the bottom panel  via ...
    parent.bottom.location = bottom;
}
Firefox and Chrome appear to have a problem related to displaying large (page size) png files in frames. I have a series of frame based web pages that work fine with Internet Explorer, Safari, Opera, and Maxthon (i.e. they display the png's in the target frame). When I use FireFox (and Chrome), and click on the links to display the png files I receive the message ... You have chosen to open xxx.png ... ... What should Firefox do ... O Open with ... O Save My html window has 3 frames: - the top frame has links to control the middle frame content - the middle frame has links to control the bottom frame content The bottom frame displays the large (page size) png (bitmap) files. My links are coded as follows ... <nowiki> <td width="10%"><a href="javascript:DisplayLargeVariant('A','aug');">aug</a></td></nowiki> Which Calls ... <pre><nowiki>function DisplayLargeVariant(Key, ChordVariant, Dir) { // Routine to change the content of the bottom panel when the variant is changed ... var bottom = ""; ... // which builds the png file reference "bottom" => the appropriate file and then // displays the png in the bottom panel via ... parent.bottom.location = bottom; }</nowiki></pre>

Ändrad av cor-el

Alla svar (2)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.

The helpers at that forum are more knowledgeable about web development issues.

You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

more options

Thanks. I'll post the question there. Regards. Jim