da giudax » mar ott 19, 2004 15:54
vorrei creare un´icona che mi esegua questo script e quindi devo creare un esequibile ma non so assolutamente niente di java e chiedevo se qualcuno potrebbe crearmelo o illustrarmi il modo per farlo (grazie anticipatamente!)
<br>
<br><a href="J A V A S C R I P T:qr=document.getselection();if(!qr){void(qr=prompt(´translate to italian:´,´´))};if(qr)location.href=´http://wordreference.com/it/translation.asp?enit=´+escape(qr)">→italiano</a>
<br>
<br>
<br>
<br>è una parte di un codice html, la pagine è
<br>
<br>
<br>
<br><html>
<br>
<br><head>
<br><meta http-equiv="content-type" content="text/html; charset=windows-1252">
<br><meta http-equiv="content-language" content="en-us">
<br><title>wordreference.com netscape install</title>
<br></head>
<br>
<br><body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" bgcolor="#ffffff" >
<br>
<br>
<br> <a href="J A V A S C R I P T:qr=document.getselection();if(!qr){void(qr=prompt(´translate to italian:´,´´))};if(qr)location.href=´http://wordreference.com/it/translation.asp?enit=´+escape(qr)">→italiano</a>
<br><br><br>
<br>
<br> <a href="J A V A S C R I P T:qr=document.getselection();if(!qr){void(qr=prompt(´translate to english:´,´´))};if(qr)location.href=´http://wordreference.com/it/en/translation.asp?iten=´+escape(qr)">→inglese</a>
<br>
<br> </p>
<br> </blockquote>
<br> <p> </p>
<br></td>
<br></tr>
<br></table>
<br></body>
<br></html><br>