Home  >  Article  >  Web Front-end  >  extjs之去除s.gif的影响_extjs

extjs之去除s.gif的影响_extjs

WBOY
WBOYOriginal
2016-05-16 18:13:231032browse

大家在调试 EXTJs的例子时,经常会去访问 http://extjs.com/s.gif ,如果一些不能访问国外网站的朋友(如:校园网,公司限制上网),就会等很久时间,虽然没有什么影响,但也但也非常不爽。
其实这一个总是很容易解决,只要在Ext.onReady()方法之前(或者方法的第一句)加上下面这一句代码就解决了!

Ext.BLANK_IMAGE_URL = "/js/Ext/resources/images/default/s.gif";

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