13 Languages for ur site

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    13 Languages for ur site

    Paste this script into the <head> section of any document you wish to place the drop down menu in.
    Code:
    <SCRIPT TYPE="text/javascript">
    <!--
    function dropdown(mySel)
    {
    var myWin, myVal;
    myVal = mySel.options[mySel.selectedIndex].value;
    if(myVal)
    {
    if(mySel.form.target)myWin = parent[mySel.form.target];
    else myWin = window;
    if (! myWin) return true;
    myWin.location = myVal;
    }
    return false;
    }
    //-->
    </SCRIPT>
    Copy and paste this into your favorite text editor (Example: Notepad), and use the replace function to place all instances of Example Web Page with your website address. Example: mywebsite.com OR mywebsite.co.cc WITHOUT http:// if your website is within a folder, example 404 - Not Found then use this symbol for the forward slash: %2F
    Code:
    <FORM METHOD=POST onSubmit="return dropdown(this.gourl)">
    <SELECT NAME="gourl">
    <OPTION VALUE="">Languages...
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Car&hl=en&ie=UTF-8">Arabic
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Czh-CN&hl=en&ie=UTF-8">Chinese (Simpified)
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Czh-CN&hl=en&ie=UTF-8">Chinese (Traditional)
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cnl&hl=en&ie=UTF-8">Dutch
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cfr&hl=en&ie=UTF-8">French
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cde&hl=en&ie=UTF-8">German
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cel&hl=en&ie=UTF-8">Greek
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cit&hl=en&ie=UTF-8">Italian
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cja&hl=en&ie=UTF-8">Japanese
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cko&hl=en&ie=UTF-8">Korean
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cpt&hl=en&ie=UTF-8">Portuguese
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Cru&hl=en&ie=UTF-8">Russian
    <OPTION VALUE="http://translate.google.com/translate?u=http%3A%2F%2Fwww.example.com&langpair=en%7Ces&hl=en&ie=UTF-8">Spanish
    </SELECT>
    <p><INPUT TYPE=SUBMIT VALUE=" Translate "></p>
    </FORM>
    
    <p align="right">Translation By Google</p>
Working...
X