Recent Questions Build Family Tree Using Treeview ControlQ:
Is there a way I can do an include of a separate file that would contain the
var menuItems = ; A: You can delete var menuItems = ; and dm_init(); from your data.jsfile and paste it into your html page or in the other file.
You should call at first data.js file with the parameters and thanmenuItems = ; and dm_init();.
You have a great, and very intuitive and easy to learn, product.
I'm down to two dumb questions:
A. What controls the little red arrows? I'd like them on every one of the navigators.
B. How do I create equal space between the drop down menu items? It looks weird right now. A: 1) If your top item has a submenu this arrow will appear automatically.
For the items without submenus you may write:
["Home <img src='skin_data.files/arrowmain11.gif'>","index.html", "", "", "", "_self", "", "", "", "", "", ],
["About Us <img src='skin_data.files/arrowmain11.gif'>","about_us.html", "", "", "", "_self", "", "", "", "", "", ],
You can find arrowmain11.gif image in the attached example.
Actually you can add any html code inside item's text.
2) Set the drop down menu padding:
var itemPadding="3px 15px 3px 3px";Q:
I have seen a certain menu effect on a few websites and have so far been unable to reproduce it in simply HTML/CSS. Today I saw the effect on a website, looked at the source code and it appears they are using some of your code.
You should use floatable menu, so you can always see the menu.
But to use the floatable feature
you should use the absolute position for the menu
Please, try the trial version of the menu.
If there is an option in the php navigation bar to make all of the top items the same size? A: Set width for the items using Individual styles:
var itemStyles=[["itemWidth=100px"],] //style 0
Assign Individual Styles for the menu Items.
var menuItems = [
["Item 1","", "", "", "", "", "0", "", "", "", "", ], //style 0
["Item 2",", "data2.files/icon1.gif", "data2.files/icon1o.gif", "", "", "0", "", "", "", "", ], //style 0
You can see more info here: