Recent Questions
Q: I need the flyout menus in the flash navigation bar to be able to be different widths.
A: Actually the submenu width is depend on the item's size.
You can alsowrap item's text.
Set var noWrap=0; or use standard <br> tagsinside items' text:
["|very long text <br> in Item 14","", "", "", "", "", "3", "1", "", "", "", ],
You can set exact width for each submenu using IndividualSubmenu Styles.
Q: Under Parameters ->> Dimensions ->menuWidth
Even I change the value such as 150px it doesn't have any effect on javascript dhtml menu itself.
Changing menuHeight property such as menuHeight = 123px moves menu down from the top of the page instead of changing height of the menu itself.
I used templates ->> vista -> vista style 3-03 to generate the javascript dhtml menu and modified it.
A: See, you have itemWidth and itemHeight in the Individual Style.
var itemStyles = [
["itemWidth=94px","itemHeight=23px","itemBackColor=transparent,transparent","itemBorderWidth=0", "fontStyle=bold 10px Tahoma","fontColor=#FFFFFF,#FFFFFF", "itemBackImage=data-vista-3-03.files/btn_cyan.gif,data-vista-3-03.files/btn_cyan2.gif"],
];
You cannot set the less value for the menuwidth in that case. You canset only the bigger value:
var menuWidth="550px";
To change the menuHeight you should also use itemHeight parameter, forexample
itemHeight=123px
Q: Sometime the first tab in css tab menu stay selected etc..
A: You should check the following parameter
var bselectedItem=1;
This parameter sets the selected tab.
You can set it
var bselectedItem=-2;
Q: Now I need to work out how to add multiple java menu examples to a page? Are you able to reference these separately - is this possible.
A: You can add as many java menu examples as you want on the one page.
You should call
<SCRIPT type=text/javascript> var dmWorkPath = "data.files/";</SCRIPT>
<SCRIPT src="data.files/dmenu.js" type=text/javascript></SCRIPT>
and then call your data files:
<SCRIPT src="data.files/data1.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data2.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data3.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data4.js" type=text/javascript></SCRIPT>