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

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

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

      1. 将鼠标悬停在完整的 div 上时,在 IE 中悬停不起作用

        Hover in IE not working when hovering over full div(将鼠标悬停在完整的 div 上时,在 IE 中悬停不起作用)

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

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

              <tfoot id='AqmJJ'></tfoot>
                  <tbody id='AqmJJ'></tbody>
              • <small id='AqmJJ'></small><noframes id='AqmJJ'>

                  <legend id='AqmJJ'><style id='AqmJJ'><dir id='AqmJJ'><q id='AqmJJ'></q></dir></style></legend>
                • 本文介绍了将鼠标悬停在完整的 div 上时,在 IE 中悬停不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  I am using jquery addClass code to show/hide elements when rolling over a div. in all browsers it works but in IE it only works when i rollover some text, not the full div.

                  so in this example, if I rollover the showingtext section of the main div, the hiddentext div will show. but if I mouse into the space in between the two floating divs (where there is now text or anything), the hover doesnt work.

                  UPDATE: the code below seems to work, but my production code does not. Please refer to this link: jsfiddle.net/H2anm/5 There are some broken images and such, but if you roll your mouse over the element into the whitespace to the right of the usernames, the location coordinates and the Pref.brand: Gamehouse.. or some of the surrounding whitespace of the Share/Bookmark links, the div collapses and the buttons/bgcolor change disappear.

                  javascript:

                  $(function() {
                  $("div.DivThatsTriggeredOnRollover").hover( 
                  function() {  $("div.hiddentext").addClass("hiddentextShow"); },
                  function() { $("div.hiddentext").removeClass("hiddentextShow"); });
                  });
                  

                  pseudo-html code:

                  <div class="DivThatsTriggeredOnRollover" style="width:500px;">
                  
                  <div id="showingtext" style="float:left;width:100px;">
                  here is showing text
                  </div>
                  
                  <div class="hiddentext" style="float:right;width:100px;">
                  here is hidden text
                  </div>
                  
                  </div>
                  

                  解决方案

                  turns out that in IE7 if you have multiple floats inside of a larger div and you specify a width in one of the inner floating divs, you have to specify a width in the outermost ones as well. im not sure why this is the case, but it has been fixed in the version of my code here: http://jsfiddle.net/H2anm/8/

                  I needed to specify a width for the entire outer div, since I had specified one for the gray div. prior to that, if I rolled off of the red/gray the hover flip didnt work.

                  这篇关于将鼠标悬停在完整的 div 上时,在 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 的最简洁方法是什么?)
                  <i id='5uGDc'><tr id='5uGDc'><dt id='5uGDc'><q id='5uGDc'><span id='5uGDc'><b id='5uGDc'><form id='5uGDc'><ins id='5uGDc'></ins><ul id='5uGDc'></ul><sub id='5uGDc'></sub></form><legend id='5uGDc'></legend><bdo id='5uGDc'><pre id='5uGDc'><center id='5uGDc'></center></pre></bdo></b><th id='5uGDc'></th></span></q></dt></tr></i><div id='5uGDc'><tfoot id='5uGDc'></tfoot><dl id='5uGDc'><fieldset id='5uGDc'></fieldset></dl></div>
                      <tbody id='5uGDc'></tbody>
                    <tfoot id='5uGDc'></tfoot>
                  • <legend id='5uGDc'><style id='5uGDc'><dir id='5uGDc'><q id='5uGDc'></q></dir></style></legend>

                          <small id='5uGDc'></small><noframes id='5uGDc'>

                            <bdo id='5uGDc'></bdo><ul id='5uGDc'></ul>