Hi All,

I'm using SwitchTheme plugin to switch between two sets of text stored
in the same tiddler. It works fine under Firefox. But in IE, I can
only switch language once.

I created two systemTheme tiddlers, which looked like

---------------------------------------------------------------------------------------------
/***
|StyleSheet|ViewHK|
***/
.Jpn {display:none;}
.eng {display:yes;}

[[StyleSheet]]
---------------------------------------------------------------------------------------------

and

---------------------------------------------------------------------------------------------
/***
|StyleSheet|ViewJpn|
***/
.Jpn {display:yes;}
.eng {display:none;}

[[StyleSheet]]
---------------------------------------------------------------------------------------------

A typical tiddler would be like:
---------------------------------------------------------------------------------------------
{{jpn{
Japanese text
}}{{eng{
English text
}}}
---------------------------------------------------------------------------------------------

In MainMenu, I put
---------------------------------------------------------------------------------------------
<<switchTheme "label:English" "prompt:View English version." ViewEng>>
<<switchTheme "label:Japanese" "prompt:View Japanese version.版"
ViewJpn>>}}}
---------------------------------------------------------------------------------------------

The in a tiddler called zzLoadOptions, I put
---------------------------------------------------------------------------------------------
config.options.txtTheme="ViewEng";
---------------------------------------------------------------------------------------------
to load English content by default.

In Firefox, I can switch between the languages for any number of
times. But in IE8, when I click View Japanese version, it works fine.
But when I click View English version again, nothing happens...

I used to get the same codes working in IE. But after adding and
deleting some tiddlers (content only, not plugins), the SwitchTheme
function becomes "dead" under IE.

Does anyone have any idea on this?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to