欧美成人69-欧美成人aaaa免费高清-欧美成人aaa大片-欧美成人xxxx-大杳蕉伊人狼人久久一本线-大又大粗又爽又黄少妇毛片
我們的專業品牌服務商:網站建設、品牌策劃設計、網站優化、網站推廣等業務
龍誠微博
站點導航
免費建站
專業的互聯網絡解決方案、完善的售后服務體系 —— 龍誠互聯(溫州網絡公司 溫州網站建設),當前IP:
龍誠簡介
|
企業文化
|
我們的優勢
|
龍誠人
|
招兵募馬
龍誠動態
|
行業新聞
|
我們的觀點
|
公司公告
標準企業站
|
外貿商務站
|
商城門戶站
|
品牌動畫站
|
在線訂制
網站制作流程
|
建站知識
|
網站SEO優化
|
域名&空間
|
網站備案
|
下載中心
聯系方式
|
留言反饋
龍誠動態
行業新聞
我們的觀點
公司公告
建站技術
網站SEO優化
網站制作流程
產品報價
聯系電話:0577-55882408
傳真號碼:0577-55882411
聯系手機:15224122065
聯系地址:溫州市甌海站南商貿城C幢306
首頁-新聞中心-
建站技術
<!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>窗口類 </title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <style type="text/css"> .mask{position: absolute; top: 0px; left: 0px; filter: alpha(opacity=50); -moz-opacity:0.5; opacity:0.5; background-color: #ffffff; z-index: 2; display: none;} /* 彈出基本資料div */ div.sample_popup {height:auto; border: 1px solid #327eca; width: 300px; } div.menu_form_header{ background: url('../images/baseInfo/titleBG.gif') repeat-x; } div.sample_popup div.menu_form_header { border-bottom: 0px; cursor: default; width:100%; height: 22px; line-height: 22px; vertical-align: middle; text-decoration: none; font-family: "Times New Roman", Serif; font-weight: 800; font-size: 13px; color: #206040; } div.menu_form_body { width:100%; height:150px; font-size:12px; background-color:#f1f8fe; } div.sample_popup input.menu_form_exit { float: right; margin: 4px 5px 0px 0px; cursor: pointer; } /*end: 彈出商品信息div */ </style> <script type="text/javascript"> /************************************************** * DivWindow.js **************************************************/ var DivWindow= function(popup/*最外層div id*/,popup_drag/*拖動div id*/,popup_exit/*退出按鈕id*/ ,exitButton/*觸發服務器端退出按鈕id*/,varwidth,varheight,zindex){ this.popup =popup ; //窗口名稱 this.popup_drag=popup_drag; this.height =varheight ; //窗口高度,并沒用來設置窗口高度寬度,用來定位在屏幕的位置 this.width =varwidth ; //窗口寬度 this.popup_exit=popup_exit; this.exitButton=exitButton; this.zindex=zindex; this.init = function(){ //初始化窗口 this.popupShow(); this.startDrag(); //設置拖動 this.setCommond(); //設置關閉 DivWindow.ArrayW.push(document.getElementById(this.popup)); //存儲窗口到數組 };this.init(); }; //存儲窗口到數組 DivWindow.ArrayW = new Array(); //字符串連接類 DivWindow.StringBuild = function(){ this.arr = new Array(); this.push = function(str){ this.arr.push(str); }; this.toString = function(){ return this.arr.join(""); }; }; //拖動類 DivWindow.Drag = function(o ,oRoot){ var _self = this; //拖動對象 this.obj = (typeof oRoot != "undefined") ?oRoot : o; this.relLeft = 0; //記錄橫坐標 this.relTop = 0; //記錄縱坐標 o.onselectstart = function(){ return false; }; o.onmousedown = function(e){ //鼠標按下 e = _self.fixE(e); _self.relLeft = e.clientX - _self.fixU(_self.obj.style.left); _self.relTop = e.clientY - _self.fixU(_self.obj.style.top); document.onmousemove = function(e){ _self.drag(e); //_self.obj.style.border = "1px dashed #000000"; //_self.obj.style.filter = "alpha(opacity=30)"; //_self.obj.style.opacity = "0.3"; }; document.onmouseup = function(){ _self.end(); //_self.obj.style.border = "1px solid #cccccc"; //_self.obj.style.borderBottom = "2px solid #E0E0E0"; //_self.obj.style.borderRight = "2px solid #E0E0E0"; //_self.obj.style.filter = "alpha(opacity=100)"; //_self.obj.style.opacity = "1"; }; }; this.drag = function(e){ //拖動 e = this.fixE(e); var l = e.clientX - this.relLeft; var t = e.clientY - this.relTop; if (t < 0) { t = 0; //防止頭部消失 } this.obj.style.left = l +"px"; this.obj.style.top = t +"px"; }; this.end = function(){ //結束拖動 document.onmousemove = null; document.onmouseup = null; }; this.fixE = function(e){ //修復事件 if (typeof e == "undefined") e = window.event; return e; }; this.fixU = function(u){ //處理px單位 return parseInt(u.split("p")[0]); }; }; //窗口拖動 DivWindow.prototype.startDrag = function(){ var obj = document.getElementById(this.popup); var drag = document.getElementById(this.popup_drag); new DivWindow.Drag(drag,obj); }; //設定窗口優先級 DivWindow.prototype.setTop = function(){ document.getElementById(this.popup).onclick = document.getElementById(this.popup).onmousedown = function(){ for(var i=0;i<DivWindow.ArrayW.length;i++) { DivWindow.ArrayW[i].style.zIndex = 1; } this.style.zIndex = 100; }; }; //顯示 DivWindow.prototype.popupShow=function() { document.getElementById('mask').style.display="block"; document.getElementById('mask').style.width=window.screen.width +20; document.getElementById('mask').style.height=window.screen.width +20; var element = document.getElementById(this.popup); element.style.position = "absolute"; element.style.visibility = "visible"; element.style.display = "block"; element.style.width=this.width; element.style.height='auto'; element.style.left = (window.screen.width - this.width)/2+"px"; //element.style.top =(window.screen.height-this.height-100)/2+"px"; element.style.top =20+"px"; element.style.zIndex=this.zindex; } //設置關閉 DivWindow.prototype.setCommond = function(){ var _self = this; //根對象 var obj = document.getElementById(this.popup); var exit = document.getElementById(this.popup_exit); var triggServerEvent=document.getElementById(this.exitButton); //設置關閉 exit.onclick = function(){ obj.style.display = "none"; obj.style.visibility = 'hidden'; document.all.mask.style.display='none'//關閉遮罩層 triggServerEvent.click();//觸發服務器端退出事件 }; }; </script> </head> <body> <div> <input type="button" id="show" onclick="javascript:new DivWindow('popup','popup_drag','popup_exit','exitButton','500','700',4);" value='點擊彈出窗口' /> <input type="button" id="exitButton" value="aaaa" /> </div> <!-- 遮罩層 --> <div class="0kkqlfz" id="mask" class="mask"> </div> <!-- 彈出基本資料詳細DIV層 --> <div id="0kkqlfz" class="sample_popup" id="popup" style="visibility: hidden; display: none;"> <div id="0kkqlfz" class="menu_form_header" id="popup_drag"> <input type="button" id="popup_exit" value="退出" /> web開發之家!網址是:<a >www.7896112.cn</a> </div> <div id="0kkqlfz" class="menu_form_body" > <div class="0kkqlfz" id="popDetail"> 片區名稱:<input type="button" id="Button1" onclick="javascript:new DivWindow('Div1','Div2','exit2','exitButton','500','700',5);" value='再次點擊觸發' /> <br /> </div> </div> </div> <!-- 彈出基本資料詳細DIV層 --> <div id="0kkqlfz" class="sample_popup" id="Div1" style="visibility: hidden; display: none;"> <div id="0kkqlfz" class="menu_form_header" id="Div2"> <input type="button" id="exit2" value="退出" /> </div> <div id="0kkqlfz" class="menu_form_body" > <div class="0kkqlfz" id="Div3"> 龍誠互聯:<a href="http://www.7896112.cn">52cpp.com</a><br/>溫馨提示,這個窗口可以拖動 </div> </div> </div> </body> </html>
地址:溫州市甌海區站南商貿城C幢306室
總機:0577-55882408;傳真:0577-55882411
E-mail:115047027@qq.com
業務咨詢:0577-55882401
售后熱線:0577-55882408
技術咨詢:0577-55882411
copyright ?
溫州龍誠互聯 版權所有
浙ICP備11044124號-1
您是第
位訪客
主站蜘蛛池模板:
亚洲欧美日韩国产vr在线观
|
国产欧美日韩视频免费61794
|
午夜国产在线
|
亚洲一区在线视频观看
|
精品卡1卡2卡三卡免费网站
|
在线精品国产成人综合第一页
|
黄色视屏在线免费看
|
最近新中文字幕大全高清
|
久久久美女视频
|
麻豆久久精品免费看国产
|
久久橹
|
成人在线第一页
|
欧美太黄太色视频在线观看
|
在线视频一区二区
|
美女网站黄免费
|
成人手机在线视频
|
又色又爽又黄的三级视频在线观看
|
快播视频在线观看
|
亚洲精品高清国产一线久久97
|
一本大道香蕉高清久久
|
成人在线视频在线观看
|
男人最爱看的网站
|
欧美激情一区二区三区免费观看
|
97人人做人人添人人爱
|
天天摸天天摸天天躁
|
久草福利网
|
1024你懂的国产在线播放
|
天天人人
|
国产精品成人观看视频国产奇米
|
国产精品tv
|
欧美一级视频在线
|
美女视频黄8频a美女大全软
|
黄色网址亚洲
|
日本欧美强乱视频在线
|
久久综合综合久久狠狠狠97色
|
在线观看中文字幕亚洲
|
亚洲成人www
|
国产男女视频在线观看
|
欧美色网络
|
国产日本三级欧美三级妇三级四
|
欧美色穴
|
0
在线咨询
业务咨询
技术咨询
服务咨询
请您留言
温州龙诚互联科技有限公司 0577-55882408
提交
感谢留言
我们会尽快与您联系
关闭