<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浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                append() 方法在被选元素的结尾(仍然在内部)插入指定内容。 语法: $(selector).append( content ) var creatPrintList = function(data){ var innerHtml = ""; for(var i =0;i data.length;i++){ innerHtml +="li class='contentLi'"; innerHtml +="a href
                quot;Each child in an array should have a unique key propquot; only on first time render of page(“数组中的每个孩子都应该有一个唯一的 key prop仅在第一次呈现页面时)
                How do I make a TextGeometry multiline? How do I put it inside a square so it wraps like html text does inside a div?(如何制作 TextGeometry 多线?如何将它放在一个正方形内,以便它像 html 文本一样包裹在 div 内?) - IT屋-程序员软件开发技术分享社
                ExecJS::ProgramError: SyntaxError: Reserved word quot;functionquot;(ExecJS::ProgramError: SyntaxError: 保留字“function)
                Infinite scroll and will_paginate appending the #39;next page#39; of items multiple times(无限滚动和 will_paginate 多次附加项目的“下一页)
                What is cleanest way to turn Array of JQuery Promises into a JQuery Promise of an Array?(将 JQuery Promise 数组转换为数组的 JQuery Promise 的最简洁方法是什么?)
                  <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>