May I use this drop down menu js in Arabic mode I mean in right to
Return to Recent Questions
Q:
May I use this menu in Arabic mode I mean in right to left mode?
If yes please let me know how?
A:
You're able to use any characters for Deluxe Menu in the same way as
you use them for standard html page.
The only issue is that submenus can be shown in incorrect position
when 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>.
Use also
var smViewType = 2;
for right-to-left languages.
Please, see example:
http://deluxe-menu.com/ways-showing-submenus-sample.html
This examples demonstrates how the menu can change a submenus
direction. Use var smViewType parameter to change a submenus
direction:
var smViewType = 0..3;
Values:
0 - from left to right;
1 - from left to right + upwards;
2 - from right to left;
3 - from right to left + upwards;
In Deluxe Menu when you call data .js file you can try to specify the encoding:
<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.
Return to Recent Questions
|