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

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

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

        • <bdo id='FfUii'></bdo><ul id='FfUii'></ul>

        <tfoot id='FfUii'></tfoot>
      1. IE7/8:如果鼠标移到 div 内的 iframe 上,则 div 会丢失 :hover!

        IE7/8: div loses :hover if mouse moves over an iframe which is inside the div!(IE7/8:如果鼠标移到 div 内的 iframe 上,则 div 会丢失 :hover!)
      2. <tfoot id='XrZ1h'></tfoot>
          <bdo id='XrZ1h'></bdo><ul id='XrZ1h'></ul>
            <i id='XrZ1h'><tr id='XrZ1h'><dt id='XrZ1h'><q id='XrZ1h'><span id='XrZ1h'><b id='XrZ1h'><form id='XrZ1h'><ins id='XrZ1h'></ins><ul id='XrZ1h'></ul><sub id='XrZ1h'></sub></form><legend id='XrZ1h'></legend><bdo id='XrZ1h'><pre id='XrZ1h'><center id='XrZ1h'></center></pre></bdo></b><th id='XrZ1h'></th></span></q></dt></tr></i><div id='XrZ1h'><tfoot id='XrZ1h'></tfoot><dl id='XrZ1h'><fieldset id='XrZ1h'></fieldset></dl></div>

              • <small id='XrZ1h'></small><noframes id='XrZ1h'>

              • <legend id='XrZ1h'><style id='XrZ1h'><dir id='XrZ1h'><q id='XrZ1h'></q></dir></style></legend>

                    <tbody id='XrZ1h'></tbody>
                  本文介绍了IE7/8:如果鼠标移到 div 内的 iframe 上,则 div 会丢失 :hover!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试在列表中添加 facebooklike 按钮"和 twittertweet 按钮",我的列表结构是:

                  I'm trying to add facebook "like button" and twitter "tweet button" on a list, my list structure is:

                  <list>
                      <listItem>
                          <iframeContainer>
                              <iframe/>
                          </iframeContainer>
                      </listitem>
                  </list>
                  

                  css 是:

                  listItem iframeContainer {display:none;}
                  listItem:hover iframeContainer {display:block;}
                  

                  IE7/8:问题是当鼠标移到 iframe 上时,listItem 失去焦点.

                  IE7/8: the problem is when mouse moves over the iframe the listItem loses its focus.

                  我尝试通过 csshover.htc 修复它,但它没有修复它.

                  I tried to fix it by csshover.htc but it doesn't fix it.

                  它在其他浏览器中运行良好.

                  It works fine in other browsers.

                  你可以在这里现场查看:
                  http://bit.ly/hsFtq6
                  您需要在网站上注册,它既简单又快捷:)

                  you can check it out live here:
                  http://bit.ly/hsFtq6
                  you need to signup at website, it's easy and fast :)

                  谢谢

                  推荐答案

                  我已经用和csshover.htc一样的方法修复了,虽然添加csshover.htc没有修复!

                  I've fixed it by the same way as csshover.htc though adding csshover.htc didn't fix it!

                  if($.browser.msie){
                       $('.item').live('mouseenter',function() {
                          $(this).addClass('hover');
                       });
                       $('.item iframe').live('hover',function() {
                          $(this).parents(".item").addClass('hover');
                       });
                       $(".item").live('mouseleave',function() {
                          $(this).removeClass('hover');
                       });
                  }
                  

                  css:

                  .item:hover, .item.hover {background-color:#555;}
                  

                  这篇关于IE7/8:如果鼠标移到 div 内的 iframe 上,则 div 会丢失 :hover!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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屋-程序员软件开发技术分享社
                  Scale background image to fit ie8 window(缩放背景图像以适合 ie8 窗口)
                  @fontface in IE7 (IETEster) not working properly(IE7 (IETEster) 中的@fontface 无法正常工作)
                  Safari 5.1 breaks CSS table cell spacing(Safari 5.1 打破 CSS 表格单元格间距)
                  Put in bold part of description in metatag Drupal module(将描述的粗体部分放在元标记 Drupal 模块中)
                1. <tfoot id='3DmES'></tfoot>

                2. <legend id='3DmES'><style id='3DmES'><dir id='3DmES'><q id='3DmES'></q></dir></style></legend>

                  <small id='3DmES'></small><noframes id='3DmES'>

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

                      • <bdo id='3DmES'></bdo><ul id='3DmES'></ul>