Recent Questions Tree Menu Toggle Unordered List
Q: I like your product and we would like to use it for our web-site.
Our site uses Frames with the following names in the FrameSet:
frame name = “top”
frame name = “middle”
frame name = “bottom”
I don’t understand how to set the target of the Deluxe Tuner navigational link to populate the frame “middle” or “bottom”
When I try to input my own name it will not allow me to do so.
We are using the “top” (horizontal) frame as a header which will contain the navigational component we developed using your product.
We are using the “middle” frame to contain most of the html pages the user will load
We are using the “bottom” frame to contain auxiliary text
Can you help me?
A: More info about the installation of the menu in cross-frame mode youcan find here
http://deluxe-menu.com/cross-frame-mode-sample.html
You should replace dm_init() function with dm_initFrame() function.
Please, open your data.js file with the menu parameters in any texteditor and change it.
You should write, for example so:
dm_initFrame("frmSet", 1, 2, 0);
Q: Is there a way to have an automatic line-break for large submenu items?
I'd prefer not to have scroll bars but automatic line break of long items.
A: Try to add the following parameter in your data file
var tnoWrap=0;
Q: We are using the deluxe menu in one of our projects. The menu works well on our integration system but not on our production system.
The only difference is that the integration is running on Tomcat Version 5.5.9 and the production (with the "broken" menu) on Tomcat 5.5.17.
But for me it looks more like a browser problem than a JSP problem.
Unfortunatley the Tomcat 5.5.17 is our production system so fast help is appreciated.
A: Try to set the following parameter:
var dmObjectsCheck=1;
Make sure that you have dmenu_add.js file in the same folder withdmenu.js file.
Q: I can’t seem to figure out how to keep last clicked item in my java menu script marked.
I use these options:
pressedItem = -1
var saveNavigationPath = 1;
Where and how do I determine the background color of the clicked item?
I also have this problem on Javascript/DHTML Tree.
A: The menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.