- Posts: 69
- Thank you received: 0
Wrong positioning and strange behaviour of module
- 
        Gracy
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        
            
        
                12 years 8 months ago                #26540
        by Gracy
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Gracy on topic Wrong positioning and strange behaviour of module            
    
        Thanks for answering Ivan,
but, as I told you before, in that file there is not a line with
var ItemWidth = Math.floor((MenuWidth - (rootCount - 1)) / rootCount);
only a line with
var ItemWidth = Math.round((MenuWidth - (rootCount - 1)) / rootCount);
what should I do on that line? (different from the one you told)
... and
the main problem now is that if you reduce the character size you got the menu splitted in two row like the image I sent you, please try yourself and see what happen in the site www.mostomisto.it and tell me what to do for that
Thanks in advance
Roberto
but, as I told you before, in that file there is not a line with
var ItemWidth = Math.floor((MenuWidth - (rootCount - 1)) / rootCount);
only a line with
var ItemWidth = Math.round((MenuWidth - (rootCount - 1)) / rootCount);
what should I do on that line? (different from the one you told)
... and
the main problem now is that if you reduce the character size you got the menu splitted in two row like the image I sent you, please try yourself and see what happen in the site www.mostomisto.it and tell me what to do for that
Thanks in advance
Roberto
Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 8 months ago                #26545
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Wrong positioning and strange behaviour of module            
    
        Ok,
that line:
var ItemWidth = Math.round((MenuWidth - (rootCount - 1)) / rootCount);
replace with:
var ItemWidth = Math.ceil((MenuWidth - (rootCount - 1)) / rootCount);
that line:
var ItemWidth = Math.round((MenuWidth - (rootCount - 1)) / rootCount);
replace with:
var ItemWidth = Math.ceil((MenuWidth - (rootCount - 1)) / rootCount);
Please Log in to join the conversation.
- 
        Gracy
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        - Posts: 69
- Thank you received: 0
            
        
                12 years 8 months ago                #26555
        by Gracy
    
    
        
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Gracy on topic Wrong positioning and strange behaviour of module            
    
        Thanks Ivan,
now can solve please the other problem?
As I told before, when the character size is reduced in the browser, the HotFlashes Menue creates an empty section and is splitted in two row (see attached image)
Thanks again
Roberto
now can solve please the other problem?
As I told before, when the character size is reduced in the browser, the HotFlashes Menue creates an empty section and is splitted in two row (see attached image)
Thanks again
Roberto
Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 8 months ago                #26565
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Wrong positioning and strange behaviour of module            
    
        Well actually that change should solve that problem , I checked your site in chrome, IE10 and FF and it's ok. If you still have such problem add -1 to that code line:
var ItemWidth = Math.ceil((MenuWidth - (rootCount - 1)) / rootCount) - 1;
Javascript files are sticky to browser cache maybe you just need to refresh good - several times ctrl+F5
var ItemWidth = Math.ceil((MenuWidth - (rootCount - 1)) / rootCount) - 1;
Javascript files are sticky to browser cache maybe you just need to refresh good - several times ctrl+F5
Please Log in to join the conversation.
- 
        Gracy
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        - Posts: 69
- Thank you received: 0
            
        
                12 years 8 months ago         -  12 years 8 months ago        #26573
        by Gracy
    
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Gracy on topic Wrong positioning and strange behaviour of module            
    
        Hi Ivan,
sorry to bother you again on this topic, (i used the line you suggested) but also after 15 times of ctrl-F5, as soon I reduce the size of the character to a bit (i.e. 90%), the problem is still there, I use atm Google Chrome
what can be?
Thanks again
Roberto
sorry to bother you again on this topic, (i used the line you suggested) but also after 15 times of ctrl-F5, as soon I reduce the size of the character to a bit (i.e. 90%), the problem is still there, I use atm Google Chrome
what can be?
Thanks again
Roberto
        Last edit: 12 years 8 months ago  by Gracy.            
            Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 8 months ago                #26575
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Wrong positioning and strange behaviour of module            
    
        Not sure , delete browser cache, see image in attachment (in chrome on my computer).
Try this, add this css at bottom of template_css.css:
.mp_user2 .cell_pad{
margin:0!important;
}
Try this, add this css at bottom of template_css.css:
.mp_user2 .cell_pad{
margin:0!important;
}
Please Log in to join the conversation.
        Time to create page: 0.177 seconds    
    
