Hi, I'm working with the ext-3.4.0 and using the browser layout, however, which would like to make is that by selecting an option from the tree (menu), be redirected to a php page that is already created.
The code I'm using (on file basic.js) is this:
PHP Code:
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license *///// var absolute = new Ext.Panel({ ... });
var start = { id: 'start-panel', title: 'Principal', layout: 'absolute', bodyStyle: 'padding:25px', contentEl: 'start-div' };
var absolute = { id: 'absolute-panel', title: 'Menu 1', layout: 'absolute', //url:'../../Body/index02.php' html : '<src="../../Body/index02.php" border="0" width="100%" height="100%" style="overflow:auto;width:100%;height:100%;" >' //src="../../Body/index.php"};
var accordion = { id: 'accordion-panel', title: 'Menu 2', layout: 'absolute', bodyBorder: false, defaults: {bodyStyle: 'padding:15px'}, //url:'../../Body/index02.php' html : '<src="../../Body/index03.php" border="0" width="100%" height="100%" style="overflow:auto;width:100%;height:100%;" >' //src="../../Body/index.php"};
var anchor = { id:'anchor-panel', title: 'Menu 3', layout:'absolute', defaults: {bodyStyle: 'padding:15px'}, //url:'../../Body/index02.php' html : '<src="../../Body/index04.php" border="0" width="100%" height="100%" style="overflow:auto;width:100%;height:100%;" >' //src="../../Body/index.php"};
var border = { id:'border-panel', title: 'Menu 4', layout: 'absolute', bodyBorder: false, //url:'../../Body/index02.php' html : '<src="../../Body/index05.php" border="0" width="100%" height="100%" style="overflow:auto;width:100%;height:100%;" >' //src="../../Body/index.php"};
var fit = { id: 'fit-panel', title: 'Menu 5', layout: 'absolute', //url:'../../Body/index02.php' html : '<src="../../Body/index06.php" border="0" width="100%" height="100%" style="overflow:auto;width:100%;height:100%;" >' //src="../../Body/index.php"};
greatly appreciate the guidance you can give me ....
regards