Page 1 of 1
Replace Multilangual dropdown meny with clickable images
Posted: Sat Jul 15, 2006 11:04 pm
by jojje
I want to replace the dropdown meny with the language choises with two flags of the available languages.
But what shall the code be in the link to get it right?
Posted: Mon Jul 17, 2006 10:36 am
by jojje
More questions,
can one set the plugin to hidden and place the images anywhere else on the page?
Posted: Mon Jul 17, 2006 10:38 am
by garvinhicking
Hi!
You can create your own HTML nugget plugin on the sidebar for that -- just look at the default HTML outpput of the language dropdown, and then copy+paste that to your nugget. There you can then make your changes and add graphics or whatever you like.
Best regards,
Garvin
Posted: Tue Jul 18, 2006 12:52 am
by jojje
I´m sry but I don´t get it how to get the default HTML output.
The form code for the dropdown looks like this:
Code: Select all
<form id="language_chooser" action="/paloma/index.php?/archives/5-Nutrition.html" method="post"><div><select style="font-size: 9px;" name="user_language" onchange="document.getElementById('language_chooser').submit();"><option value="en">English</option><option value="es" selected="selected">Spanish</option></select><input name="submit" value="¡Ir!" size="4" type="submit"></div></form>
Posted: Tue Jul 18, 2006 11:42 am
by garvinhicking
Hi!
Yes, that code you pasted is the HTML output, you could just use that for your custom HTML nugget sidebar!
Best regards,
Garvin