Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 2 réponses
  • 1 a ce problème
  • 26 vues
  • Dernière réponse par 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>

Modifié le par cor-el

Toutes les réponses (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