我们经常会用到忙碌等待的情况,比如ajax等待回调,或者加载页面的时候,我们通常的做法就是放一张loading.gif图片,在那里转呀转。以前是在pc上用,也没有觉得不妥,如今要在移动端用,问题就来了,以前呢,做前端,兼容各种浏览器,就够让人头疼了,现在还要兼容各种屏幕尺寸。开始呢,是做了N张不同大...
分类:
Web程序 时间:
2014-07-09 18:56:56
阅读次数:
224
//重构XMLHttpRequestvar net = new Object(); //名字空間對象net.READY_STATE_UNINITIALIZED = 0;net.READY_STATE_LOADING = 1;net.READY_STATE_LOADED = 2;net.READY_....
分类:
其他好文 时间:
2014-07-09 13:57:08
阅读次数:
225
区间颜色不一致就更新到底,否则lazy标记
#include
#include
#include
#include
using namespace std;
#define lc l,m,index<<1
#define rc m+1,r,index<<1|1
#define N 100005
#define ll __int64
struct node
{
bool same;
ll c...
分类:
其他好文 时间:
2014-07-08 18:00:56
阅读次数:
226
HTML5 扩展了 HTMLDocument,
增加了新的功能。
1.document.readState = 'loading' || 'complete' //支持readyState 属性的浏览器有IE4+、Firefox 3.6+、Safari、Chrome 和Opera 9+。2.document.compatMode = 'CSS1Compat' || 'Bac...
分类:
编程语言 时间:
2014-07-08 11:18:52
阅读次数:
173
Flex 执行加载过程会有几个概念:preloader, SystemManager, Flex Application!flex 界面初始化时,看到的 Loading 加载条,那是 flex 自动执行的一个步骤,他是在 preloader 时进行的。此时 preloader 执行是 systemM...
分类:
其他好文 时间:
2014-07-06 21:26:37
阅读次数:
225
Flex 界面初始化有时那个标准的进度条无法显示,界面长时间会处理空白的状态!我们来自定义一个进度条,这个进度条加载在 Application 应用程序界面的 ...
分类:
其他好文 时间:
2014-07-06 19:41:15
阅读次数:
179
http://www.jb51.net/article/40517.htm 浅析如何在c语言中调用Linux脚本http://blog.csdn.net/koches/article/details/7552034 C语言system()函数 http://blog.csdn.net/lazy_ti...
分类:
系统相关 时间:
2014-07-06 14:47:10
阅读次数:
226
今天来按照apidemos提供的方法来实现slow loading的效果.
Main.java
import android.app.ListActivity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view...
Description
Little John is herding his father's cattles. As a lazy boy, he cannot tolerate chasing the cattles all the time to avoid unnecessary omission. Luckily, he notice that there were N trees...
分类:
其他好文 时间:
2014-07-06 10:39:09
阅读次数:
188
执行启动nginx:/usr/local/nginx/sbin/nginx
错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
查找:[roo...
分类:
其他好文 时间:
2014-07-06 00:11:52
阅读次数:
205