1. #11
    Sencha User
    Join Date
    Jun 2008
    Posts
    13
    Vote Rating
    0
    crealivres is on a distinguished road

      0  

    Default try that...

    try that...


    function PopupNewWindow(title_x, url){
    var win = MyDesktop.desktop.getWindow('win' + titre);
    if (!win){
    win = MyDesktop.desktop.createWindow({
    id: 'win' + titre,
    width:600,
    height:480,
    html : '<iframe src="'+ url + '" width="100%" height="100%"></iframe>',
    iconCls: 'bogus',
    title: title_x,
    shim:false,
    animCollapse:false,
    constrainHeader:true,
    layout: 'fit'
    });
    }
    win.show();
    }

  2. #12
    Sencha User
    Join Date
    Jun 2008
    Posts
    13
    Vote Rating
    0
    crealivres is on a distinguished road

      0  

    Default


    function PopupNewWindow(title_x, url){
    var win = MyDesktop.desktop.getWindow('win' + titre);
    if (!win){
    win = MyDesktop.desktop.createWindow({
    id: 'win' + titre,
    width:600,
    height:480,
    html : '<iframe src="'+ url + '" width="100%" height="100%"></iframe>',
    iconCls: 'bogus',
    title: title_x,
    shim:false,
    animCollapse:false,
    constrainHeader:true,
    layout: 'fit'
    });
    }
    win.show();
    }

  3. #13
    Sencha User
    Join Date
    Apr 2010
    Location
    Bandung, West Java, Indonesia
    Posts
    15
    Vote Rating
    0
    novaku is on a distinguished road

      0  

    Default


    Dear Animal,

    The base point question from this thread is refer to this example :
    http://dev.sencha.com/deploy/dev/exa...p/desktop.html
    same problem with me here is :
    * How to add new shortcut in the desktop and after i click on it it will show a new window
    * I have try, but after i click on it window does not show only show in the taskbar icon, so i have to click on the icon to make the window going up..
    Is there any method that i have mist??
    tmp.jpg

  4. #14
    Sencha User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    liquifiedmedia is on a distinguished road

      0  

    Default Call window through a window

    Call window through a window


    Hi, I'm a bit of a noob & have been searching through forums & trying for days to get this to work. I'm trying to open a window when I'm already inside another. Example, I took the grid-window from the ExtJS desktop example, added a listener to open the tab window on the "remove something" button.

    I can't for the life of me figure out how to correctly get the window to open & close multiple times. I have a calendar with events on it, when I click the event, I need a window to open (only one at a time, not multiple windows). Can someone PLEASE help me with this, my deadline is fast approaching!

    Thanks,