今天很早起来了,刷好牙!
骑车去上班了,路上转弯,哇,小心!竟然和一个人相撞了!
幸好我的技术挺好的,她也紧张的要命!哎,人没事,就算了,立刻
逃走了,我到公司了,突然发现电动车多了一张照片,拿起来,一看,就是
刚才相撞的那个女孩。后来叫我们公司ps 了一下!呵呵,我收藏着!还是分享一下她的照片吧!
今天做什么事情都挺顺利的,用dwr 配置javascript 写了一个代码,分享一下!
<!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=gb2312" />
<title>艳明----樱花无罪</title>
<!--document.write(str);
document.body.insertAdjacentHTML("beforeEnd",str);
-->
<script language="javascript">
function cmsgbox(vtitle,vwidth,vhight,vtop,vleft,vcontext)
{
this.title=vtitle;
this.width=vwidth;
this.height=vhight;
this.top=vtop;
this.left=vleft;
this.context=vcontext;
this.id=0;
}
function closediv(items)
{
document.getElementById("div1").style.display="none";
//document.body.removeNode(true);
document.body.removeChild(document.getElementById("div1"));
}
cmsgbox.prototype.showdiv=function()
{
var str="";
str+="<div id='div1' style='z-index:1;background-color:white;position:absolute;border:2px solid slategray;left:"+this.left+"px;top:"+this.top+"px;width:"+this.width+"px;'>";
str+="<div style='padding-bottom:2px;background-color:slategray;width:100%;height:16px;color:white;' >";
str+=" <div style='float:left;height:16px;overflow:hidden;margin:0px;padding:4px 0px 0px 5px;width:"+(parseInt(this.width)-24*2-5)+"px;'>"+this.title+"</div>";
str+=" <span style='width:14px;font-family:webdings;cursor:hand;'>0</span>";
str+=" <span style='width:14px;font-family:webdings;cursor:hand;' onclick='closediv(this);'>r</span>";
str+="</div>";
str+="<div style=' margin:10px 5px 10px 10px;word-break:break-all;height:500px' id='infodiv'>";
str+=this.context;
str+="</div>";
str+="</div>";
document.body.innerHTML=str;
}
/////////////////////窗口显示//////////////////////////////
function show()
{
var str=document.getElementById("maininfo").innerHTML;
var box=new cmsgbox('客户联系人信息',450,300,100,450,str);
box.showdiv();
}
</script>
</head>
<style>
body{
font-size:12px;
}
#personinfo
{
border:solid #000000 1px;
width:400px;
}
#personinfo span
{
display:block;
float:left;
width:100px;
height:20px;
line-height:20px;
text-align:left;
margin-right:10px;
}
</style>
<body>
<div id="maininfo">
<div id="personinfo">
<span>入档编号:<input type="text" value="1" name="principalId" /></span>
<span>入档时间:<input type="text" value="2009-09-24" name="proncipalDate"/></span>
<span>姓名:<input type="text" value="钟艳明" name="principalName"/></span>
<span>年龄:<input type="text" value="30" name="principalAge"/></span>
<span>性别:<input type="text" value="男" name="principalSex"/></span>
<span>工作职位:<input type="text" value="软件工程师" name="principalJop"/></span>
<span>手机号码:<input type="text" value="15270790954" name="principalPhone"/></span>
<span>家庭地址:<textarea rows="8" cols="50" name="proncipalAddress">江西瑞金市,红都花园A栋23号</textarea></span>
<span>业余爱好:<textarea rows="8" cols="50" name="proncipalLove">爬山,游泳,徒步旅行!</textarea></span>
<span>家庭成员:<textarea rows="8" cols="50" name="proncipalHome">爷爷,奶奶,二爷爷,二奶奶</textarea></span>
</div>
</div>
<p onclick="show();">弹了一个层</p>
</body>
</html>
- 大小: 39.5 KB
分享到:
相关推荐
儿童绘本故事PPT下载之:《今天运气怎么这么好》PPT; 《今天运气这么这么好》PPT内容简介: 《今天运气怎么这么好》是获得讲谈社出版文化奖绘本奖的作品。在这本书中,野狼乌鲁和朋友分享好东西,却因为健忘和分心...
28今天运气怎么这么好.doc
《今天运气怎么这么好》教学设计.doc
论文研究-基金经理的运气是否比能力更重要?.pdf, 区别于传统的基金经理能力的评价方法,首次采用随机最优前沿模型(stochastic frontier model)的思想,将基金的收益分解为...
哈佛商业评论-公司卓越看运气?谢绝商业使用!
好运气的
稀有资源:现在很流行的一个论坛插件:运气农牧场的3.4版本! 安装说明: 全新安装: 上传文件后在后台安装插件即可 提供了3.0升级到3.4的升级文件 安装后要看看11rpfarm/session和11rpfarm/happyfarm/data两个目录和...
在运气不好的时候,如何用运营方法论改变运气? .doc
目标Ⅱ-绝不是靠运气-.艾利·高德拉特.pdf 个人收集电子书,仅用学习使用,不可用于商业用途,如有版权问题,请联系删除!
“运气就是这么好.doc
这个游戏只涉及10以内的减法....人们可以试试自己的运气.玩一次即可取胜者是鸿运当头;十次以内取胜者运气不错;二十次以内取胜者运气一般;三十次以内取胜者运气不好;四十次以上才能取胜者你的运气.......
ionic仿微信红包记录,运气王效果,用户打开红包以后显示的红包领取记录,以及运气王效果展示
运气农场2.0版本 PHPWIND论坛插件
如何不靠运气变得富有(美国风险投资家Naval,中文尽可能完整版),花费数小时搜索、整理的内容。如何不靠运气变得富有(美国风险投资家Naval,中文尽可能完整版),花费数小时搜索、整理的内容。如何不靠运气变得富有...
有哪些方法可以提升好运气.doc
作者:Python狂MC小豆!这个资源是:文章《爆笑Python测运气机》的通用代码!此文章网址:https://blog.csdn.net/weixin_43233491/article/details/104208140
目标管理书籍:绝不是靠运气.pdf,最流行一的一本书。很棒的。
巴西中央银行每年都会对长期价格指数的前5名私人预测家进行奖励,“以提高他们的预测能力为目标”。 我们审查了巴西中央银行每年对长期物价指数前五名私人预报员的奖励,这些预报员“旨在提高其预报能力”。...
一、升级安装: 1、下载压缩包解压然后把解压出来的11rpfarm目录整个上传到论坛的HACK目录里覆盖原来的文件 2、hack/11rpfarm/happyfarm/data目录服务器是win系统的要设为可写,非win系统的设为777属性 ...