本文介绍了打开Java窗口-Explorer v Firefox冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

绅士:

我刚刚将Java窗口添加到了显示放大图形的ASP网页中.这在资源管理器中可以完美运行,但是在Firefox中却可以完成一些不寻常的工作. Firefox打开一个用户请求界面,该界面询问以下内容:

Firefox应该使用此文件做什么:

打开方式... ...等

保存

>这两个选项都不会像在资源管理器中那样在Java窗口中打开新图形.以下是我用来打开窗口并获取图形的代码:

标题中的
<%-大的Windows脚本-%&
& lt;脚本类型="text/javascript"& gt;
函数OpenLargeWindow1(图像)
{
window.open(广告/" +图像,",宽度= 760,height = 300,top = 200,left = 200,scrollbars = 0).focus();
}
& lt;/script& gt;


在体内

& lt; a href ="javascript:OpenLargeWindow1(" gears33.png)"& gt;
& lt:asp:Image ID ="Image18" runat =服务器" ImageUrl =〜/Ads/plus_sign.png"/& gt;& lt;/a& gt;

Firefox是否需要专有代码,或者选择过程中将使用哪种选项?窗口中的图形(如果有)?或???.

对此难题的任何见解都将受到赞赏.

谢谢Pat

Gentleman:

I just added a Java window to an ASP web page which shows an enlarged graphic. This works perfectly in Explorer, however it does something unusual in Firefox. Firefox opens a user request interface which asks the following:

What should Firefox do with this file:

Open With ... etc
or
Save

Neither option will open the new graphic in the Java window as it does in Explorer. Following is the code that I am using to open call the Window and get the graphic:

IN THE HEADER

&lt;%--Large WIndow Scripts --%&gt;
&lt;script type="text/javascript"&gt;
function OpenLargeWindow1(image)
{
window.open("Ads/" + image, "", " width=760,height=300,top=200,left=200,scrollbars=0").focus();
}
&lt;/script&gt;


IN THE BODY

&lt;a href="javascript:OpenLargeWindow1(''gears33.png'')"&gt;
&lt;asp:Image ID="Image18" runat="server" ImageUrl="~/Ads/plus_sign.png" /&gt;&lt;/a&gt;

Does Firefox require a proprietary code or what option in the select process will put the graphic in the window if any? OR ???.

Any insight to this dilemma is appreciated.

Thank You, Pat

推荐答案


这篇关于打开Java窗口-Explorer v Firefox冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 04:55