简体   繁体   English

工具提示被 POPUP WIndow 阻止

[英]Tool Tip is blocked by the POPUP WIndow

My tool tip is blocked by the POPUP Window.我的工具提示被 POPUP Window 阻止。 Please see the image here请在此处查看图片

http://www.tiikoni.com/tis/view/?id=6ffd82f http://www.tiikoni.com/tis/view/?id=6ffd82f

As you can see that My Tool tip is blocked by the pop up window.如您所见,我的工具提示被弹出 window 阻止。

My CSS for the tooltip is我的工具提示的 CSS 是

elStyle = 'position:absolute; ;background-color:#fefbd6;height: 75px; position: absolute;top: 50px;width: 150px;font-weight:bold;height: 80px;border-color: #FFFF99 ;';

.flotr-mouse-value {
font-size: 13px;
font-weight:bold;
 }

.flotr-mouse-value:after {
    content:"";
    border-color: #fefbd6 transparent transparent transparent;
    border-style:solid;
    border-width:20px;
    width:0;
    height:0;
    position:absolute;

}

Please tell me how to resolve this??请告诉我如何解决这个问题??

The easiest way would be to make the window slightly wider to fully accommodate the tooltip.最简单的方法是使 window 稍宽以完全适应工具提示。

Another way would be to change the tooltip to open on the right hand side of the point if the distance between the point and the right edge of the browser window is less than the width of the tooltip.另一种方法是将工具提示更改为在该点的右侧打开,如果该点与浏览器 window 的右边缘之间的距离小于工具提示的宽度。

To complete thirtydot's answer with the left-hand side positioning of the tooltip.使用工具提示的左侧定位来完成三十点的答案。

Normal tooltip:普通工具提示:

lStyle = 'position:absolute; ;background-color:#fefbd6;height: 75px; position: absolute;top: 50px;width: 150px;font-weight:bold;height: 80px;border-color: #FFFF99 ;';

Tooltip located to the left of the cursor:位于 cursor 左侧的工具提示:

lStyleLeft = 'position:absolute; ;background-color:#fefbd6;height: 75px; position: absolute;top: 50px;left:-150px;width: 150px;font-weight:bold;height: 80px;border-color: #FFFF99 ;';

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM