[英]fadeTo not working in ie10
I am not sure why but after looking at examples I thought were the same from previous questions I decided to post.. I have a button when clicked does the following things...我不知道为什么,但在查看示例后,我认为与我决定发布的先前问题相同.. 单击时我有一个按钮会执行以下操作...
$('.fa-phone, .bg-darkPink').parent().on('click', function () {
$('#testimonials').fadeTo(0, 0);
$('.submenu-ctn').fadeTo(0, 0);
$("#colorscreen").remove();
$("body").append('<div id="colorscreen" class="animated"></div>');
$("#colorscreen").addClass("fadeInUpBigCS");
$(".musability-music-therapy-content-space").css({width: "720px",opacity:1}).load("contact-page.html #contact-form");
$(".submenu-ctn").load("contact-page.html .submenu-contact");
$.getScript("js/slider/slider-animations.js");
$(".submenu-ctn").load("contact-page.html .submenu-contact");
$('.nav-toggle').removeClass('active');
$(this).addClass('active');
$('#menu').multilevelpushmenu('collapse');
$('.submenu-ctn').fadeTo(3000, 1);
});
the problem is that this bit of the script is not getting executed.问题是脚本的这一部分没有被执行。
$('#testimonials').fadeTo(0, 0);
where the css and html is as follows其中css和html如下
<div id="testimonials">
<div class="box animated seven boxGreen testimonials1">
<p class="fg-white">"".<p class="text-small fg-white">- M
<span class="imagestars">
<img src="images/mthc/stars.png" alt="testimoinal rating 5 star">
</span>
</p>
</div>
<div class="box animated nine boxGreen testimonials2">
<p class="fg-white">" the long term"<p class="text-small fg-white">kool.
<span class="imagestars">
<img src="images/mthc/stars.png" alt="testimoinal rating 5 star">
</span>
</p>
</div>
</div>
#testimonials
{
display:block;
opacity:1;
z-index:1500;
}
Not really sure what's going on so investigating with debug but that isn't telling anything atm.不太确定发生了什么,所以用调试进行调查,但这并没有告诉任何 atm。 works in all other browsers hmmmm ?
适用于所有其他浏览器嗯?
所以基本上 IE 10 不喜欢有溢出的类:隐藏在你试图淡入淡出的 div 中......把它们从 div 内的类中取出来解决问题!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.