<bdo id='wCVaI'></bdo><ul id='wCVaI'></ul>

    <i id='wCVaI'><tr id='wCVaI'><dt id='wCVaI'><q id='wCVaI'><span id='wCVaI'><b id='wCVaI'><form id='wCVaI'><ins id='wCVaI'></ins><ul id='wCVaI'></ul><sub id='wCVaI'></sub></form><legend id='wCVaI'></legend><bdo id='wCVaI'><pre id='wCVaI'><center id='wCVaI'></center></pre></bdo></b><th id='wCVaI'></th></span></q></dt></tr></i><div id='wCVaI'><tfoot id='wCVaI'></tfoot><dl id='wCVaI'><fieldset id='wCVaI'></fieldset></dl></div>
  1. <legend id='wCVaI'><style id='wCVaI'><dir id='wCVaI'><q id='wCVaI'></q></dir></style></legend>
  2. <tfoot id='wCVaI'></tfoot>

      <small id='wCVaI'></small><noframes id='wCVaI'>

    1. : 鼠标移动到 div 内的 iframe 上时的悬停问题 |IE浏览器

      :hover issue when mouse moves over an iframe which is inside the div | Internet Explorer(: 鼠标移动到 div 内的 iframe 上时的悬停问题 |IE浏览器)
      1. <small id='dgCeU'></small><noframes id='dgCeU'>

      2. <i id='dgCeU'><tr id='dgCeU'><dt id='dgCeU'><q id='dgCeU'><span id='dgCeU'><b id='dgCeU'><form id='dgCeU'><ins id='dgCeU'></ins><ul id='dgCeU'></ul><sub id='dgCeU'></sub></form><legend id='dgCeU'></legend><bdo id='dgCeU'><pre id='dgCeU'><center id='dgCeU'></center></pre></bdo></b><th id='dgCeU'></th></span></q></dt></tr></i><div id='dgCeU'><tfoot id='dgCeU'></tfoot><dl id='dgCeU'><fieldset id='dgCeU'></fieldset></dl></div>
        <tfoot id='dgCeU'></tfoot>

            <legend id='dgCeU'><style id='dgCeU'><dir id='dgCeU'><q id='dgCeU'></q></dir></style></legend>

              <tbody id='dgCeU'></tbody>
              <bdo id='dgCeU'></bdo><ul id='dgCeU'></ul>
                本文介绍了: 鼠标移动到 div 内的 iframe 上时的悬停问题 |IE浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                这是我的问题:

                我在浏览器窗口左侧做了一个小条#blokje{left:-180px;position:absolute;...},当用户将鼠标悬停在栏上时 --> 使用 #blokje:hover{left:0}; 改变位置所有这一切都很好,但现在我在 div 中添加了一个 google adsense 框架......除了在 IE 中(最常用的浏览器;广告......)之外,一切都很好.

                I have made a small bar in the left side of the browserwindow #blokje{left:-180px; position:absolute;...}, when users hover over the bar --> the position changes using #blokje:hover{left:0}; All this works fine, but now I've added a google adsense frame inside the div and... everything works fine except in IE (most used browser; ads...)

                看起来 div:hover 消失在框架上,导致烦人的闪烁,用户无法点击广告!

                It looks like the div:hover disappears over the frame causing annoying flickering and users are unable to click ads !

                我认为一个可能的解决方案是使用 jquery 而不是 css 来执行悬停效果.有人可以帮我把我的 CSS 翻译成 jQuery 吗?

                I think that a possible solution would be to use jquery instead of css to perform the hover effect. Can someone translate my css for me to jQuery ?

                #blokje{width:200px; height:200px; background:#F1F1F1; position:relative; left:-180px; color:black; }
                #blokje:hover{left:0;}
                #blokje #tit{position:absolute; width:30px; height:200px; background:black; right:0; top:0; }
                

                fiddler 解释问题;请注意,问题仅在 IE 中

                fiddler explains the issue; please note that the problem is only in IE

                http://jsfiddle.net/6FeH8/

                测试环境中的在线示例没有缓存(注意:是关于左边的栏而不是 404 错误!)

                The live example online in a test environment not cached (Note: it's about the bar in the left not the 404 error !)

                http://kramels.x10.mx/goedkoopste-autolening.tk/

                推荐答案

                以下应该可以达到你想要的效果.这是基于链接的答案.jQuery:

                The following should achieve the effect you want. This is based on the linked answer. jQuery:

                    if($.browser.msie){
                        $("#blokje iframe").on("hover",function(){ 
                            $(this).parents("#blokje").toggleClass("hover");
                        });
                    }
                

                CSS:

                #blokje:hover,#blokje.hover{left:0;}
                

                这篇关于: 鼠标移动到 div 内的 iframe 上时的悬停问题 |IE浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Move link image 5px up on hover(悬停时将链接图像向上移动 5px)
                How do I inspect CSS pseudo classes with firebug?(如何使用 firebug 检查 CSS 伪类?)
                Why doesn#39;t CSS hover work on table rows when the cells inside the rows have class names?(当行内的单元格具有类名时,为什么 CSS 悬停在表格行上不起作用?)
                Hover image - display div over it(悬停图像 - 在其上显示 div)
                How to apply a CSS class on hover to dynamically generated submit buttons?(如何在悬停时将 CSS 类应用于动态生成的提交按钮?)
                Differences between CSS3 :hover and :focus?(CSS3 :hover 和 :focus 的区别?)
                  <tbody id='exHjZ'></tbody>

                  <tfoot id='exHjZ'></tfoot>
                    <bdo id='exHjZ'></bdo><ul id='exHjZ'></ul>

                    <small id='exHjZ'></small><noframes id='exHjZ'>

                    <legend id='exHjZ'><style id='exHjZ'><dir id='exHjZ'><q id='exHjZ'></q></dir></style></legend>

                          <i id='exHjZ'><tr id='exHjZ'><dt id='exHjZ'><q id='exHjZ'><span id='exHjZ'><b id='exHjZ'><form id='exHjZ'><ins id='exHjZ'></ins><ul id='exHjZ'></ul><sub id='exHjZ'></sub></form><legend id='exHjZ'></legend><bdo id='exHjZ'><pre id='exHjZ'><center id='exHjZ'></center></pre></bdo></b><th id='exHjZ'></th></span></q></dt></tr></i><div id='exHjZ'><tfoot id='exHjZ'></tfoot><dl id='exHjZ'><fieldset id='exHjZ'></fieldset></dl></div>