Recent Questions
Q: I would like all my submenus of the html menu to appear in the same location on the page and not relative to the parent menu item.
A: You can do it using the following parameters:
var subMenuAlign = "left"; - Horizontal alignment for submenus.
"pleft", "pcenter", "pright" - alignment relative to the parent submenu.
var subMenuVAlign = "top"; - Submenus vertical alignment.
"ptop", "pcenter", "pbottom" - alignment relative to the parent submenu.
Q: I got it to work ... but I can't make the javascript menu bars locate where I want it on the page.
A: Check that you use relative position for the menu
var absolutePos=0;
var posX="0px";
var posY="0px";
You can install the menu in DIV or Table, for example:
<div align=center>
<script type="text/javascript" src="deluxe-menu/data.js"></script>
</div>
You can send us a copy of your html page (including .js files) ora direct link to your website, so we can check it.Q: Do drop down menu examples work with google page creator ? Orare there any problems ?
A: See how you should install Deluxe Menu on your pages.
Deluxe Menus weren't developed as Google Page Creator/Dreamweaver/Frontpage extension,
BUT you can use it as standard Javascript files.
To install the menuinto your html page:
1. open the page in your program
2. open html source code of the page
3. add several rows of code (<script> tags), For info see:
http://deluxe-tree.com/installation-info.html
That's all.
It is possible that your program changes some paths, so you havean error in the preview.
On your site or in your browser there'll be no errors.Q: Is there a javascript API for the expandable menu tree to fire an user click event so the browser will load proper page accordingly? I looked around the current APIs from your site and could not find one.
Please advise.
A: You can use dtreet_ext_userClick (itemID) function.
See more info:
http://deluxe-tree.com/functions-info.html
Actually you can use your own Javascript code instead standard links and html code inside item text. For example:
var tmenuItems = [
["text", "javascript:your_code_here"]
];
or
var tmenuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];