Recent Questions Treemenu Js
Q: I have a popup that in one of the submenus has an input field.
There is a problem – if the user clicks into the entry field,
but moves the mouse outside the php dhtml menu,
the menu can close while the user is still typing.
Is there any way to prevent that from happening?
A: You can make submenus to stay visible till you click outside the menu or scroll your page.
To enable this feature you should set the following parameter:
var smHidePause=-1;
Q: How do I get started with JavaScript Tree Menu? Do you have a link with instructions?
I designed my own website with DreamWeaver 8.0 ( www.lesvants.com ) but don't have a clue as to how to start designing with your product.
A: Unfortunately we don't have step by step tutorial now. We'll try tocreate it in the nearest time.
JavaScript Tree Menus weren't developed as Dreamweaver/Frontpage extension,BUT you can use it as standard Javascript files. To install the 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 menu as you like in Deluxe Tuner.
Please, try to download trial package once again. We added alltemplates in Deluxe Tuner Templates window.
Unfortunately, Deluxe Tuner doesn't copy all need images forVista Template into your folder. You should do it manually.After you create your menu in Deluxe Tuner you should copy all images youneed for the menu into your folder and correct images paths.You should set the following parameter
var pathPrefix_img="";
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">Javascript 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.
Try that.
Q: I need to set individual itemtargets for a number of menu script items......
example:-
var itemTarget="Main";
menuitem_1 targets the Main frame..
menuitem_2 ..
SUBmenuitem_2_(1) targets the Top frame..
SUBmenuitem_2_(2) targets the Main frame..
menuitem_3 ..
SUBmenuitem_3_(1) targets the Main frame..
SUBmenuitem_3_(2) targets the Bottom frame..
menuitem_4 targets the Main frame..
Is this possible?
A: You can set target parameter for all items:
var itemTarget="_blank";
or
var itemTarget="main";
Where main - is the name of the main frame where you want to open the link.
or for each item individually:
["Home","testlink.html", "", "", "", "_blank", "", "", "", "", "", ],
...
["Home","testlink.html", "", "", "", "main", "", "", "", "", "", ],
Q: I have not seen anything that can help me in the question list and
I would like to ask how to have a php tree view closed by default.
A: You should delete "+" signs in the top items and set the followingparameter:
var texpanded=0;