//判断iframe是否加载完成,RMid为iframe的ID
document.getElementById("RMid").onload = function () {
alert("加载完成");
}
//在父框架操作iframe页面里的AddReceipt2方法
window.frames["RMid"].AddReceipt2();...
分类:
其他好文 时间:
2014-06-09 23:16:14
阅读次数:
238
测试环境均为本地,测试软件为:nginx-1.6.0,apache-tomcat-7.0.42-1,apache-tomcat-7.0.42-2,apache-tomcat-7.0.42-3利用nginx做负载均衡,三台tomcat做WEB具体业务处理。nginx配置nginx.conf:#Nginx所用用户和组,window下不指定
#user niumd niumd;
#user...
分类:
其他好文 时间:
2014-06-08 17:35:57
阅读次数:
199
求连续的k个中最大最小值,k是滑动的,每次滑动一个
用双端队列维护可能的答案值
如果要求最小值,则维护一个单调递增的序列
对一开始的前k个,新加入的如果比队尾的小,则弹出队尾的,直到新加入的比队尾大,加入队尾
从第k+1个到最后一个,按照上述规则,压入新数,然后弹出队首元素(满足队首元素对应原来序列的位置必须在视窗内,否则,继续弹出下一个)
#include
#include
#in...
一、自定义视图类继承View或者View的子类
All of the view classes defined in the Android framework extend View.
Your custom view can also extend Viewdirectly,
or you can save time by extending one of the exist...
分类:
移动开发 时间:
2014-06-08 10:11:27
阅读次数:
342
下载了Hadoop预编译好的二进制包,hadoop-2.2.0.tar.gz,启动起来后,总是出现这种警告:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
原因是apache官...
分类:
其他好文 时间:
2014-06-08 09:47:47
阅读次数:
292
MainActivity如下:
package com.example.ttt;
import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.view.Window;
/**
* Demo描述:
* 改变系统自带ProgressDialog的...
分类:
其他好文 时间:
2014-06-08 09:24:15
阅读次数:
190
在网上找了很多相关的, 但都不太详细, 参考了下,自己终于写出来了.
首先说说我的版本
yii : 1.1.15
ueditor : 1.4.3 utf8
事不宜迟, 马上开始.
首先在官网下载ueditor, 解压后把文件夹移动到yii项目的根目录喇
然后打开ueditor.config.js 修改var URL = window.UEDITOR_HOME_URL || '/u...
分类:
其他好文 时间:
2014-06-08 08:30:30
阅读次数:
275
1. Javascript 返回上一页history.go(-1), 返回两个页面:
history.go(-2);2. history.back().3. window.history.forward()返回下一页4.
window.history.go(返回第几页,也可以使用访问过的URL)例:...
分类:
Web程序 时间:
2014-06-07 22:12:45
阅读次数:
338
The usage of bind is to define a specified
scope for called function. Because the key this is easy to refer another objet,
experically window, instead...
分类:
其他好文 时间:
2014-06-07 21:28:07
阅读次数:
307
级联操作,操作class对象的时候 级联操作 studentClasses.java文件 1
package cn.itcast.hiberate.sh.domain; 2 3 import java.util.Set; 4 5 public class
Classes { 6 priv...
分类:
系统相关 时间:
2014-06-07 21:08:27
阅读次数:
450