Hi,
I've the following problem I can't solve alone (I'm using 2010Q2).
I've a menu with EnableRootItemScroll="true", that is, I'd like to have the menu on only one line and if there is not enough space I'd like to see the scrolling arrows.
Everything was working perfectly until I started to work client side with item texts and visibility.
I explain: in the menu I've a button that must work as a warning label, that is, if something is wrong I change client side its text (and image) to show a warning message to the user.
The problem is that when I do so the menu starts to be shown on multiple line.
I've debugged a bit the JS and I've found out that you calculate the width of all the root items when the page is rendered and assign the total to the <UL> container. Changing the text, the width should change.
I've already tried this:
Best regards, Andrea Pirola
I've the following problem I can't solve alone (I'm using 2010Q2).
I've a menu with EnableRootItemScroll="true", that is, I'd like to have the menu on only one line and if there is not enough space I'd like to see the scrolling arrows.
Everything was working perfectly until I started to work client side with item texts and visibility.
I explain: in the menu I've a button that must work as a warning label, that is, if something is wrong I change client side its text (and image) to show a warning message to the user.
The problem is that when I do so the menu starts to be shown on multiple line.
I've debugged a bit the JS and I've found out that you calculate the width of all the root items when the page is rendered and assign the total to the <UL> container. Changing the text, the width should change.
I've already tried this:
Best regards, Andrea Pirola