Re: [WSG] Son of Suckerfish - right to left

2006-09-21 Thread Ido Dekkers

Andrew Cunningham wrote:

Dear Ido

If you want to mark up a whole page as RTL, you should put the dir 
attibute on the HTML element and not on the BODY element.


The W3C'S Internationalization Best Practices recommends adding 
dir=rtl to the html tag any time the overall document direction is 
right-to-left.



Thank you Andrew,

I'm so glad i joined this list - so much knowledge : -)

Ido


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Son of Suckerfish - right to left

2006-09-20 Thread Andrew Cunningham

Dear Ido

If you want to mark up a whole page as RTL, you should put the dir 
attibute on the HTML element and not on the BODY element.


The W3C'S Internationalization Best Practices recommends adding 
dir=rtl to the html tag any time the overall document direction is 
right-to-left.


Internet Explorer has been developed so that appltying the dir attribute 
to the HTMl or BODY elements has different effects on rendering and UI 
mirroring.


Accoring to microsoft documentation:
For html dir=rtl the following behavior can be expected:
* The OLE/COM ambient property of the document is set to 
AMBIENT_RIGHTTOLEFT.
• The document direction can be toggled through the document object 
model (DOM) (document.direction=ltr/rtl).
• An HTML Dialog will get the correct extended windows styles set so it 
displays as a RTL dialog on a Bidi enabled system.
• If the document has vertical scrollbars, they will be on the left side 
if dir=rtl.


If the dir=rtl attribute is placed on the BODY instead of the HTML 
element:
• The OLE/COM ambient property for the document will not reflect the 
direction on the BODY.
• The ability to toggle the document's direction will be lost, because 
the body's direction is explicitly set.
• Dialog window frames and captions will not reflect the direction of 
the BODY.
• Vertical scrollbars will be reflect the direction assigned to the 
body, not the document.


I suspect that putting the dir tagg on the BODY element will have 
implications for UI mirroring in a rnage of contexts.


Andrew



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***
begin:vcard
fn:Andrew Cunningham
n:Cunningham;Andrew
org:State Library of Victoria;Vicnet
adr:;;328 Swanston Street;Melbourne;VIC;3000;Australia
email;internet:[EMAIL PROTECTED]
title:Research and Development Coordinator
tel;work:+61-3-8664-7430
tel;fax:+61-3-9639-2175
tel;cell:0421-450-816
note;quoted-printable:Current projects:=0D=0A=
	=0D=0A=
	Open Road=E2=80=94http://www.openroad.net.au/=0D=0A=
	=0D=0A=
	MyLanguage=E2=80=94http://www.mylanguage.gov.au/=0D=0A=
	=0D=0A=
	WoVG Multilingual portal research project=E2=80=94http://www.mylanguage.v=
	ic.gov.au/
x-mozilla-html:FALSE
url:http://home.vicnet.net.au/~andrewc/
version:2.1
end:vcard




Re: [WSG] Son of Suckerfish - right to left

2006-09-19 Thread Ido

Ido,

The problem lies in the fact that Safari, Opera, and MSIE render  
right-to-left documents incompletely -- as only applying to text.  I  
encountered a similar problem with one of my sites.  The easiest  
solution, albeit a messy one, is to modify your JavaScript such that  
it positions the sublists absolutely, and to get the location where  
those sublists should be positioned from the top, left, width, and  
height attributes of the block elements surrounding the main menu links.


In short, use a menu library that positions sublists absolutely, not  
suckerfish, or modify suckerfish.  (If you position absolutely,  
remember to try your site out in at least MSIE, Firefox, Safari, and  
Opera.)


Perhaps someone else on this list knows more about those browsers'  
specific rendering engines...?


בהצלחה,
Ido Rosen

On Sep 19, 2006, at 5:37 PM, Ido dekkers wrote:


Hello

this is my first post to the list and i hope you can help.

i want to use the Son of Suckerfish menu on the sites i make.
when using it in regular sites (ltr) i have no problems.
but when i try to put dir=rtl in the body element - i design  
sites in Hebrew also - the mess starts.


if you can look at this link : http://test3.dekkers.net/sos.htm,  
i've commented the changes i made in the html and css codes, one on  
each.
i added dir=rtl in the body, and changed the float from left to  
right (in #nav li).


firefox and netscape - just do what i say and all works well, IE -  
well it's a mess and opera is not much better.


any help would be appriciated.

thank you

Ido
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Son of Suckerfish - right to left

2006-09-19 Thread Ido dekkers
sorry, never happen again.IdoOn 9/20/06, Jough [EMAIL PROTECTED] wrote:













Since this is your first post I will let
it slide, but please do not cross-post. Most of us on the WGS are also on
CSS-D and vice versa.






Hello

this is my first post to the list and i hope you can help.









***List Guidelines: 
http://webstandardsgroup.org/mail/guidelines.cfmUnsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]***



***List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfmUnsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfmHelp: [EMAIL PROTECTED]***