Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

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

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 26 wyświetleń
  • Ostatnia odpowiedź od 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>

Zmodyfikowany przez cor-el w dniu

Wszystkie odpowiedzi (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