Recent Questions Magento Tree Menu
Q: I have a web site in which I am using JavaScript Tree Menu in the top frame as a menu that crosses the frame and a menu in the lower frame that uses it as a menu in the same frame.
However, if a user selects the menu in the upper frame they get the menu that is associated with the menu of the lower frame.
The configuration files are names differently.
Is there a setting that needs to be set for the menu to distinguish between the two menus instantiations?
A: I suppose that you have two entries of dmenu.js file on your site in the tag.
You must have only one entry of dmenu.js file.
Please, delete the same code.
You should write so:
<head>
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menu2.files/";</script>
<script type="text/javascript" src="menu2.files/dmenu.js"></script>
<!-- (c) 2006, by Deluxe-Menu.com -->
</head>
<body>
...
<div>
<SCRIPT src="deluxe-menu_files/data-deluxe-menu.js" type=text/javascript></SCRIPT>
</div>
...
<div>
<SCRIPT src="deluxe-menu_files/data-deluxe-menu11.js" type=text/javascript></SCRIPT>
</div>
...
</body>>
Q: I have not been able to get the dhtml context menu - or any other Javascript - to appear. I use FrontPage2000. Any ideas?
A: See how you should install JavaScript Tree Menu on your pages.
JavaScript Tree Menus weren't developed as Dreamweaver/Frontpage extension,BUT you can use it as standard Javascript files. To install the dhtml context menuinto your html page:
1. open the page in your program
2. open html source code of the page
3. add several rows of code (<script> tags), For info see:
http://deluxe-tree.com/installation-info.html
That's all.
It is possible that Dreamweaver changes some paths, so you havean error in the preview.
On your site or in your browser there'll be no errors.
Create your menu in Deluxe Tuner application.
You can create any dhtml context menu as you like in Deluxe Tuner.
2. You should install the menu on your page.
You can click, for example, File/Export to HTML (you can't do it inthe MAC version).
Add several rows into your html page.
<head>
...
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">dhtml context menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath="deluxe-menu.files/";</script>
<script type="text/javascript" src="deluxe-menu.files/dmenu.js"></script>
<script type="text/javascript" src="data-deluxe-menu.js"></script> //data-deluxe-menu.js - data file created in Deluxe Tuner.
...
</head>
<body>
...
<table>
<tr><td><script type="text/javascript" src="deluxe-menu.files/data.js"></script></td></tr>
</table>
...
</body>
You should also copy all engine files
dmenu.js
dmenu4.js
dmenu_add.js
dmenu_dyn.js
dmenu_key.js
dmenu_cf.js
dmenu_popup.js
dmenu_ajax.js
into "deluxe-menu.files/" folder. You should place this folder in thesame folder with your index. html page.
Q: When I run the cursor over the menu, the menu images disappear for usually a split second, but sometimes for several seconds at a time. Is there a way to make the image static or keep it solid when the cursor runs over it?
A: You can have such effect when the page entirely was not loaded yet.
So, images were loaded only for the 1 state and for the other stat were not loaded yet.
If you don't want to have such effect you can use 1 state buttons.
Q: We have found that some of the menu /sub menu trees do not "collapse" when youclick on another item of the web tree view Do you have any suggestions as to what we can look at to correct the problem?
A: Check the following parameters:
var tcloseExpanded=1;
var tcloseExpandedXP=1;