i’m trying to get the following example set up on my computer:
http://deluxe-menu.com/popup-mode-sample.html
I’ve right clicked for the source code, copied the HTML into a file on my local computer and have saved the 5 javascript files (dmenu,data,add,data-popup-mode,data-popup-mode2).js into the same folder.
I have also swapped their image for one of my own which is located in the same directory.
When i right click my image it says
Error: dm_popup is not defined
However, i cannot seem to find where this has been declared. Can someone please help?
EDIT: I’ve also copied over the css files
You also need the
dmenu_popup.jsfile, that function you need is included inside. It seems to be loaded bydmenu.js, that explains why you haven’t seen it.