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 Swedish word would you like to multisearch? 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("http://images.google.se/search?q=" + q + "&tbm=isch&sout=1");
- window.open("http://lexin.nada.kth.se/lexin/#searchinfo=both,swe_swe," + q + ";");
- window.open("http://www.forvo.com/word/" + q + "/#sv");
- window.open("http://folkets-lexikon.csc.kth.se/folkets/folkets.en.html#lookup&" + q + "&0" );
- window.open("https://sv.wiktionary.org/wiki/" + q);
- document.getElementById("boxu").value = "";
- }
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement