Recent Questions Gedcom To Expandable Tree Web
Q: I am trying to implement something with your wonderful product and have annoying problem that I am sure You are going to solve.
I am using 2 deluxe-menus on the same page.
The first one for showing some hierarchy of sites, and the second for showing pop-up right-click context menu (that clicked on some menu-item from the first deluxe-menu) .
The problem is that in case the user clicked on some sub-menu from the first css horizontal menu drop down, then all the sub menus disappear. I want them to stay.
I tried to give to the first deluxe-menu *smHideOnClick*=0 , but it doesn't help.
A: Try to set the following parameter:
var smHidePause=-1;Q: I’m wondering if there is a way to keep the roll over on the current page for the script drop down menu.
Pleaselet me know if it is possible and what I should do.
A: You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html
JavaScript Tree Menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: Thank you for your quick service. Question for you, in the templates java expanding menu - Standard Tree Menu. There is an option to search by Index and also word query. When I bring the Template up I dont see this option on the sample menu. I'm I missing something or do I need to add it. If I need to add it can you explain to me how to do it.
A: You are able to paste any html code within java expanding menu items.
For example:
var tmenuItems = [
...
["<nobr><FORM method=GET action='http://www.google.com/custom'><input name='as_q' value='search
the web' size=15 style='font-size:10'> <INPUT type=hidden name=cof
value='LW:144;L:http://domain.edu/images/sulogo.gif;LH:45;AH:center;GL:0;S: http://domain.edu;AWFID:e01cb67b8afe383e;'></form></nobr>","", "images/icons/search.gif", "", "", "", "", "", "", "", "",],
You should write your own code within tmenuItem.
Q: How I can control the displayed items by writing my own security control logics?
Can the developer version allows me to edit all the generated java scripts for menu?
A: You can use API functions and control the displayed items.
Find more info here:
http://deluxe-menu.com/functions-info.html
> Can the developer version allows me to edit all> the generated java scripts for menu?
Script in Single, Multiple and Developer licenses is obfuscated, youcannot modify it.
If you want to modify the java scripts for menu you should buy JavaScript Tree Menu & Javascript/DHTML Tree & Deluxe TabsDeveloper License with Javascript Source Code.