- 浏览: 50399 次
- 性别:
- 来自: 上海
最新评论
-
beimyy:
//通过以下方法可以模拟页面参数提交 //fil ...
httpClient上传文件
文章列表
var bgcolor = null;
var fontsize = null;
// 设置背景色
function colorctrl(color){
var readColor = cwin.document.getElementById("mycolorcontrol");
if(window.event){
readColor = cwin.document.getElementById("mycolorcontrol");
}
else{
readColor = window.frames.cwin. ...
/**解决iframe自适应高度问题1*/
function SetCwinHeight()
{
var cwin=document.getElementById("cwin");
if (document.getElementById)
{
//if (cwin && !window.opera)
//{
if (cwin.contentDocument && cwin.contentDocument.body.offsetHeight)
cwin.height = cwin.content ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script>
...
<!-- begin -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
#YueKu{width:287px;height:189px;margin:0 auto;position:relative;}
.YKTiImg{width:82px;height:32px;overflow:hidden;position:absolute; left: ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=g ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ut ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<title>层展开/关闭 - 运动缓冲效果</title& ...
<style>
#content {
font-size: 14px;
width: 100%;
height: 50px;
background: #eee;
padding: 10px;
border: 4px #ccc double;
overflow: hidden;
}
#key {
color: red;
float: right;
margin-top: -20px;
}
span{cursor:pointer;}
</style>
<script>
var s=5;
var minheight=50;
var maxheig ...
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-T ...
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>表格或层上下展开的效果</title>
</head>
<body>
<script language="JavaScript">
var act;
function over(){
var h = parseInt(mytd ...
http://www.cnblogs.com/cloudgamer/archive/2010/07/29/SlideView.html
<html>
<head>
<title>用户信息录入页面</title>
<script type="text/javascript">
var mh = 30;//最小高度
var step = 1;//每次变化的px量
var ms = 10;//每隔多久循环一次
function toggle(o){
if (!o.tid ...
oracle中查询重复记录
select msisdn from us_userinformation u
where u.rowId > (select min(us.rowId)
from us_userinformation us
where us.msisdn = u.msisdn);
使用exists代替in查询
select count(msisdn) from us_userinformation u where u.msisdn in (select m.msisdn from us_markinfo m);
select count(u.msisdn) from u ...
注意:要载入commons-httpclient-3.1.jar commons-codec.jar commons-logging.jar这三个包
import java.io.File;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.methods.mul ...