Recent Questions Deluxe Tree Key
Q: Thanks for swift reply, however:
Tried the dmenu.js (only one we use) at our trial site and get the error :
Line 13
Invalid argument
- as you know this js file is obfuscated to one line, so using a debugger does not apply.
A: See the attached example. I've upgraded your javascript layer menu to JavaScript Tree Menu v3.0.
use data file and engine files from the attachment.
You had several errors in the structure of menuItems.
It is not correct to write
["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",],
["||| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],
You should write:
["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",],
["|| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],
Q: I use your product for one of my clients and so I am familiar with using Deluxe Tuner on the Mac and editing that menu, etc. It is a simple menu though, that doesn't use any images or anything fancy.
I want to purchase the javascript nav menu for another client.
My question is, he loves that tabbed javascript nav menu I originally did, and right now they are in one big image map. I can cut them up, but with your menu software, will I be able I to have the top menu as those tab images, and the sub-menu show on mouseover as just plain text? (Like SigmaFlow's sub-menus.)
Any advice is appreciated. Thank you!
A: Yes, of course, I don't see any problem with it.
You can use any images as item background, see for example:
http://deluxe-menu.com/data-templates/vista-style-01-template-sample.html
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: I cannot see my menu on the pages. Could ypu help me?
A: Try to move the following code in the <head> tag
<script type="text/javascript"> var dmWorkPath = "";</script>
<script type="text/javascript" src="dmenu.js"></script>
Notice: your menu won't work correctly if you write src="/dmenu.js"