- Posts: 8
 - Thank you received: 0
 
        
                Submenu lag
            
    - Yury Borodaev
 - 
            
Topic Author
 - Offline
 - Fresh Boarder
 - 
            
         
        Less
        More
        
            
    
        
            
            13 years 1 month ago        #2435
    by Yury Borodaev
    
            
            
            
            
            
                                
                            
                    
    
        Submenu lag was created by Yury Borodaev            
    
        Hi,
Here are the problem, I faced with. When menu, which have subitems hovered and subitems are displayed and then some other menu item hovered, the hover box disappears from first menu, but their subitems still displayed some time. it is really annoying. How to solve this bug?
For example on demo if you move mouse pointer to demo layouts, whait for subitems to display and then move mouse pointer to multilevel, demo layouts subitems will be displayed some time.
Test in chrome and firefox.
    Here are the problem, I faced with. When menu, which have subitems hovered and subitems are displayed and then some other menu item hovered, the hover box disappears from first menu, but their subitems still displayed some time. it is really annoying. How to solve this bug?
For example on demo if you move mouse pointer to demo layouts, whait for subitems to display and then move mouse pointer to multilevel, demo layouts subitems will be displayed some time.
Test in chrome and firefox.
Please Log in or Create an account to join the conversation.
- Trung Duong
 - 
            
 - Offline
 - Administrator
 - 
            
         
        Less
        More
        
            
    
        - Posts: 2284
 - Thank you received: 998
 
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
13 years 1 month ago #2436 by Trung Duong
        Replied by Trung Duong on topic Re: Submenu lag            
    
        Yes, it delayed for display/hide menus, you can change the duration value on this dropdown javascript:
templates/ot_ante/scripts/menudropdown.js
Regards
            templates/ot_ante/scripts/menudropdown.js
Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
        The following user(s) said Thank You: Yury Borodaev     
            Please Log in or Create an account to join the conversation.
- Yury Borodaev
 - 
            
Topic Author
 - Offline
 - Fresh Boarder
 - 
            
         
        Less
        More
        
            
    
        - Posts: 8
 - Thank you received: 0
 
            
            13 years 1 month ago     -  13 years 1 month ago    #2438
    by Yury Borodaev
    
    
            
            
            
            
                                
                            
                    
    
        Replied by Yury Borodaev on topic Re: Submenu lag            
    
        Is it these lines?
I've changed 20 to 0, but nothing changed.    
    Code:
el_2.addEvent('mouseleave', function() {						
el_3.hide(20);
el_2.setDeactive();
});
        Last edit: 13 years 1 month ago  by Yury Borodaev.            
            Please Log in or Create an account to join the conversation.
- Trung Duong
 - 
            
 - Offline
 - Administrator
 - 
            
         
        Less
        More
        
            
    
        - Posts: 2284
 - Thank you received: 998
 
            
            13 years 1 month ago        #2455
    by Trung Duong
    
            
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
    
    
        
        
    
    
        
        
[img]...[/img]
[img]...[/img]
[img]...[/img]
    
            
            
            
            
            
                                
                            
                    
    
        Replied by Trung Duong on topic Re: Submenu lag            
    
        You  should change duration: 0 as code below
    
            Code:
			if (this.parent._id) {
				this.myFx2 = new Fx.Tween(this, {
					duration: 0,
					link: 'cancel'
				});
				this.myFx2.set('width',0);
			} else {
				this.myFx2 = new Fx.Tween(this, {
					duration: 0,
					link: 'cancel'
				});
				this.myFx2.set('height',0);
			}
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
        Time to create page: 0.195 seconds    
