Recent Questions Editable Javascript Treegrid Contextmenu
Q: Thank you for the information. I have been successful in getting the drop down menu select to appear on my index.htm file.
I'm having some problems fine tuning it. I placed the code and files as indicated on the file. What I get is a menu appearing at the top of the page and a link titled: Trial Version where I want the menu to appear.
The other problem I am having is that the drop down menu select is left justified and I would like it to be centered on my page (table).
A: Check that you're using relative position for the drop down menu select. You shouldset:
var absolutePos=0;
var posX="0px";
var posY="0px";
Q: Do you have it in vertical orientation for dropdown menu javascript, please?
A: To create vertical drop down menu you should set the followingparameter:
var isHorizontal=0;
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: I am evaluating your fine menu builder application.
Please let me know the following:
a) How could I call a script instead of specifying a link?
["|Product A","http://dhtml-menu.com","","","",,"0",],
b) If the above is possible, please let me know how, in the called script, I could know where the call to the script come from.
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(...)", ...]
];