Recent Questions Php Generate Dynatree Json
Q: We want to evaluate Delux Menu(DM). But before doing any testing I want to ask few questions.
-#1 Can DM support context menus on right click with in a DIV and on a button click.
ex: I have a Options button on the web page and also a DIV which is transformed using xml and xsl.
Onclick of the button and right click within the DIV area should popup the same menu.
I have various DIVs and each DIV has its own context menu.
-#2 Any issues like IE memory leaks by using DM. I am asking this we are having some issues with the present menu control we are using. IE hangs up when the web page is idle for more than 20 mins.
A: 1. JavaScript Tree Menus supports such a feature. Please, go tohttp://deluxe-menu.com, section "Samples->Functional Samples->Popup Menu"
You can create any number of menus on a page.
2. We don't know about such a problem with JavaScript Tree Menu. Please, try atrial version of DM. It has a full functionality.
Q: I have noticed an issue with the menu. Dhtml pop up menu does not drop down over the frame if a pdf is being displayed. It does something weird to the browser like shortens the main frame and displays above the menu.
A: Notice that you should add your pdf inside IFRAME tag.
Try to set the following parameter to overlap .pdf files:
var useIFRAME=1;
Q: Thank you in advance for reviewing my question. By the way, I love the software and the menus it creates!
Question: I would like my horizontal menu buttons all have a uniform width, for example, all 7 top level buttons 120 pixels wide. I am not finding this setting in the available parameters.
Is there a way to do this? Any assistance would be appreciated.
A: You should create Individual Style and assign it for all top items.
var itemStyles = [
["itemWidth=120px"],
];
var menuItems = [
["Home","testlink.html", "", "", "", "", "0", "", "", ],
["Product Info","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "", "0", "", "", ],
Q: I need current page highlighted on javascripts tab menu.
what I do the change on data.js file.
A: Deluxe Tabs doesn't support API functions which can return theselected tab aslo.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parametersfrom your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
var bselectedSmItem=<?php echo $selsmtabs; ?>;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, forexample:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>