在Safari和超越Java小程序的z-index [英] Java Applet z-index on Safari and beyond

查看:481
本文介绍了在Safari和超越Java小程序的z-index的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在网页中一个众所周知的问题,Java小程序是浏览器忽略applet标记与页面其它组件的z-index的。不管如何在你的页面位置,z-index的元素,小程序将利用自己的一切之上。

A well known problem with Java Applets in webpages is that browsers ignore the z-index of the applet tag vs. other components in the page. No matter how you position and z-index elements in the page, applets will draw themselves on top of everything.

有一种变通方法,被称为IFRAME垫片,如下所述:的http://www.oratransplant.nl/2007/10/26/using-iframe-shim-to-partly-cover-a-java-applet/.

There is a workaround, known as the iframe shim, as described here: http://www.oratransplant.nl/2007/10/26/using-iframe-shim-to-partly-cover-a-java-applet/.

然而,这种解决方法并不在Safari 3或4个工作在Windows(假设同样适用于Mac)。

However, this workaround does not work in Safari 3 or 4 in Windows (assuming the same for Mac).

有谁知道一种方法,使它在Safari工作?

Does anyone know a way to make it work in Safari?

有没有人有关于如何pressure孙修复底层问题,以便我们能够避免笨拙的垫片的想法?下面是关于这一问题的bug报告, http://bugs.sun.com/ bugdatabase / view_bug.do?bug_id = 6646289 时,发现它已经开了一年了,但其他错误报告回很多年。

Does anyone have ideas about how to pressure Sun to fix the underlying problem so we can avoid clumsy shims? Here is a bug report on the issue, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6646289, notice that it has been open for a year, however other bug reports go back many many years.

这是如此令人沮丧,不明白太阳,这是非常诸如此类的事情已经被边缘化的Java在浏览器做很酷的东西的一种方式?我爱你,Java,但是你不能帮助你的情况......

This is so frustrating, don't Sun understand that this is the very sort of thing that has marginalized Java as a way of doing cool stuff in the browser? I love you Java, but you are not helping your situation...

推荐答案

其实问题不涉及到的z-index的。它是由窗Netscape浏览器插件API绘制模型(NPAPI)引起的。

Actually problem is not related to z-index at all. It's caused by "windowed" drawing model of Netscape Plugin API (NPAPI).

您不能做任何事情(除了垫片)。插件作者有<一个href=\"https://developer.mozilla.org/en/Gecko%5FPlugin%5FAPI%5FReference%3APlug-in%5FBasics#Windowed%20and%20Windowless%20Plug-ins\"相对=nofollow>使用窗户API 改写它。

You can't do anything about it (except the shim). Plugin author has to rewrite it using windowless API.

这篇关于在Safari和超越Java小程序的z-index的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆