Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:37
! treated as subimage on rtl menu
Poster: rwwood
Dated: Saturday April 7 2007 - 5:10:32 BST
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
Poster: Ruth
Dated: Sunday April 8 2007 - 5:17:29 BST
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
Poster: rwwood
Dated: Thursday April 12 2007 - 0:08:43 BST
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
Poster: Ruth
Dated: Thursday April 12 2007 - 1:53:22 BST
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
RTL Punctuation
Poster: tomcraig
Dated: Thursday May 17 2007 - 17:21:09 BST
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.
Punctuation
Poster: tomcraig
Dated: Thursday May 17 2007 - 18:08:02 BST
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.