Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    888
    Vote Rating
    9
    wm003 will become famous soon enough

      0  

    Default [2.1] same submenus are hiding every 2nd line

    [2.1] same submenus are hiding every 2nd line


    I was trying to use the same submenuobject for several menu entries to save memory and DOM Space instead of creating submenu objects for each menuentry.

    It basically works. The odd thing is, when using the same submenu for items that are listed under each other and you are going to hover the mainmenu entries to show their submenus, every second submenu of the hovered entry is not displayed (thats because the menu.hide method is called with defer and thus will hide the previous menu. But as the new Menu is the same as the previous one it will be just hidden right after been shown.)

    I was playing with the showDelay and hideDelay options with no luck.
    I guess it has to be patched somewhere in ext.menu which i could not figure out yet.

    Even more, when applying the patch from here to fix a different problem with the menu-hiding then the mainmenu entries will blink between the first and second mainmenu entries which have the same submenu object...

    PHP Code:
    var sameSubmenu = new Ext.menu.Menu({
        
    items:[{
            
    text'i am subentry 1'
        
    },
        {
            
    text'i am subentry 2'
        
    }
       ]
     }

    var 
    mainMenu = new Ext.menu.Menu({
        
    items:[{
            
    text'i am mainentry 1',
            
    menu sameSubmenu
        
    },
        {
             
    text'i am mainentry 2',
            
    menu sameSubmenu
         
    },
        {
             
    text'i am mainentry 3',
            
    menu sameSubmenu
         
    },
         {
              
    text'i am mainentry 4',
            
    menu sameSubmenu
          
    }
        ]
     } 

  2. #2

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    I don't think this will ever work. There are various conflicts it can/will cause. The only recommendation I can make is to create sub menus as expected.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    Since this is not a bug in Ext, I've moved it to Help.

Thread Participants: 2