Recent Questions Asdpc Treeview
Q: I would love to buy your product BUT, I am not sure if it will do what I want - can I call javascript within the dynamic menu?
For example my old page for disaster recovery we have inserted a URL substitution :
The javascript function is called at the top of the nav page:
<script LANGUAGE = "JavaScript" SRC = "../urlSub.js"> </script>
then the link on the nav menu
<a> href="#" ONCLICK = "urlSubstitution('transco/sheet.asp?stype=1')">Table of Contents </a>
-----------------------------------------------------------------------------------------------------
HOWEVER, Im not sure if this is possible with your product?
A: Yes, it is possible.
Actually you can use your own Javascript code instead standard links and html code inside item text. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
or
var menuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];
Q: But what mean the message "Incorrect Copyright" that you see on the javascript menu ie TABS on our website? Because we did the solution that you described in the original message that I copy you below. In some computers appears this messages in other not.
The key that is in the .js file.
A: Installation of your menu is not correct:
<script type="text/javascript"> var dmWorkPath="deluxe-tabs.files/";</script>
<script type="text/javascript" src="deluxe-tabs.files/dtabs.js"></script>
<!--script type="text/javascript" src="../Library/Library_JS/dtabs.js"></script-->
<script type="text/javascript" src="../Library/Library_JS/data-deluxe-tabs.js"></script>
You should write:
<noscript><p><a href="http://deluxe-tabs.com">javascript menu ie by Deluxe-Menu.com</a></p></noscript>
<script type="text/javascript" src="deluxe-tabs.files/dtabs.js"></script>
<script type="text/javascript" src="../Library/Library_JS/data-deluxe-tabs.js"></script>
Try that.
Q: Do this easy drop down menu support Right to left property?
A: JavaScript Tree Menu support right-to-left languages.
In JavaScript Tree Menu you can set the following parameter:
var dmRTL = 1;
Set this parameter to 1 if you're using right-to-left direction of html page <HTML dir=rtl>.
Q: First of all, your product is amasing!
I can not create popup windows by clicking on a menu.
For example:
MainMenu:     Home > Favorites > Fun > About us
Sub Menu:      - Portal
                       - Games
                       - Forum
                       - Chat
By clicking on “Games” Button of sub menu I would like to open a popup window,
Not regular window with navigation, scroll and so on.
A: You can use your own javascript functions in the menu items.
You should paste "javascript:some_function()" into item's link field, for example:
var menuItems = [
["text", "javascript:your_function(...)", ...]
];