Right To Left...

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dekel
Advanced
Advanced
Posts: 11
Joined: Sat Dec 27, 2003 8:43 pm

Right To Left...

Post by dekel »

my language is rtl... (hebrew)
when i put in the menu both hebrew+english i get the item as 'ltr' and not as 'rtl' although i have

Code: Select all

openstyle="rtl";
i use this:

Code: Select all

aI("text=ניסיון test;url=home.php;status=ניסיון test");
the 'test' show be after (in the left of) the hebrew word, but i get it at the beginning (in the right).

can i use it like this:

Code: Select all

aI("text=ניסיון test;url=home.php;status=ניסיון test;direction=rtl");
thanks :) Dekel
dekel
Advanced
Advanced
Posts: 11
Joined: Sat Dec 27, 2003 8:43 pm

i found a solution...

Post by dekel »

i change the code to:

Code: Select all

<div dir="rtl">
<script>
with(milonic=new menuname("0")){
aI("text=ניסיון test;url=home.php;status=ניסיון test"); 
}
</script>
</div>
this is the solution i've found...
anyway, please in the future add the "dir=rtl" to the aI();

thanks, Dekel
Post Reply