Web Design Forums - Debt Consolidation - Wordpress Themes - Travel news - Kamala

PDA

View Full Version : Javascript and smarty Help Payment via paypal


blue_angel
Dec 24th 2008, 11:58 am
I have the code which change language
how to change the code

<div class="langSwitcher">
<form id="langSwitcherForm">
[[Choose language]]
<select name="lang" onchange="document.getElementById('langSwitcherForm').submit()">
{foreach from=$GLOBALS.languages item=language}
<option value="{$language.id}"{if $language.id == $GLOBALS.current_language} selected{/if}>{$language.caption}</option>
{/foreach}
</select>
</form>
</div>

This produce a drop down menu and I want to have simple link to change instead of drop down menu to change with a link and the value (http://xx...)
I want to pass is "en" and the other is"ru"

send me the solution in pm payment via paypal :D

please they will pay ONLY THE FIRST WHO WORK THE CODE so pleace contact before send the code in case someone already have implemented :D

blue_angel
Dec 25th 2008, 7:19 am
Job done thanks all for participate