Home >Web Front-end >HTML Tutorial >jQuery's animate method does not work under IE7_html/css_WEB-ITnose

jQuery's animate method does not work under IE7_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:49:54935browse

Code:

$("#latelyView").stop(true,true).animate({"margin-left":nextMarginLeft*1-537},500);

It can slide normally under IE8 and IE9, but cannot slide under IE7;


Reply to discussion (solution)

alert($("#latelyView").css("margin-left"));
is also valuable;

Here I come, Sao Nian! ! ! ! ! ! ! ! ! ! ! ! ! !

Solved, it’s the reason for the negative margin;

I’ll score points~~ Post it quickly~~

I’ll score points~~ Finish it quickly Tieba~~

sorry, UR late~
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn