How do I set it so that they all 'feed' from the same dmenu.js file?
How do I set the file path to that file from all pages of my website?
A: 1) How do I set it so that they all 'feed' from the same dmenu.js file?
You should use absolute path here:
1. Paste the following code into a tag of your page:
<!-- (c) 2009, http://deluxe-menu.com -->
2. Paste the following code where you want to have the menu:
2) How do I set the file path to that file from all pages of my website?
If you don't want to create your menu on each page, you can try to useframes, the menu has a cross-frame mode.
Also you can use aserver-side script (php, asp, vb, etc.) to generate html pages fromtemplates on your server.
Q: May I use this menu in Arabic mode I mean in right to left mode?
If yes please let me know how?
The only issue is that submenus can be shown in incorrect positionwhen you're using dir=rtl for your page.
var dmRTL = 0;
Set this parameter to 1 if you're using right-to-left direction of html page <HTML dir=rtl>.
var smViewType = 2;
for right-to-left languages.
Please, see example:
This examples demonstrates how the menu can change a submenusdirection. Use var smViewType parameter to change a submenusdirection:
var smViewType = 0..3;
0 - from left to right;
1 - from left to right + upwards;
2 - from right to left;
3 - from right to left + upwards;
<script src="data.js" charset="utf-8"></script>
Unfortunately, you can't use arabic characters in Deluxe Tuner application.You should manually correct your code.
Q: I'm trying to shrink the vertical size of the sub-menu entries in my menu:
I think I've specified all the parameters correctly in data.js, but itТs hard to tell what affects the height of the submenu entries. Even reducing the type from 10pt to 8pt didnТt shrink them at all.
A: See, you set the following parameter:
var itemPadding = 7;
That is why you have such a big padding around the items.
If you don't want to change the appearance of the main items youshould create Individual Style for the subitems. For example:
var menuStyles = [
And assign this style for the first item in submenu.
If I move the menubar to the right about ten pixels, the submenu's left side will line up with the word "Search" as it should. Every other submenu on the dhtml div menu appears directly beneath its menubar item except for the very first one on the left. I’ve tried using a few of the example configurations but they all experience the same behavior.
The installation is in a multi-framed environment.
A: You should change dmenu.js file. Open it in any text editor and find:
Change it to: