Results 1 to 2 of 2

Thread: layout browser redirect to a php file

  1. #1
    Sencha User
    Join Date
    Feb 2013
    Location
    Lima, Peru
    Posts
    4
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    When you post code, can you make sure it's legible?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •