Recent Questions
Q: I'm using your menu for my customers.
IHtml menu script works really great but since your last updates I'm really missing the parameter smviewtype=3, so I can have a subnavigation going other direction as usual.
Since you had this feature build in I choosed your menu and did a lot of programming, to get it integrated into contenido cms system.
I would be very pleased, if you could help me on this point.
A: You should set the way you show submenus using subMenuAlign and subMenuVAlign parameters.See more info here:
http://deluxe-menu.com/ways-showing-submenus-sample.htmlQ: I have a problem. How can we get the value of a parameter passed by the menu, when a menu item is clicked? For example I want to get the URL or file name to be open by the menu item when it is clicked.
I am talking about TREE menu.
A: If you want to open url or a file when you click on items of the tree menu you can write, for example:
var tmenuItems = [
["+DHTML Menus","http://dhtml-menu.com", "images/xpicon1.gif", , , "DHTML Menus", , "0", , , , ],
["|Save as...", "javascript:OpenFile('file_name')"]
];
Q: I see most of the sub-menus of the navigation bar (if there is space on the left side),
they are opening on the left side instead of right side..Could you please let me know how to fix it.
A: You should change the following parameter:
var subMenuAlign="right";
to
var subMenuAlign="left";
Q: Is it possible to generate Kaspersky java tab menu from dynamic content?
i.e I have a web application which currently generates a certain number of tabs for content based on a users selection.
Can the Kapersky tabs be generated from dynamic content, or does it need to be hard coded for the number of tabs and placement?
A: Unfortunately, Deluxe Tabs doesn't have such a feature.
You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
However, these scripts don't work inside of Javascript .js files, so, you should move parameters of a menu from a .js file into an html-page, e.g.:
<noscript><a href="http://deluxe-tree.com">Javascript Tree Menu by Deluxe-Tree.com</a></noscript>
<script type="text/javascript" src="menudir/dtree.js"></script>
<!-- (c) 2006, http://deluxe-tree.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var tmenuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
</script>
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html
This example is not for Deluxe Tabs menu, but you can create your menu in the same way.