英文阅读助手

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>英文阅读助手-Mzwuu.Com</title>
</head>

<body>
<script language="JavaScript" type="text/javascript">
function Read()
{
    try{(new ActiveXObject("SAPI.SpVoice")).Speak(document.getElementById("txtContent").value);}
    catch(e){}
}
</script>
<textarea name="txtContent" cols="50" rows="6" id="txtContent"></textarea>
<br />
<input name="btnRead" onclick="Read()" type="button" id="btnRead" value="开始阅读" />
</body>
</html>

将以上内容复制保存成"英文阅读助手.htm",然后双击打开,在文本框中输入一个单词或句子,点击阅读按钮,计算机就能把它读出来了。

评论: 0 | 引用: 0 | 查看次数: 4233
发表评论
登录后再发表评论!