Page 1 of 1

Dynamic Items in NavBar?

Posted: Wed Jul 09, 2014 10:07 am
by Himanshu

Hello Team,

Can we have dynamic items (sometimes 3 and sometimes 4) in a navbar component?

Thanks.


Dynamic Items in NavBar?

Posted: Wed Jul 09, 2014 10:46 am
by Kateryna Grynko

Hi Himanshu,

You could write some JavaScript to do it.
Or add two Navbars and just hide/display one of them.


Dynamic Items in NavBar?

Posted: Wed Jul 09, 2014 10:49 am
by Himanshu

Ok. I was thinking as same. (two Navbars and just hide/display one of them). But will this work even if we are creating it as a template?


Dynamic Items in NavBar?

Posted: Wed Jul 09, 2014 11:57 am
by Kateryna Grynko

Himanshu,

Yes, sure.


Dynamic Items in NavBar?

Posted: Wed Jul 09, 2014 12:32 pm
by Himanshu

Thanks Katya. One more thing to ask : Our client doesn't want any icon for these items, but text is lengthy to show completely. Can we show the text in multiple lines, like this image(to be implemented):
Image


Dynamic Items in NavBar?

Posted: Wed Jul 09, 2014 3:29 pm
by Evgene Karachevtsev

Hello Himanshu,

You cannot set the text with multiple lines in item via Builder, only via the js code


Dynamic Items in NavBar?

Posted: Thu Jul 10, 2014 6:23 am
by Himanshu

Can you help me with code?

Thanks.


Dynamic Items in NavBar?

Posted: Thu Jul 10, 2014 6:45 am
by Kateryna Grynko

Dynamic Items in NavBar?

Posted: Fri Jul 11, 2014 10:30 am
by Himanshu

OK. I will check it and will let you know about it.