Recent Questions Javascript Tree Example
Q: I am trying to install a search engine on my site and am having trouble due to my use of your tree-menu system, which I love by the way. I really need to find a compatible script that will search your javascript menu system, or at the very least search another file with mirrored links. I DO NOT want to add the links to each page, this is why I love your menu's, there is one central location to change navigation statewide.
Do you know if there is a search script that can do this( js, php) or is there a way to make your javascript tree menus accessible to the search engine?
A: You can generate search engine friendly code.
Javascript/DHTML Tree is a search engine friendly menu since v2.4.
To create a search engine friendly menu you should add additional html code within your html page:
<div id="dmlinks">
<a href="http://deluxe-menu.com">menu_item_text1</a>
<a href="http://deluxe-tree.com">menu_item_text2</a>
...etc.
</div>
To generate such a code use Deluxe Tuner application.
You can find this GUI in the trial package.
Run Tuner, load your menu and click Tools/Generate SE-friendly Code (F3).
Q: When I use API like <script>dm_ext_deleteItem(0, 0, 0);</script> it works fine in my first dhtml drop down menu code (menu.js) but I'm unable to reach second one (menu_gauche.js). I’ve tried this : <script>dm_ext_deleteItem(1, 0, 0);</script> and the page came’s out with a JavaScript error on that line. I’ve read on your side about dm_ext_deleteItem api and the first parameter is for menu Id … If there anything that I have forgot ??
A: You cannot use the following function for the tree menu:
dm_ext_deleteItem(1, 0, 0);
There is no such function there:
You should use
dtreet_ext_deleteItem (0, 0)
for the tree menu, see more info:
http://deluxe-tree.com/functions-info.html
You should set menuInd=0 if you have only one dhtml drop down menu code on your page.
Q: I am interested in buying your software for some web development I planning on doing.а Before I buy your software, I have a concern that I was hoping you could help me with.
I downloaded the trial version of the software and set up some menus.а However, when I load them with IE7, the information bar comes up and asks me if I want to run scripts or ActiveX controls.а Is there a way I can prevent this from happening?а Is there some setting I have chosen in one of the properties that is causing this to happen?
I am not interested in buying a license for this software if this is what is going to happen.а I really like the way I can modify just about anything in the menusЕ but having this pop up is not user friendly.а Please tell me there is a way to fix this.
A: Please, see security preferences: IE/Tool/Internet Options
Make sure that Active content is enabled.
You should check your Security Settings.
There is no way to enable these settings automatically.
Q: I have been working with on a site and I am kind stack using the program. I want to use the tree option but not all “buttons” need to have subcategories. For example:
Category 1
Sub-menu 1-1
Sub-menu 1-2
Sub-menu 1-3
Category 2
Sub-menu 2-1
Sub-menu 2-2
Sub-menu 2-3
Category 3
Category 4
When someone click on the “Category 1” or “Category 2”, I want them to see the sub-menus. However, when some click on “Category 3” or “Category 4”, I would like to have it open the appropriate page. How do I do this? This will make a lot easier because not all buttons need to have sub-menus… I hope that makes sense and you can help me on getting this done.
A: You cannot use links for the top items in XP Style only.
var tXPStyle=1;
but you can write:
["<a href='http://deluxe-menu.com'>Item 45</a>","", "", "", "", "", "", "", "", ],