---------------------------
To achieve the above effect, copy paste the following code into your blog's Html. Done.
<form>
Word Lookup:
<input id="words_lookup" type="text" />
<button type="button" onclick="var uri = 'http://www.merriam-webster.com/dictionary/'+document.getElementById('words_lookup').value; window.open(uri);">Search</button>
</form>
---------------------------
ps:
'http://www.merriam-webster.com/dictionary/' is the webster online dictionary, you can change it to your favorite online dictionary such as 'http://www.answers.com/'.
Blogger.com seems disabled <script> tag in the post, so I hacked this with inline javascript.
No comments:
Post a Comment