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
Release: 2016-06-24 11:49:54
Original
933 people have browsed it

Code:

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

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


Reply to discussion (solution)

alert($("#latelyView").css("margin-left"));
Copy after login
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~
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template