I've tried selecting "both" in the GTranslate admin panel but it is giving me a dropdown list (in English) with no flags.
If I select "flags" I do not get any text.
So.... I've tried to write some code to accomplish what I want. I get a nice vertical list (which is what I want) but I can't get the flags to appear (even though if I move my mouse to the left it senses an object).
I've also tried putting GTranslate into a table, with one flag per row. Still no luck. I assume that this is because I'm screwing up the jscript when I try to combine it with HTML.
Any advice?
Thanks.
(Sample of non-working code below):
- Code: Select all
<a href="javascript:doTranslate('en|en')" title="English" class="flag" style="background-position:-0px -0px;"><img src="/modules/mod_gtranslate/tmpl/lang/blank.png" height="24" width="24" alt="English" />English</a><br/> <a href="javascript:doTranslate('en|af')" title="Afrikaans" class="flag"><img src="/modules/mod_gtranslate/tmpl/lang/blank.png" height="24" width="24" alt="Afrikaans" /> Afrikaans </a><br/> <a href="javascript:doTranslate('en|sq')" title="Albanian" class="flag" ><img src="/modules/mod_gtranslate/tmpl/lang/blank.png" height="24" width="24" alt="Albanian" /> Shqiptar</a><br/> <a href="javascript:doTranslate('en|ar')" title="Arabic" class="flag" ><img src="/modules/mod_gtranslate/tmpl/lang/blank.png" height="24" width="24" alt="Arabic" /> العربية </a><br/> <a href="javascript:doTranslate('en|hy')" title="Armenian" class="flag" ><img src="/modules/mod_gtranslate/tmpl/lang/blank.png" height="24" width="24" alt="Armenian" /> Հայերեն </a>