楼 主
网络小霸王词典要出世
发表于 2007-06-23 17:09 · 中国 湖北 武汉 电信
中级用户
★★
积分 301
发帖 135
注册 2007-05-15 16:49
19年会员
UID 88615
性别 男
状态 离线
在网上找了那么多网上词典,我觉得
http://bj.dict.cn/ 不错,大家可以参考
http://bj.dict.cn/tools.html,不过速度没有
http://dict.baidu.com/快,但是比dict.baidu更适合我。
谁能以这个(
http://dict.cn/mini.php?q=查询的词——网页小,所以加载快)网页为基础,写个代码用,大家帮我写写吧
1 简单dos版:
@echo off & @color f0
set a=
set/p a=请输入要查询的词---
start
http://dict.cn/mini.php?q=%a%
2 谁能写个hat版的啊,比如利用textarea里输入个单词后,写如网页,用划词翻译功能,自动弹出小窗口,参考
http://bj.dict.cn/tools.html,好像要加入代码
<script src="http://dict.cn/hc/" type="text/javascript"></script>
<script type="text/javascript">
dictInit();
</script>
3 谁能通过改下面注册表的值,加入IE菜单后,选种单词后,点击可出现划词翻译功能效果
HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\MenuExt\Dict.CN
[
Last edited by wert123 on 2007-6-23 at 06:19 PM ]
第 2 楼
发表于 2007-06-23 18:03 · 中国 陕西 西安 电信
铂金会员
★★★★
积分 5,212
发帖 2,478
注册 2007-02-08 23:39
19年会员
UID 79003
性别 男
状态 离线
第 3 楼
发表于 2007-06-23 18:05 · 中国 广西 玉林 博白县 电信
金牌会员
★★★★
积分 3,687
发帖 1,467
注册 2005-08-08 12:00
20年会员
UID 44210
状态 离线
保存为hta文件
<html>
<title>Dict.cn 海词 - zh159@bbs.cn-dos.net</title>
<HTA:APPLICATION
ID="MyhyliApp"
APPLICATIONNAME="Dict.cn 海词"
BORDER="thin"
BORDERSTYLE=""
VERSION="1.0"
SCROLL="no"
INNERBORDER="no"
CONTEXTMENU="yes"
CAPTION="yes"
MAXIMIZEBUTTON="no"
MINIMIZEBUTTON="yes"
SHOWINTASKBAR="yes"
SINGLEINSTANCE="yes"
SYSMENU="yes"
WINDOWSTATE="normal"
NAVIGABLE="yes"
/>
</head>
<script src="http://dict.cn/hc/" type="text/javascript"></script>
<script language="VBScript">
width=400
height=400
window.resizeTo width, height
ileft=(window.screen.width-width)/2
itop=(window.screen.height-height)/2
window.moveTo ileft,itop
</script>
<style>
input {font: 15px 宋体; width:150; height:50; border:1px solid royalblue;}
</style>
<body style="FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#10bfff,endColorStr=#007db2);">
<table style="font: 15px 宋体;">
<tr align="center">
<td><input type="text" value="输入"></td>
</tr>
<tr align="center">
<td>输入完毕后双击输入框右下角选中全部即可</td>
</tr>
</table>
</body>
<script type="text/javascript">
dictInit();
</script>
<html>

第 4 楼
发表于 2007-06-23 18:11 · 中国 陕西 西安 电信
铂金会员
★★★★
积分 5,212
发帖 2,478
注册 2007-02-08 23:39
19年会员
UID 79003
性别 男
状态 离线
<script src="http://dict.cn/hc/" type="text/javascript"></script>
<script type="text/javascript">
dictInit();
</script>
<body>
<textarea name=input_area id=input_area></textarea>
</body>
这样就够了,上面好长……
第 5 楼
发表于 2007-06-23 18:13 · 中国 广西 玉林 博白县 电信
金牌会员
★★★★
积分 3,687
发帖 1,467
注册 2005-08-08 12:00
20年会员
UID 44210
状态 离线
第 6 楼
发表于 2007-06-24 20:32 · 中国 湖北 武汉 电信
中级用户
★★
积分 301
发帖 135
注册 2007-05-15 16:49
19年会员
UID 88615
性别 男
状态 离线
谢谢啊
slore大师
zh159大师
给你们敬礼了
论坛跳转: