Recent Questions Cappuccino Web Tree
Q: I have downloaded the trail version of java menu source, and I am getting script errors.
I am working with the deluxe menu.
Actions:а line 15
Character 9
Access denied
file://C:\Program Files\Deluxe
Menus\deluxe-menu\deluxe-tuner\data\deluxe-menu\toolbar\toolbar.html
I uninstalled, cleared all cache and temporary files, restarted the computer, reinstalled and I still get the same message.
I am convinced this program is exactly what I need, but one step at a time.
A: I suppose that you're using Windows 2000.
We have some problems with Tuner on this OS.
Unfortunately we didn't fix the issue with Windows 2000 yet.
Try to delete all content from toolbar.html file.
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-tree/toolbar/toolbar.html
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-menu/toolbar/toolbar.html
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-tabs/toolbar/toolbar.html
Q: Is there a way we can add javascript behaviors to the popup menu in java actions? For example, is there a way we can add an onClick function to a popup menu in java item (eg, onClick="return MyFunction( )" ) so that we can catch and process key events?
I'm really hoping there's a way of doing this...
A: Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item. However, you can achieve this by using standard html objects within popup menu in java items, for example:
var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];
You can use your own Javascript code instead standard links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
Q: Typically in order to generate a menu with multiple layers I’d put a pipe character in front of the menu text.. For example:
["|Page Admin","/admin/handoutadmin.php", , , , "_new", , , , ],
["||Student Pages","/admin/handoutadmin.php?type=1", , , , "_new", , , , ],
["||Teacher Pages","/admin/handoutadmin.php?type=2", , , , "_new", , , , ],
["||Family Letters","/admin/handoutadmin.php?type=4", , , , "_new", , , , ],
["||Transparencies","/admin/handoutadmin.php?type=3", , , , "_new", , , , ],
However, when I try to do it with dm_ext_addItem it actually SHOWS the pipe character and doesn’t create any menu levels at all.
For example:
dm_ext_addItem(0, 0, ["Add a Handout to this Lesson", "", "", "", "", "", ""]);
dm_ext_addItem(0, 0, ["|Student Page","/admin/handoutadmin.php?type=$type", "", "", "", "_new", ""]);
dm_ext_addItem(0, 0, ["|Teacher Page","/admin/handoutadmin.php?type=$type", "", "", "", "_new", ""]);
How can I generate multiple levels of the menu with javascript?
A: I suppose that your code is not valid
dm_ext_addItem(0, 0, ["|Teacher Page", "/admin/handoutadmin.php?type=$type", "", "", "", "_new", ""]);
Try to write it in the following way:
dm_ext_addItem(0, 0, ["|Teacher Page", "/admin/handoutadmin.php?type=", "", "", "", "_new", ""]);
Q: I am attempting to install a menu I've created into FrontPage2003.
I read what the web site says but it didn't seem to work. Any other suggestions?
A: JavaScript Tree Menu wasn't developed as 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-menu.com/installation-info.html
That's all.
To create and configure your menus use Deluxe Tuner application
(included into the trial package): http://deluxe-menu.com/deluxe-tuner-info.html