如何显示上的小应用程序的顶部弹出内容 [英] How to display pop-up content on top of an applet
问题描述
我的网站使用了老派的Java小程序为内容的关键部分。作为网站的成熟,我们正在把围绕该applet,其中包括悬停内容和jQuery用户界面对话框额外的内容。
My website uses old-school Java applets for a key piece of content. As the site matures we are adding extra content around this applet, which includes hover content and jQuery UI dialog boxes.
问题是,这些内容悬停和对话框中显示的 applet下面并对其内容被遮挡。
The problem is that these hover content and dialog boxes appear beneath the applet and their content is obscured.
我已经试过了常见的方式来解决问题,比如的z-index
和的wmode =透明
,但这些不工作。我也看到答案这个疑问,说这是不有可能,但这些问题都是几年的历史。
I have tried the common ways to solve the problem, such as z-index
and wmode=transparent
but these do not work. I have also seen answers to this question that say it is just not possible, but these questions were a few years old.
没有人有任何建议,如何迫使落后于其他内容的小程序,或其他任何聪明的解决方法?我创建了一个页面,以隔离和说明问题 - HTTP://blog.ajcw .COM /演示/显示隐藏-applet.htm
Does anyone have any suggestions how to force the applet behind other content, or any other clever workarounds? I have created a page to isolate and demonstrate the problem - http://blog.ajcw.com/demo/display-behind-applet.htm
的(在对话框中页的中心打开,这样你就需要调整你的窗口看到它的小程序的顶部)的
摘要
- 这两个jQuery UI的对话框,信息悬停需要出现在上面的小程序
- 我曾尝试
的z-index
和的wmode
- 我不能使用替代小程序
- 一个jQuery的解决方法是可以接受
- 影响比Firefox 3.6 + 其他所有浏览器
- Both the jQuery UI dialog box and info hover need to appear above the applet
- I have tried
z-index
andwmode
- I cannot use an alternative to the applet
- A jQuery workaround is acceptable
- Affects all browsers other than Firefox 3.6+
我目前的解决方案是隐藏的小程序时弹出的是积极的,但我想找到一个更好的解决方案。
My current solution is to hide the applet when the pop-up is active, but I would like to find a more elegant solution.
推荐答案
看来,它仍然是不可能的,因为每个在原岗位所引用的替代问题。
It seems that it still isn't possible, as per the alternate question referenced in the original post.
有关记录我已经使用添加的解决方法可见性:隐藏
来时弹出的内容网页内推出的小程序
For the record I have used the workaround of adding visibility:hidden
to the applet when pop-up content is launched within the page.
这篇关于如何显示上的小应用程序的顶部弹出内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!