! treated as subimage on rtl menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
rwwood
Beginner
Beginner
Posts: 5
Joined: Fri Apr 06, 2007 3:00 am

! treated as subimage on rtl menu

Post by rwwood »

I have a menu that has an item with an exclamation point in the text. The menu opens from rtl, and the ! is put at the beginning of the text string rather than at the end. Of course the easy solution is to remove the ! from the menu item, but I wondered if anyone were aware of this bug.

Thanks.
rww
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

It's not a bug, actually, openstyle='rtl'; is for use with languages that run right to left, i.e. languages where the sentence ending is at the left, therefore the punctuation would be at the left, periods, commas etc. Given you don't want the punctuation on the left, I would guess you're using the rtl for layout design. That is just fine, many do that :) But, if you're using punctuation you need to place it at the left to begin, it will then go to the right by use of the openstyle='rtl';

Hope this helps.

Ruth
rwwood
Beginner
Beginner
Posts: 5
Joined: Fri Apr 06, 2007 3:00 am

Post by rwwood »

Well, this isn't really a solution since the menu is dynamically populated by php from a database and the menu item also shows up elsewhere as part of an article title.

Seems like using the menu on the right edge of a layout opening to the left would be a fairly common occurence. Could a future release include a config option for right to left language (hebrew) rather than just right to left opening of the menu?

Thanks
rww
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

The openstyle='rtl'; is the option for languages such as Hebrew which is why the exclamation point is appearing at the left side, i.e. what is considered the end of the sentence punctuation. If you're looking for a design option for opening the submenu having its right side line up with the parent item's left side, I can suggest it to Milonic, but you might wish to contact them yourself with the suggestion.

Can you provide me with the page, perhaps I can figure another solution, but I would need to see the page and the menu. For example, you could use the left="offset=-whatever pixels"; as a position for the submenus, but that would depend on the actual menu, it's design, the way it is on the page and so on.

Ruth
tomcraig
Advanced
Advanced
Posts: 12
Joined: Fri Jan 05, 2007 7:24 pm

RTL Punctuation

Post by tomcraig »

I have to agree that the menu builder (user) should control the punctuation placement themselves in the menu data file, and the rtl should not change that. RTL's purpose should simply be to reverse the flow of the submenus. An English site may need to use rtl for a right aligned vertical menu bar, but wouldn't want their exlcamation points aligned to the left.

I have to humbly agree that it is or at least should be considered a bug.
tomcraig
Advanced
Advanced
Posts: 12
Joined: Fri Jan 05, 2007 7:24 pm

Punctuation

Post by tomcraig »

I may be wrong on this. I had an openstyle="rtl" in my main menu settings which reversed the alignment of images and punctuation on the main menu, but it doesn't look like that was necessary.

I now only have openstyle="rtl" stated for each submenu, and they open as they should even from the main menu, and all punctuation is correct.

So, it's placing the openstyle on the main menu that caused the strange behavior and wasn't necessary.

Nevermind, I guess. :)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Thanks for the information. One more bit of knowledge to help other users :)

Ruth
Post Reply