Note that there are some explanatory texts on larger screens.

plurals
  1. POInternet Explorer Like button madness
    primarykey
    data
    text
    <p>I have a page with an image. When you hover over the image, a slightly transparent white div appears on top of it with a couple of action buttons and some info. When you move your mouse off the image, the info/button box disappears (display: none).</p> <p>In that hidden/mouseover box is a facebook like button. It shows up perfectly fine in all other browsers, but As you might have guessed, it has strange behaviour in the notorious IE browsers. In IE7 - IE8, the like button appears for just a second and then disappears. It still leaves a space in the design like when it would be there, it just isn't. Doesn't matter if I rollover first or not. Button appears for a second, then disappears. In IE9 however, the button does appear and stays there. When I rollover a second time though, the iframe gets a white background, even though the first rollover got me a transparent background.</p> <p><strong>html code of hidden mouseover div:</strong></p> <pre><code>&lt;div id="hoverPopup"&gt; &lt;div class="fbLikeWrapper"&gt; &lt;div class="fb-like" data-send="false" data-layout="button_count" data-show-faces="false"&gt;&lt;/div&gt; &lt;/div&gt; &lt;a href="javascript:reserveGift(#qry_kadoogle_detail.id_kadoogle_detail#, 1)"&gt; &lt;div class="btn_small_prefix"&gt;&lt;/div&gt; &lt;div class="btn_gift_center"&gt;button1&lt;/div&gt; &lt;div class="btn_small_suffix"&gt;&lt;/div&gt; &lt;/a&gt; &lt;a href="##"&gt; &lt;div class="btn_small_prefix"&gt;&lt;/div&gt; &lt;div class="btn_gift_center"&gt;button2&lt;/div&gt; &lt;div class="btn_small_suffix"&gt;&lt;/div&gt; &lt;/a&gt; &lt;/div&gt; </code></pre> <p><strong>css code:</strong></p> <pre><code>.fbLikeWrapper { /*width : 50px; margin-left : auto; margin-right: auto;*/ } .fbLikeWrapper div { display : block; line-height: normal; } </code></pre> <p>screen captures:</p> <p>IE9</p> <p><img src="https://i.stack.imgur.com/xUI7l.jpg" alt="enter image description here"></p> <p>IE7</p> <p><img src="https://i.stack.imgur.com/Ixcys.jpg" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload