Home  >  Article  >  Web Front-end  >  JQuery slideToggle闪烁问题及解决办法_html/css_WEB-ITnose

JQuery slideToggle闪烁问题及解决办法_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:34:491013browse

在使用slideToggle的时候,会出现在实现隐藏效果后闪烁一下在消失,找了很多原因,本以为是浏览器问题,后来发现是文档定义类型的问题...

原来页面的文档定义:

修正为:
刷新浏览器,查看效果,问题解决

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