怎么用Ext打开一个新窗口,带url地址的
展开全部
function showadd(){
var buttons=[{text:确定,tooltip:'确认添加',id:subok,handler:function(){top.Its.getWinFrame().upload();}},{text:取消,tooltip:'取消添加',handler:function() {top.Its.CloseWin();}}] ;
top.Its.OpenWin({
url:'连接路径',
width:700,
height:500,
title:'预定',
scrolling:'no',
srcObj:window,
autorefresh:false,
buttons:buttons});}Ext.onReady(function(){
new Ext.Panel({
layout:'column',
var buttons=[{text:确定,tooltip:'确认添加',id:subok,handler:function(){top.Its.getWinFrame().upload();}},{text:取消,tooltip:'取消添加',handler:function() {top.Its.CloseWin();}}] ;
top.Its.OpenWin({
url:'连接路径',
width:700,
height:500,
title:'预定',
scrolling:'no',
srcObj:window,
autorefresh:false,
buttons:buttons});}Ext.onReady(function(){
new Ext.Panel({
layout:'column',
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询