www.StarDict.org Register Sign in | Help 

How to use "Select and Translate" in other web page?
Bookmark the next link, or just drag it to your toolbar:
Notice: You are guest user, you'd better login first, so this link will contain your user info and you can use your custom dictionaries by it.

Then open any web page, and click the StarDict link on your toolbar.

How to add "Select and Translate" in your website?
Put these codes in your website:
<script src="http://www.stardict.cn/js/stardict.js" type="text/javascript"></script>
<script type="text/javascript">

You can add "dict_username" and "dict_md5passwd" into this script, so you can use custom dictionaries.
Enable translate opinion:
If you want to show a "Enable translate opinion" in your webpage, put these codes in suitable place:
<span id="dict_status"></span>
* If you want to disable "Select and Translate" by default, add dict_enable=false; before dictInit();

Provide Dictionary Lookup Service in your website.
Insert these codes in your web page:Preview:

<form method="post" target="_blank"
<input maxlength=256 size=21 name=q /><br>
<a href="http://www.stardict.cn" target="_blank">StarDict</a>
<input type="hidden" name="cs" value="UTF-8" />
<input type="submit" value="Look Up" />

* You may need to change "UTF-8" to the charset that you are using in your web page.