`

今天运气真好!算不算缘分啊?

阅读更多
今天很早起来了,刷好牙!

骑车去上班了,路上转弯,哇,小心!竟然和一个人相撞了!

幸好我的技术挺好的,她也紧张的要命!哎,人没事,就算了,立刻

逃走了,我到公司了,突然发现电动车多了一张照片,拿起来,一看,就是

刚才相撞的那个女孩。后来叫我们公司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
3
1
分享到:
评论
8 楼 vikki 2010-10-12  
电动车也能撞出照片来,改天我要开个卡车去
7 楼 yanmingeye 2009-09-27  
呵呵,联系方式没有啊,不知道能不能在红灯路口等啊
6 楼 mumianiishiwo 2009-09-27  
加油。
下次发个结婚照上来!
5 楼 java_mike 2009-09-27  
缘分已来,下一步 就看你的了。。。  哈哈
4 楼 form_rr 2009-09-27  
缘分吶!快继续!
3 楼 vikki 2009-09-26  
兄弟注意了,在不把握,你就不正常了。
2 楼 aimer311 2009-09-26  
再不把握,你就不是人了,怎么找到联系方式就看本事了
1 楼 Aguo 2009-09-26  
ok的啦,女孩不错

相关推荐

Global site tag (gtag.js) - Google Analytics