Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- </head>
- <body style="background-color:grey">
- <p>What Spanish word would you like to multisearch Anne? Type below, then press enter please.</p>
- <input type="text" id="boxu" autofocus>
- <script>
- document.getElementById("boxu").onkeydown = function(e) {searchy(e)};
- function searchy(e)
- {
- if (e.which == 13)
- {
- var q = document.getElementById("boxu").value;
- window.open("https://es.wiktionary.org/wiki/" + q );
- window.open("http://www.spanishdict.com/examples/" + q);
- window.open("http://www.forvo.com/word/" + q + "/#es");
- window.open("http://www.google.com/search?tbm=isch&q=" + q + "&gws_rd=ssl");
- document.getElementById("boxu").value = "";
- }
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement