Recent Questions Left Tree Menu
Q: I am investigating why a few things have not been working for sometime on our site.
This is the error I get in the console "The requested URL /js/menudir/dtree_ss.js was not found on this server."
I update the files awhile back and removed the dtress_ss.js as I was instructed, why is it that it that the script is still trying to reference this file?
What do I have to do to remove this error from java script tree menu?
When I updated the files a few months back the new files seem to fix a problem we were having with Chrome, but broke the drop down menu in Explorer. I have yet to resolve this. The drop down menu appears to work fine in all other browsers.
The nav menu not working in IE7 (not sure about IE6 or IE8) is a bigger issue than the error in the console, but thought maybe they were related. From our analytics, the strong majority of our customers are using IE7.
A: 1) dtree_ss.js
The current version of Javascript/DHTML Tree doesn't have dtree_ss.js at all. You should deletethe following code from your page:
<script language="JavaScript1.2" src="/js/menudir/dtree_ss.js" type="text/javascript"></script>
In the body tag you should write:
<td >
<script src="/js/menudir/data-tree.js" type="text/javascript"></script>
</td>
In the HEAD tag you should write:
<!-- Javascript/DHTML Tree -->
<noscript><a href="http://deluxe-tree.com">java script tree menu by Deluxe-Tree.com</a></noscript>
<script type="text/javascript"> var tWorkPath="/js/menudir/";</script>
<script type="text/javascript" src="/js/menudir/dtree.js"></script>
<!-- (c) 2009, http://deluxe-tree.com -->
2) Error in IE7.
You're using new engine files and old data files for the menus now.
I'm sending you the example.
Use engine files for JavaScript Tree Menu and Javascript/DHTML Tree and data files (data.js and data-tree.js)from it.Q: I'd like to buy a template for creating a basic java script vertical menu that is image based. Can you tell me which of your products I should consider buying? I'm familiar with html, but not other programming languages.
A: If you want to create java script vertical menu you should buy JavaScript Tree Menu,
http://deluxe-menu.com
See the example here:
http://deluxe-menu.com/image-based-menu-sample.html
You can also use your own images for the menu items.
If item text is empty, icon fields will be used as item images.
For example:
["", "index.html", "itemImageNormal.gif", "itemImageOver.gif", "Home Page"]
Please, try the trial version at first. It has full functionality.
Q: Can I use just one data.js in one folder that all the pages with a dhtml popup menu point to?
A: If you don't want to create your menu on each page you can use aserver-side script
(php, asp, vb, etc.) to generate html pages fromtemplates on your server.
You can use cross frame menu.
It allows you to build full-featured menus on the pagesthat use frame-based structure.
And it's not necessary to insert any code into all the pages -just specify the additional
parameters of the menu and initialize it.
To install the menu in a cross-frame mode, see more info here:
http://www.deluxe-menu.com/cross-frame-mode-sample.htmlQ: Can I move the submenu 5px to the right so it doesn’t stick to the main tree javascript hierarchical menu (Please try to separate them without a color).
A: You should set the following parameter:
var topDX=5;