Is there a way to set the number of columns only for the javascript menu sample subitems?
Return to Recent Questions
Q:
I've been working with your javascript menu sample and like what I see so far. One
issue I have seems to be with the smColumns variable. I'm assuming
it was for just the sub menus but in the trial when I change this
the entire menu goes into multi- column mode. I exported the project
to HTML thinking I could manually change it there, that produced the
same result, changed the entire menu to multi-column.
Our menu will be dynamic (populated from SQL Server) with only
some of the sub menus being multi-column. We will even have multiple
sub menus for certain items and we'll need to have the capability to
set which one of those will be displayed in Multi-columns and which
ones will not. (See Below) So the question becomes; Is there a way
to set the number of columns only for the javascript menu sample subitems we desire to
have multi-column and if so how?
A:
You should use Individual Styles and set number of javascript menu sample submenu columns for
each submenu individually.
var menuStyles = [
["smColumns=2","smOrientation=undefined"],
];
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 18, 2006 - The submenus of the cross frame menu are offset by about 100 pixels to the right.
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
|