CMS模板发布中的div框

<div id="createFile"
		style="display: none; z-index: 1; position: absolute; left: 500px; top: 300px; width: 350px; height: 200px; background: 
				white; border: 1px solid black;">
		<div style="z-index: 3; position: absolute;width:500px;height:150px;padding-top:10px;padding-left:10px;">
			  <h:outputLabel style="font-weight:bold;" value="" for="" >publishing ...</h:outputLabel><br/>
			  <h:outputLabel value="Please be patient and not to engage in any operation !" for="" />
		</div>
</div>

 

<script language="javascript">
	function openMsgDiag(){
		document.getElementById('createFile').style.display = "inline";
	}
</script>

 

下面也是参考的代码:

<script language="javascript">   
    function openMsgDiag(){   
        document.getElementById('content').style.display = "inline";   
    } 
	function closeMsgDig(){   
        document.getElementById('content').style.display = "none";   
    }  




//定义移动对象和移动坐标   
 var Mouse_Obj="none",_x,_y;   
 //拖动对象函数(自动)   
 document.οnmοusemοve=function()   
 {   
  if(Mouse_Obj!=="none")   
  {   
  document.getElementById(Mouse_Obj).style.left=_x+event.x;   
  document.getElementById(Mouse_Obj).style.top=_y+event.y;   
  event.returnValue=false;   
  }   
 }   
 //停止拖动函数(自动)   
 document.οnmοuseup=function()   
 {   
  Mouse_Obj="none";   
 }   
 //确定被拖动对象函数 o为被拖动对象   
 function m(o)   
 {   
  Mouse_Obj=o;   
  _x=parseInt(document.getElementById(Mouse_Obj).style.left)-event.x;   
  _y=parseInt(document.getElementById(Mouse_Obj).style.top)-event.y;   
 }  
</script>

<div id="content"  οnmοusedοwn="m(this.id)"  
        style="display: none;position: absolute; left: 500px; top: 800px; width: 352px; height: 192px; background: white; border: 1px solid #666666;">   
        <div style="z-index: 3; position: absolute;width:350px; border:#EBEBEB 3px solid; padding-bottom:10px;">
 <p style="padding:0px; margin:0px; background: #FFCC66; height:25px; padding-top:2px; padding-right:5px;">
   <input type="button" value="x" οnclick="closeMsgDig();"  style="float:right; width:25px; "/>
  </input>
  </p>
  <p class="STYLE3 STYLE4" style="padding-left:15px; padding-right:15px;">	    尊敬的用户,</p>
		<p style=" text-indent:20px; line-height:20px;padding-left:15px; padding-right:15px;"><span class="STYLE1"> 您好!领取飞信会员的请求已收到,如您符合活动规则请于次月留意飞信会员开通的短信通知;如您还未办理银卡套餐请办理后再进行领取登记。感谢您的参与。</span></p>
		<p style=" text-align:right;padding-left:15px; padding-right:15px;"><span class="STYLE8"> 中国移动 </span></p>
</div>    
</div> 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值