I have done this several times without problems, but for some reason this is a problem on Here . A slide down will start working (1/3) in normal mode and, than a sudden jerk, and end the animation. The slide show works great. this is the case for slideDown (), slideToggle and .animate (), it is strange if I also switch the opacity to the animation function, it does not twitch, but my text will change color for a short time.
HTML:
<h2>Phthalate Free: </h2><div class="yamikowebsToggler"> <p> Dibutyl Phthalate is linked to cancer and is present in nail polish, perfume, soft plastics and skin care products. </p></div>
CSS: I also read that these fields can be annoying, but that doesn't help
h2{color:
Jquery:
$(document).ready(function(){ $(".yamikowebsToggler").fadeOut(0); $("h2").click(function() { $(this).next(".yamikowebsToggler").stop(true, true).animate( { height: 'toggle' }, { duration: 1000, }); }) });
javascript jquery jquery-animate slidedown slidetoggle
user654994
source share