Paul Novitski wrote:
>>> From: Paul Novitski <[EMAIL PROTECTED]>
>>> Here's an example of one technique that I 
>>> produced using English & Japanese text:
>>> http://laurietobyedison.com/WOJwords.asp?lang=EN
>>>
>>> Every bilingual page on the site contains both 
>>> languages, with only one of them displayed at a time.
>>>
>>> In the absence of javascript, the 
>>> Japanese/English toggle requests the current 
>>> page from the server with the requested 
>>> language selected (by specifying it in the body class).
>>>
>>> With javascript enabled, the language toggle 
>>> simply switches the body class and the displayed language changes 
>>> immediately.
> 
> 
> At 3/5/2007 06:28 PM, Chris Chen wrote:
>> Could you elaborate a bit on what you mean by 
>> "switch body class" with a simple example?
> 
> 
> Hi Chris,
> 
> Here's one example of this technique.  Plug the 
> requested language into the body class:
> 
>          <body class="langEN">
> or
>          <body class="langES">

so for every language you have a seperate html file?

Erik
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to