Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 2 trả lời
  • 1 gặp vấn đề này
  • 26 lượt xem
  • Trả lời mới nhất được viết bởi 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>

Được chỉnh sửa bởi cor-el vào

Tất cả các câu trả lời (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