Recent Questions
Q: I am having problems with the XP Taskbar Menu. When I use DOCTYPE in the following format, the task bar does not show up atall for the exception of a single line.
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
When I hover my mouse on top of that line the menu displays fine with no problems. So the problem is with the Start button and the taskbar – they do not show. Can you please advice on how to fix this problem while keeping the DOCTYPE as specified.
A: Try to set the exact width for the menu:
var menuWidth="685px";
Q: http://deluxe-tabs.com/file/templates/tabs-vertical-template.html Can this dhtml menu frames have images as well as text? Docs are not clear on it.
A: I'm not sure I understand your question.
These are image-based dhtml menu frames (four vertical round buttons on the left side). Onthe right side there is a content DIV. You can add any html elementsinside the DIV (text, images, forms and so on).
Q: I want to use
function dtreet_ext_userRightClick(itemID) {
alert(itemID[0]); ???
return false;
}
But how do I refer to tmenuItems array using itemID in the javascript?
For example, if I want to pop a link text, should I use alert(itemID[0]))?
It doesn't work.
Please let me know how I refer to the menu.
A: You should use the following function to get item's info:
dtreet_ext_getItemParams (0, itemID);
For example:
<script type="text/javascript">
function dtreet_ext_userRightClick(itemID)
{ var link = [];
link = dtreet_ext_getItemParams (0, itemID);
//Returns item parameters in the array:
// [item_id, index_within_submenu, parentID, level, has_child, child_count, expanded, text, link, target, tip, align, icons, hidden, disabled, visible]
alert(link[7]);
return false;
}
</script>
Q: I’m a web designer who would like to purchase your product. However, I would like to know if it’s possible to have multiple colors in the java script dynamic menu.
A: Yes you can create such java script dynamic menu using Deluxe Menu.
Use Individual Item Styles you can find more info here:
http://www.deluxe-menu.com/individual-styles-sample.html