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

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

                  相关文档推荐

                  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 的区别?)
                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>