- Posts: 21
- Thank you received: 0
Using drop down menu
- 
        Fintan
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        
            
        
                12 years 1 week ago                #33623
        by Fintan
    
    
            
            
            
            
            
                                
    
                                                
    
        Using drop down menu was created by Fintan            
    
        When I use the drop down menu the sub menues are always visible. any way to turn that off?    
Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 1 week ago                #33631
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Using drop down menu            
    
        Try this, open:
sparky_framework\html\mod_menu\default.php
comment out line ~24:
$params->set('showAllChildren',1);
to
// $params->set('showAllChildren',1);
sparky_framework\html\mod_menu\default.php
comment out line ~24:
$params->set('showAllChildren',1);
to
// $params->set('showAllChildren',1);
Please Log in to join the conversation.
- 
        Fintan
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        - Posts: 21
- Thank you received: 0
            
        
                12 years 1 week ago                #33635
        by Fintan
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Fintan on topic Using drop down menu            
    
        No change  
    
 
    Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 1 week ago                #33647
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Using drop down menu            
    
        Try:
$params->set('showAllChildren',0);
$params->set('showAllChildren',0);
Please Log in to join the conversation.
- 
        Fintan
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        - Posts: 21
- Thank you received: 0
            
        
                12 years 1 week ago                #33662
        by Fintan
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Fintan on topic Using drop down menu            
    
        That worked, thatnk you. But now the children don't show at all.
I want the main menu item as a text separator and the children to show on mouse over(or click).
I want the main menu item as a text separator and the children to show on mouse over(or click).
Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 1 week ago                #33680
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Using drop down menu            
    
        That makes menu show sub menu items only if one of sub-menu items is current. Bat form your latest question it looks like we missed the point. Are you saying originally you were seeing all drop-down sub-menus displayed. If yes that is scrip issue, return code as it was originally and post your page link    
Please Log in to join the conversation.
        Time to create page: 0.182 seconds    
    