1. #31
    Ext User
    Join Date
    Jan 2008
    Posts
    41
    Vote Rating
    0
    FxMan is on a distinguished road

      0  

    Default [2.0.1] link to thread in 2.0 bug forum

    [2.0.1] link to thread in 2.0 bug forum


    http://extjs.com/forum/showthread.php?t=29231

  2. #32
    aaaee2
    Guest

    Default


    Quote Originally Posted by slobo View Post
    but the taskbar and the start menu is still accessible
    in case of a modal window...
    Sorry, I'm very newbie in development of Ext applications. Next code (diff) is my little dirty hack that I use in my application based on desktop example:
    Code:
    Index: taskbar.js
    ===================================================================
    --- taskbar.js    (revision 1)
    +++ taskbar.js    (working copy)
    @@ -383,6 +383,7 @@
      * @class Ext.ux.TaskBar.TaskButton
      * @extends Ext.Button
      */
    +var _modalWinTitleSpanEl;
     Ext.ux.TaskBar.TaskButton = function(win, el){
         this.win = win;
         Ext.ux.TaskBar.TaskButton.superclass.constructor.call(this, {
    @@ -390,12 +391,23 @@
             text: Ext.util.Format.ellipsis(win.title, 12),
             renderTo: el,
             handler : function(){
    -            if(win.minimized || win.hidden){
    -                win.show();
    -            }else if(win == win.manager.getActive()){
    -                win.minimize();
    -            }else{
    -                win.toFront();
    +            var activeWindow = win.manager.getActive();
    +        if (activeWindow && !activeWindow.modal) {
    +            if(win.minimized || win.hidden){
    +                win.show();
    +                }else if(win == win.manager.getActive()){
    +                    win.minimize();
    +                }else{
    +                    win.toFront();
    +                }
    +            } else {
    +                var _t = Ext.query('div#' + activeWindow.id + ' div.x-window-tl div.x-window-tr div.x-window-tc div:only-child span:last-child');
    +                _modalWinTitleSpanEl = Ext.get(_t[0]);
    +                for (var i=200;i<=1200;i+=200) {
    +                    setTimeout("_modalWinTitleSpanEl.replaceClass('x-window-header-text', 'x-window-header-text-masked')", i);
    +                    i+=200;
    +                    setTimeout("_modalWinTitleSpanEl.replaceClass('x-window-header-text-masked', 'x-window-header-text')", i);
    +                }
                 }
             },
             clickEvent:'mousedown',
    This code forbids to be switched to other windows by a click in taskbar and does the text of heading of a modal window blinking. Also you need to add class x-window-header-text-masked, which contains "color:gray;".

    Is there any nice solution for this task?

  3. #33
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    50
    Vote Rating
    0
    Ian Grainger is on a distinguished road

      0  

    Default


    Posted my fix based on Animal's approach in #2: here.

  4. #34
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    50
    Vote Rating
    0
    Ian Grainger is on a distinguished road

      0  

    Default


    Posted my solution to this: here.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi