ruler1
MIS
- Feb 19, 2007
- 89
Hi, i have aquired some useful code that i'd love to have added to my webpage however it will only show as links seperated by ' - ' i was wondering if anyone would know how i could change it so that it would appear in a dropdown menu instead? the code is below:
i'd be greatful for any tips, thank you
Code:
<p style="text-align: center;" class="nav">
<!– Add English to Chinese (Simplified) BETA –>
<a target="_blank" rel="nofollow" style="cursor:pointer; cursor:hand;" onclick="window.open('[URL unfurl="true"]http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Czh-CN&hl=en&ie=UTF8');[/URL] return false;" title="Google-Translate-Chinese (Simplified) BETA">Chinese</a>
<!– END English to Chinese (Simplified) BETA–>
-
<!– Add English to French –>
<a target="_blank" rel="nofollow" style="cursor:pointer; cursor:hand;" onclick="window.open('[URL unfurl="true"]http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cfr&hl=en&ie=UTF8');[/URL] return false;" title="Google-Translate-English to French ">French</a>
<!– END English to French –>
-
<!– Add English to German –>
<a target="_blank" rel="nofollow" style="cursor:pointer; cursor:hand;" onclick="window.open('[URL unfurl="true"]http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cde&hl=en&ie=UTF8');[/URL] return false;" title="Google-Translate-English to German">German</a>
<!– END English to German –>
-
<!– Add English to Italian –>
<a target="_blank" rel="nofollow" style="cursor:pointer; cursor:hand;" onclick="window.open('[URL unfurl="true"]http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cit&hl=en&ie=UTF8');[/URL] return false;" title="Google-Translate-English to Italian">Italian</a>
<!– END English to Italian –>
-
<!– Add English to Japanese BETA –>
<a target="_blank" rel="nofollow" style="cursor:pointer; cursor:hand;" onclick="window.open('[URL unfurl="true"]http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cja&hl=en&ie=UTF8');[/URL] return false;" title="Google-Translate-English to Japanese BETA">Japanese</a>
<!– END English to Japanese BETA –>
-
<!– Add English to Korean BETA –>
<a target="_blank" rel="nofollow" style="cursor:pointer; cursor:hand;" onclick="window.open('[URL unfurl="true"]http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cko&hl=en&ie=UTF8');[/URL] return false;" title="Google-Translate-English to Korean BETA">Korean</a>
<!– END English to Korean BETA –>
-
<!– Add English to Russian BETA –>
<a target="_blank" rel="nofollow" style="cursor:pointer; cursor:hand;" onclick="window.open('[URL unfurl="true"]http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cru&hl=en&ie=UTF8');[/URL] return false;" title="Google-Translate-English to Russian BETA ">Russian</a>
<!– END English to Russian BETA –>
-
<!– Add English to Spanish –>
<a target="_blank" rel="nofollow" style="cursor:pointer; cursor:hand;" onclick="window.open('[URL unfurl="true"]http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Ces&hl=en&ie=UTF8');[/URL] return false;" title="Google-Translate-English to Spanish ">Spanish</a>
<!– END English to Spanish –>
</p>
i'd be greatful for any tips, thank you