Recent Questions Blogger Tree MenuQ:
We want that when user clicks an item, then load other page. This other page also conatains the tree menu. But, we are looking for how we have to do for the previously clicked menu items in java (in the previous page) remains highlighted for inform to user what is his current page/selection.
We know toggleMode feature, but after the second page loads, the clicked item does not remain higlighted.
It is possible to achieve this behavior with your product??? A: You should use API functions in that case
function dtreet_ext_expandItem (itemID, expand)
function dtreet_ext_setPressedItem (menuInd, itemID)
See more info about API functions:
See the samples:
Do you by chance have the dhtml menu samples working with XML?A: Unfortunately we don't have working example.
<noscript><a href="http://deluxe-menu.com">dhtml menu samples by Deluxe-Menu.com</a></noscript>
<!-- (c) 2008, http://deluxe-menu.com -->
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
The example of the menu working with PHP/MYSQL you can find here:
I was looking for a feature to reverse the order of items added dynamically to the drop down html menu
I'm not sure where to find it or how to go about getting this new feature incorporated into my code.
Could you please help me and tell me where to go next?A: To add your items dynamically in the specific position you should usethe following function:
dm_ext_addItemPos(mInd, smInd, iParamsArr, Pos)
where Pos - the position in the menu where you want to add new item(starts with 0).
Check that you have dmenu_dyn.js file in the same folder with dmenu.js
file and set
Is there a way to create a vertical menu in which the sub menus "fly out" to the left of the main menu? A: Yes, it is possible.
To create vertical menu you should set
Why of showing submenu you can set so: