Wrong positioning and strange behaviour of module

  • Gracy
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 10 months ago #26540 by Gracy
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

Please Log in to join the conversation.

More
11 years 10 months ago #26545 by ivan.milic
Ok,

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
  • Member
  • Member
More
11 years 10 months ago #26555 by Gracy
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
Attachments:

Please Log in to join the conversation.

More
11 years 10 months ago #26565 by ivan.milic
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

Please Log in to join the conversation.

  • Gracy
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 10 months ago - 11 years 10 months ago #26573 by Gracy
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
Last edit: 11 years 10 months ago by Gracy.

Please Log in to join the conversation.

More
11 years 10 months ago #26575 by ivan.milic
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;
}

Please Log in to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum