Recent Questions Aspxtreelist In Div Scroll
Q: I'm having a major problem centering html menu navigation in a table.
No matter what I try, the menu stays on the left ofthe table.
Do you have any suggestions?
A: To center the menu on your html page you should set the following
parameter and install the menu in the following way:
var absolutePos=0;
<div align=center>
<script type="text/javascript" src="deluxe-menu/dmenu.js"></script>
</div>
<table width=800>
<tr>
<td align=center width=600><script type="text/javascript" src="data/data.js"></script></td>
</tr>
</table>
Q: I recently downloaded the trial version of JavaScript Tree Menu-Javascript/DHTML Tree and Deluxe Tabs. I am very, very pleased with your product!! I wish to purchase JavaScript Tree Menu & Tree & Tabs & Popup Window & Calendar Single Website License Product # 300094393.
However, before I do, I have a few questions first.
Question #1
I created a DeluxeTree Menu that is very large due to the amount of pages in my website and tested it on my website. It works fine. Of course I have created and saved a .js file and still have to add much more submenus to it. When I purchase the full version of javascript context menu will and begin to modify this .js file that I created will the "Trail Version" logo disappear? I hope so because it would be quite a task to have to re-create this file.
Question #2
I also created a JavaScript Tree Menu in a cross frame structure and placed the menu in the top frame. When I tested it and click on the menu button, the submenus drop down but do not appear in the frame below. They remain in the top frame forcing me to resize the top frame to see the submenus. When I viewed the example on your website for the cross frame structure, the examples show the submenus overlapping and appearing on the frame below the top frame. How do I fix this?
Thank you for time, looking forward to purchasing your product.
A: 1) There is no need to create your javascript context menu after the purchase.
You'll use new engine files only.
The purchased version of JavaScript Tree Menus doesn't have nag messages.
You'll see "Incorrect Key" message on a local machine but you won't see it on a registered domain.
2) You should install the menu in a cross-frame mode, see more info here:
http://www.deluxe-menu.com/cross-frame-mode-sample.html
Click "Show additional info" button.
Q: How can I keep the javascript contextual menu items from opening into a new window when selected?
A: You can set target parameter for all javascript contextual menu items:
var itemTarget="_self";
or for each item individually:
["Home","testlink.html", "", "", "", "_self", "", "", "", "", "", ],
Q: I've added a tab menu to a site but I want to know
how to get the active tab to stay a certain color in the html tabs menu
when you're on that tabs page.
A: Deluxe Tabs doesn't support API functions which can return theselected tab.
You can set "bselectedItem" and " var bselectedSmItem" parameters
based on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parameters
from 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>