<!-- Begin Google Translator thingee -->
<form name="nav" width="90%">
<div>
<select name="SelectURL"onChange="document.location.href=document.nav.SelectURL.options[document.nav.SelectURL.selectedIndex].value">
<option value="http://google.com/translate?langpair=en%7Cen&u=http://www.yourwebsite.com/" selected>Translate this Page</option>
<option value="http://google.com/translate?langpair=en%7Ces&u=http://www.yourwebsite.com/">Spanish</option>
<option value="http://google.com/translate?langpair=en%7Cit&u=http://www.yourwebsite.com/">Italian</option>
<option value="http://google.com/translate?langpair=en%7Cfr&u=http://www.yourwebsite.com/">French</option>
<option value="http://google.com/translate?langpair=en%7Cpt&u=http://www.yourwebsite.com/">Portuguese</option>
<option value="http://google.com/translate?langpair=en%7Car&u=http://www.yourwebsite.com/">Arabic</option>
<option value="http://google.com/translate?langpair=en%7Cja&u=http://www.yourwebsite.com/">Japanese</option>
<option value="http://google.com/translate?langpair=en%7Cko&u=http://www.yourwebsite.com/">Korean</option>
</select>
</div>
</form>
<!-- End Google Translator thingee -->
But now that i think of it - BUYER BEWARE! unless you trust who's webpage you are on, you may not want to use the translator drop-down as it would be totally easy to load a different (EVIL, BAD, DEADLY) URL into an unsuspecting person's browser. Cheers!
No comments:
Post a Comment