Recent Questions
Q: I've been trying to get the menu item in dynamic tree menu to stay highlighted when clicked on and directed to that page.
A: Tree Menu doesn't save a presseditem as it saves a tree state.
It works within 1 page only and if youreload the page you should set a pressed item using Javascript API:
function apyt_ext_setPressedItem(menuInd, itemID)
<script type="text/javascript">
var i = 4 //index of the selected item
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}
To expand specific items you should use the following function:
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 11), 1);
Q: I am currently having a look at the use of your drop down menu and was wondering if there was an option to make all of the top menu links the same size?
At current It looks like it is on a percentage increase related to the amount of text, can I change this to a fixed value no matter the text amount?
A: You can use Individual Item Style.
Use that parameter:
var itemWidth=100px
Width of an item (px, % or other units).
For example:
var itemStyles = [
["itemWidth=150"], // style 0
];
var menuItems = [
["Home", "index.html", "myicon1.gif", "myicon2.gif", "Home Page Tip", "_self", "0"], // assign style 0
["About", "about.html", "myicon3.gif", "myicon4.gif", "About Us Tip", "_self", "0"], // assign style 0
];
Q: I'd like to buy a template for creating a basic java script vertical menu that is image based. Can you tell me which of your products I should consider buying? I'm familiar with html, but not other programming languages.
A: If you want to create java script vertical menu you should buy Deluxe Menu,
http://deluxe-menu.com
See the example here:
http://deluxe-menu.com/image-based-menu-sample.html
You can also use your own images for the menu items.
If item text is empty, icon fields will be used as item images.
For example:
["", "index.html", "itemImageNormal.gif", "itemImageOver.gif", "Home Page"]
Please, try the trial version at first. It has full functionality.
Q: Also. I'm very pleased to see a change font mouse over event, but I can't find where to change this in java menu program, can you help ?
A: You can set font color for mouse over state in java menu program (Font/section fontStyle parameter).