Recent Questions Javascript Tree View Mysql Db
Q: I am considering ordering your product, but I have a few questions. My site uses frames, such that the submenus display in a different frame than the top level. Do all your dhtml menu templates support frames in this manner. I am specifically interested in the Ajax and Dynamic DHTML Menu.
Are your products licensed individually or does one license get access to Ajax, Dynamic, etc.? I understand the single, multi, and developer options.
A: See you can create JavaScript Tree Menu in cross-frame mode.
See more info about cross-frame mode here:
http://deluxe-menu.com/cross-frame-mode-sample.html
JavaScript Tree Menu has the following features:
Ajax support
Cross frame support
Dynamic Menu - Javascript API
Popup mode
and others.
> Are your products licensed individually or does one license get
> access to Ajax, Dynamic, etc.?
You should order the license for JavaScript Tree Menu only.
Q: I downloaded the tuner and am testing the file prior to purchasing. Is there a way to set up categories and beneath those categories there are subitems...then depending on what page I am on in the website, the appropriate category and subitems automatically show up in the javascript tree view menu?
If so, can you please tell me where and how to setup a menu if it's just changing a variable. Maybe you have an example of the web?
Here's an example of what we are needing. If you open your website http://deluxe-tree.com/samples-sample.html there are 2 sep. menus, one at the top and one on the side.
If I click Samples on the top menu, the samples submenu should automatically expand on the javascript tree view menu. How would I set this up?
A: See how you should highlight and expand the selected items here:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
I'm sending you the example.Q: How I can write the changed dhtml pull down menu into a database?
A: Unfortunately, we don't have such example.
You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.However, these scripts don't work inside of Javascript .js files, so, you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- Javascript/DHTML Tree -->
<noscript><a href="http://deluxe-tree.com">Javascript Tree Menu by Deluxe-Tree.com</a></noscript>
<script type="text/javascript" src="menudir/dtree.js"></script>
<!-- (c) 2006, http://deluxe-tree.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var tmenuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
</script>
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html
This example is not for Javascript/DHTML Tree menu, but you can create your menu in the same way.
Q: Now on IE for Windows, the menus disappear as I roll over them, though not always.
I'd say 90% of the time they fade away as my cursor crosses them.
10% they stay and I can get a good click.
On Safari, they work great.
A: See menu parameters they contain:
var smShowPause=0;
var smHidePause=0;
You should set, for example:
var smShowPause=200;
var smHidePause=1000;
Try that.