The behavior for blocking plugin pop-up
Good day. I receive pop-up 'Java Deployment Toolkit (click-to-play) ' in the top of the web-page when I login to my site http://clip2net.com/clip/m0/1379329015-clip-33kb.png When I click to any application from menu (see screen, application like 'Admin', 'Alarms' and so on), I have my menu bar redrawn out of place: http://clip2net.com/clip/m0/1379329358-clip-41kb.png If I activate this plugin, this pop-up will disappear and menu bar will be at the top of the page.
The question is about redrawing of my menu bar: canyou please provide some comments about this situation? How not to get my menu bar redrawn because of this pop-up?
upd: The investigation has provided the following information: Firefox adds div section with this message to the top of the page... But it is interesting that only menu bar is redrawn...
由Lexer52于
被采纳的解决方案
ComputerWhiz, yes, it was CSS issue. This site uses ExtJs library and menu bar is 'panel' in ExtJs. Default CSS for ExtJs panels has 'position: relative'. When this pop-up appears, FF put it at the first div tag and that is why menu bar is redrawn. I have tried 1) to override 'position' from 'relative' to 'absolute' 2) to add into css 'z-index=9999' (with 'opacity= .99' to get z-index applied) but it has been all in vain.
So the fix was changing 'position' from 'relative' to 'fixed' with adding the following fields: 'top: 1px; right: 1px' (left top corner).
定位到答案原位置 👍 0所有回复 (4)
This is not a problem with the site.
The Java Deployment Toolkit was reported vulnerable by Java. There hasn't been a update for the Toolkit yet.
Java recommends disabling this plugin, via the Firefox plugin manager.
I have attached a screenshot of how to disable the plugin for the Firefox plugin manager.
ComputerWhiz, thank you for your answer. My question was not about this pop-up appearing, my question is about behavior of this pop-up... why does it move my menu bar from the top of the page to the middle? At the current moment, I have found that this pop-up is added by FireFox to the first div tag of the page... According to my code, application's panel is described at the first div tag. Menu bar is the second div tag... As I've found in css, menu bar has 'position: relative' style. So It seems to be the rootcause.
When I get this problem fixed, I will confirm what is the rootcause
I am unsure what is causing the issue.
It is most likely just an issue in the CSS programming for that website.
I hope you are able to find the issue soon.
Please report back soon.
选择的解决方案
ComputerWhiz, yes, it was CSS issue. This site uses ExtJs library and menu bar is 'panel' in ExtJs. Default CSS for ExtJs panels has 'position: relative'. When this pop-up appears, FF put it at the first div tag and that is why menu bar is redrawn. I have tried 1) to override 'position' from 'relative' to 'absolute' 2) to add into css 'z-index=9999' (with 'opacity= .99' to get z-index applied) but it has been all in vain.
So the fix was changing 'position' from 'relative' to 'fixed' with adding the following fields: 'top: 1px; right: 1px' (left top corner).