Recent Questions Dhtml Tree Without The Plus SignQ: Firstly I'd like to say it looks like a great product. Something that would definitely be of use for our corporate intranet. But first! I have a problem with the evaluation.
I'm trying to get a click/context menu from clicking an image but no matter what I try the following .htm file errors with object required on line 15. I've read your examples / source over and over again but no joy - If I just display the menu with the usual <script> menu.js etc. entry it works but not with a popup?
Please please help if you can?
PS I've set the popupMode variable to 1 in the menu definition file.
A: The installation of your Popup menu is not correct.
If you have only one menu on your page you should write
<img src='images/note.gif' oncontextmenu='return dm_popup(0 ,2000 ,event );'>
You should also copy dmenu_popup.js file into the same folder withdmenu.js file.
More info you can find here:
Q: I used your trial version. In my application, I need one column of submenu to be displayed, all other columns should be closed.
A: You should adjust the following parameters, for example you should write so:
var transDuration=350; //Delay of a transitional effect (in ms) on submenu's showing.
var transDuration2=200; //Delay of a transitional effect (in ms) on submenu's hiding.
Q: I'm testing the trial version and I'm having a little problem with the state saving. Everytime it navigates to another page, it does not save the state, even with
In fact, it actually opens up a different menu other than the one I originally clicked.
A: See, if you open pages (with menus) from different folder it means that you open different menus. So, when you change a state, for example, of the first menu within "newzap/" folder and then open another page with the menu within "newzap/learn/", browsers looks for another cookie file and can't find it and the second menu stays in a default state.
Try to set different
for different menus.
That should work.
A: You can add a new button to print your page and call onClick event, soyou should write:
var menuItems = [
window.print();", icon1, icon2],
But if you want to hide the menu when your customers push "File/Print"you should write so:
You must create two functions, for example:
You should add this functions into your code.
And then you must write so:
window.onbeforeprint = myprint;
window.onafterprint = myprint2;