五月综合缴情婷婷六月,色94色欧美sute亚洲线路二,日韩制服国产精品一区,色噜噜一区二区三区,香港三级午夜理伦三级三

您現(xiàn)在的位置: 365建站網(wǎng) > 365文章 > dhtmlxWindows使用方法

dhtmlxWindows使用方法

文章來源:365jz.com     點(diǎn)擊數(shù):645    更新時(shí)間:2009-10-08 09:34   參與評(píng)論
控制于視圖內(nèi) w1.keepInViewport(true);
標(biāo)題欄文本 win.setText(text);   窗體大小 dhxWins.window(id).setDimension(wh); var dim = dhxWins.window(id).getDimension()document.getElementById("res").innerHTML = w + " dimension is (" + dim[0] + "" + dim[1] + ")";   窗體位置 dhxWins.window(id).setPosition(wh); var pos = dhxWins.window(id).getPosition()document.getElementById("res").innerHTML = w + " position is (" + pos[0] + "" + pos[1] + ")";   顯示/隱藏窗體 hxWins.window(id).show(); dhxWins.window(id).hide(); alert(dhxWins.window(id).isHidden());   啟用/禁用拖動(dòng)大小 dhxWins.window(id).allowResize(); dhxWins.window(id).denyResize(); alert(dhxWins.window(id).isResizable());   啟用/禁用拖動(dòng)位置 dhxWins.window(id).allowMove(); dhxWins.window(id).denyMove(); alert(dhxWins.window(id).isMovable());   啟用/禁用最小化 dhxWins.window(id).allowPark(); dhxWins.window(id).denyPark(); alert(dhxWins.window(id).isParkable());   Progress ...   居中 dhxWins.window(getId()).center(); dhxWins.window(getId()).centerOnScreen();   顯示/隱藏標(biāo)題欄 w2.showHeader(); w2.hideHeader();   啟用/禁用拖放效果 efName: move,resize. dhxWins.setEffect(efNametrue); dhxWins.setEffect(efNamefalse); alert(dhxWins.getEffect(efName));   鎖定
dhxWins.window(id).stick(); dhxWins.window(id).unstick(); alert(dhxWins.window(id).isSticked());   遮罩層 dhxWins.window(id).setModal(true); alert(dhxWins.window(id).isModal()); alert(dhxWins.window(id).isModal());  
頂層顯示 dhxWins.window(id).bringToTop(); alert(dhxWins.window(id).isOnTop()); dhxWins.window(id).bringToBottom(); alert(dhxWins.window(id).isOnBottom());  
全局事件 dhxWins.attachEvent("onResizeFinish"doOnResizeFinish) dhxWins.attachEvent("onMoveFinish"doOnMoveFinish) dhxWins.attachEvent("onFocus"doOnFocus);  
個(gè)體事件 w2.attachEvent("onFocus"doOnFocusWin2);   URL事件 dhxWins.attachEvent("onContentLoaded"function() { alert("onContentLoaded event fired.")}); w1.attachURL("../common/attach_url_ajax_inner.html"true);  
按鈕操作 btn: help,stick,sticked,park,minmax1,minmax2,close. w1.button(btn[0]).show(); w1.button(btn[0]).hide(); alert(w1.button(btn[0]).isHidden()); w1.button(btn[0]).enable(); w1.button(btn[0]).disable(); alert(w1.button(btn[0]).isEnabled());   按鈕事件 dhxWins.window("w1").attachEvent("onHelp"function() { alert("button \"Help\" was clicked")})w1.button("park").attachEvent("onClick"function() {alert("button \"Park\" was clicked")});   自定義按鈕略  
Attaching Menu/Toolbar/StatusBar 略   Integration with Other Components 略
 

如對(duì)本文有疑問,請(qǐng)?zhí)峤坏浇涣髡搲?,廣大熱心網(wǎng)友會(huì)為你解答?。?點(diǎn)擊進(jìn)入論壇

發(fā)表評(píng)論 (645人查看,0條評(píng)論)
請(qǐng)自覺遵守互聯(lián)網(wǎng)相關(guān)的政策法規(guī),嚴(yán)禁發(fā)布色情、暴力、反動(dòng)的言論。
昵稱:
最新評(píng)論
------分隔線----------------------------

其它欄目

· 建站教程
· 365學(xué)習(xí)

業(yè)務(wù)咨詢

· 技術(shù)支持
· 服務(wù)時(shí)間:9:00-18:00
365建站網(wǎng)二維碼

Powered by 365建站網(wǎng) RSS地圖 HTML地圖

copyright © 2013-2024 版權(quán)所有 鄂ICP備17013400號(hào)