jquery - Child elements in div won't fadeTo() in IE -


This is strange for me this code:

  $ (".layerver"). Feedto ("sharp", 0.0); $ (".layer"). Hover (function {$ (this). Fedora ("fast", 0.9);}, function () {$ (this) .FadeTo ("fast", 0.0);});  

.. Works fine on all browsers except IE7 and IE8. In IE6 and IE8, this works in IE6 (screaming!) (Slowly), this code will not remove the child elements from the img tag simply unaffected Sit there However, if I enable "compatibility mode" in IE8, then it works as expected.

Is IE a little bit in my javascript to help play better? Can I emphasize compatibility mode in IE?

And I know that someone is commenting on the FOUC. I am working on that too.

Update: Here is the CSS Part

  div.layover {position: absolute; Padding: 0px; Display: inline-block; Background color: #fff; Height: 106px; Width: 312px; }  

This does not answer your main question, but I believe Your first line will help in fixing your FOUC:

  $ (".layover"). Hide ();  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -