1. #1
    Sencha User
    Join Date
    Feb 2013
    Location
    Lima, Peru
    Posts
    4
    Vote Rating
    0
    uishio is on a distinguished road

      0  

    Default layout browser redirect to a php file

    layout browser redirect to a php file


    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',    bodyBorderfalse,     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',    bodyBorderfalse,    //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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    When you post code, can you make sure it's legible?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1