Javascript and smarty Help Payment via paypal

Discussion in 'JavaScript' started by blue_angel, Dec 24, 2008.

  1. #1
    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 24, 2008 IP
  2. blue_angel

    blue_angel Well-Known Member

    Messages:
    1,174
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #2
    Job done thanks all for participate
     
    blue_angel, Dec 25, 2008 IP