Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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

  • 2 odpovede
  • 1 má tento problém
  • 18 zobrazení
  • Posledná odpoveď 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>

Upravil(a) cor-el dňa

Všetky odpovede (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