如题。希望大家帮帮我。
给你实装了代码
[code="html"]
<!DOCTYPE html>
Button
Ext.create('Ext.Button', { text: 'Click me to open url', renderTo: Ext.getBody(), handler: function() { window.open('http://www.baidu.com', 'mywindow1', 'width=400, height=300, menubar=no, toolbar=no, scrollbars=yes'); } });
[/code]
这个可以直接用javascript的原生方法的啊?window.open(url);