Recent Questions Javascript Folder Tree Module
Q: How does the SiteMap function work in java menu software? Does it automatically create tree-view from the domain registration (License Key Generator)? We want to generate SiteMap from our domain automatically and save it as HTML to be displayed on our homepage.
A: You can create Sitemap for your menu using java menu software.
Tools/Generate Google XML Sitemap
Tools/Generate Sitemap
> We want to generate SiteMap from our domain automatically and save it
> as HTML to be displayed on our homepage.
There is no such a feature in JavaScript Tree Menus, you can create sitemap forthe menu only.
Q: I have the following problem. I've set target parameter to "_self".
But my html files still opens in a new window.
A: Please, check the following parameters:
var itemTarget="_self"; //default target
You can set target parameter for each item.
See menuItems parameter:
var menuItems =
[
["Home","testlink.html","icon.gif","iconover.gif","Home Tip",target,"1"],
["|Our Products","testlink.html","icon1.gif","icon2.gif","Our Products Tip","_self",,"0"],
];
Try that.
Q: We are testing you menu in our application. It is being used in cross frame mode. It works very nicely except a couple issues.
The main one is after loading a new page in the sub menus window when I go back to the main menu to select another option but on the initial mouse over it takes several seconds for the menu to come up. Once the delay of loading the initial submenu is over it loads all others very quickly until a new page is loaded again. Is there a way to optimize the menu to reduce this load time? I have already set dm_writeAll=0 but that only increased the speed of the initial display of the main menu.
And the other question is does the dmObjectsCheck option work in cross frame mode? I have it set =1 and the submenus still underneath objects (such as select list) which have a higher z order.
A: Try to do the following:
move all <script> calls into <head>, but delete dm_initFrame()function from data .js file -- move them instead of files calls, i.e.:
<head>
<script src=data.js>
...
</head>
...
<div><script>dm_initFrame("frmSet", 1, 2, 1); </script></div>
It this case data will be loaded when <head> will load, but after thatmenus must be shown quickly.
Let me know about results.
JavaScript Tree Menu overlap select objects in cross-frame mode.
Q: Is it possible to have menu items act like regular hyperlinks?
For instance in Firefox I like to "middle click" hyperlinks to open them in a new tab, or in IE right click and open in new window.
However with Deluxe-Menu this does not seem to work.
A: If you want to open your links in the new window you should set the item target parameter to "_blank", for example:
var menuItems = [
["Home","testlink.html", , , , "_blank", , , , ],
...
You can include also any html code in the Item Text.
For example:
["<a href='http://deluxe-menu.com/'>Home</a>","", , , , , , , , ],