Forums Archive Index > SmartMenus 5 > Simple beginners' question -- newbie needs help
Date: 14 Aug 2005 10:12 am
This must have been asked before, but I cannot find it among the forum's topics (I did look), and I cannot find it in the manual (I did look).
How does one set the menu to vertical? Everything else about the customization is crystal-clear, and this has to be one of the best menus I've ever used, but I just cannot seem to find out how to make the menu run vertically instead of horizontally.
Driving me crazy. I must be looking in the wrong place. Can anyone help?
Thanks very much.
Date: 14 Aug 2005 11:16 am
Instead of this horizontal arrangement of main menu items:
[mouse-not-over-item][mouse-not-over-item][mouse-not-over-item]
with submenus opening like so:
[mouse-over-this-item][mouse-not-over-item][mouse-not-over-item]
[sub-menu-item]
[sub-menu-item]
[sub-menu-item]
[sub-menu-item]
[sub-menu-item]
[sub-menu-item]
I'm hoping for a vertical arrangement of main menu items:
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
with the sub-menu items opening up like so:
[mouse-over-this-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
and, of course, if the mouse is over the third main menu item:
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-over-this-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item][sub-menu-item]
[mouse-not-over-item]
[mouse-not-over-item]
[mouse-not-over-item]
and so forth.
Can you help me accomplish this? I just downloaded this wonderful script two hours ago, and I'm almost ready to test it in the real world. I just want to get it vertical.
Thanks very much.
Date: 14 Aug 2005 3:10 pm
Well, you can make any first-level menu permanent and use it as a vertical menu.
For instance, take a look at the example in the "Basic Example" folder. Open the s_arrays.js file and scroll to the end of the file. The last menu (e.g. that has the 'permanent' name) is an example of the type of menu you want to configure. It's a permanent menu (always visible) set with P:true. When you open the example in a browser, you will see this menu on the left of the page (the one that has the "SmartMenus 5" text in the header item). If you want sub menus, you just have to configure some of the items of this menu to show them and you are done.
I hope this explanation is clear enough. Please let me know if you have any questions..
Date: 14 Aug 2005 3:26 pm
>>> I hope this explanation is clear enough.
Well, while I confess that it wasn't (likely my fault; new at this), it may not matter. I found an example by searching through the forum, and I have a vertical menu now.
>>> For instance, take a look at the example in the "Basic Example"
>>> folder. Open the s_arrays.js file and scroll to the end of the file.
>>> The last menu (e.g. that has the 'permanent' name) is an example
>>> of the type of menu you want to configure. It's a permanent menu
>>> (always visible) set with P:true.
I tried this, but could not make the Basic Example become a vertical menu. But things are still going OK, ever since I found that working example.
One suggestion: just about all the examples I found in the standard download were for horizontal menus. Could you take a few minutes and make some vertical examples as well? This must be a common request.
It feels strange to ask you to do work when I'm not paying for the code, but I know that if I were in your shoes I'd want at least one of each kind of menu available for the user to customize.
Just a thought.