好东东给你,可用分给偶~~ 呵呵半年发了58个问题,其中还好多个是1分的放代码帖子,结帖率不算这个帖子的话是100%。还是要支持一下楼主的。我的分也不多,意思一下。现在解答问题不得可用分的制度有点……emu给lovingkiss捐献了1111可用分;lovingkiss收到了:999可用分 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 没有那么多问题,我漫天开价——你不可以就地还钱啊~~~~~真的要用——没钱偶还能不给啊~~~~~呵呵~~~~~~~~~~~~~~~刚刚有个朋友给了偶分——请在这里留下姓名啊,要不我不知道阿,谢谢~~~~————————————————————————功能一:默林的全部动作[要求:客户端安装Office,呵呵~~]<html><head><style>button{width:100;border:outset 2;}</style></head><body bgcolor=threedface scroll=auto><button onclick= Merlin.Play("RestPose") >复位<button onclick= Merlin.Stop() >停止<button onclick= Merlin.Play("Acknowledge") >点头<button onclick= Merlin.Play("Surprised") >惊讶<button onclick= Merlin.Play("GestureUp") >手势<button onclick= Merlin.Play("Pleased") >满足<button onclick= Merlin.Play("Alert") >警告<button onclick= Merlin.Play("Announce") >宣布<button onclick= Merlin.Play("Blink") >眨眼<button onclick= Merlin.Play("Confused") >困惑<button onclick= Merlin.Play("Congratulate") >恭喜1<button onclick= Merlin.Play("Congratulate_2") >恭喜2<button onclick= Merlin.Play("Decline") >拒绝<button onclick= Merlin.Play("DoMagic1") >变魔术1<button onclick= Merlin.Play("DoMagic2") >变魔术2<button onclick= Merlin.Play("DontRecognize") >没听清<button onclick= Merlin.Play("Explain") >说明<button onclick= Merlin.Play("GetAttention") >敲一下<button onclick= Merlin.Play("GetAttentionContinued") >不停敲<button onclick= Merlin.Play("GetAttentionReturn") >不敲了<button onclick= Merlin.Play("Greet") >问候<button onclick= Merlin.Play("Hearing_1") >听1<button onclick= Merlin.Play("Hearing_2") >听2<button onclick= Merlin.Play("Hearing_3") >听3<button onclick= Merlin.Play("Hearing_4") >听4<button onclick= Merlin.Play("Idle1_1") >1-1<button onclick= Merlin.Play("Idle1_2") >1-2<button onclick= Merlin.Play("Idle1_3") >1-3<button onclick= Merlin.Play("Idle1_4") >1-4<button onclick= Merlin.Play("Idle2_1") >2-1<button onclick= Merlin.Play("Idle2_2") >2-2<button onclick= Merlin.Play("Idle3_1") >3-1<button onclick= Merlin.Play("Idle3_2") >3-2<button onclick= Merlin.Play("LookDown") >俯视<button onclick= Merlin.Play("LookDownBlink") >俯视眨眼<button onclick= Merlin.Play("LookDownReturn") >俯视眨眼返回<button onclick= Merlin.Play("MoveUp") >上移<button onclick= Merlin.Play("MoveDown") >下移<button onclick= Merlin.Play("MoveLeft") >左移<button onclick= Merlin.Play("MoveRight") >右移<button onclick= Merlin.Play("Process") >熬汤<button onclick= Merlin.Play("Processing") >熬汤<button onclick= Merlin.Play("Read") >读<button onclick= Merlin.Play("ReadReturn") >不读了<button onclick= Merlin.Play("Reading") >正在读<button onclick= Merlin.Play("ReadContinued") >不停读<button onclick= Merlin.Play("Sad") >悲哀<button onclick= Merlin.Play("Search") >查找<button onclick= Merlin.Play("Searching") >正在查找<button onclick= Merlin.Play("StartListening") >听<button onclick= Merlin.Play("StopListening") >捂耳朵<button onclick= Merlin.Play("Suggest") >暗示<button onclick= Merlin.Play("Uncertain") >想飞<button onclick= Merlin.Play("Wave") >挥手<button onclick= Merlin.Play("Write") >写东西<button onclick= Merlin.Play("WriteContinued") >不停写<button onclick= Merlin.Play("WriteReturn") >不写了<button onclick= Merlin.Think("fly") >想<button onclick= doalert('something') >说<script>function doalert(text) {Merlin.Speak(text);}</script><Object ID=agent ClassID=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F></Object><script>var MerlinID;var MerlinACS;agent.Connected=true;MerlinLoaded=LoadLocalAgent(MerlinID,MerlinACS);Merlin=agent.Characters.Character(MerlinID);Merlin.Show();function LoadLocalAgent(CharID,CharACS){LoadReq=agent.Characters.Load(CharID,CharACS);return(true);}</script></body></html> <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>IP-like Input</title><style><!--div.IPDiv { background: #FFFFFF; width: 120; margin:0; font-family: Arial,Tahoma; font-size: 10pt; text-align: center; border-top: 2 ridge threedshadow; border-left: 2 ridge threedshadow; border-right: 2 inset threedhighlight; border-bottom: 2 inset threedhighlight }input.IPInput { width: 24; margin:0; font-family: Arial,Tahoma; font-size: 10pt; text-align: center; border-width: 0 }--></style></head><body bgcolor=threedface>像IP地址输入栏一样的文本框 <script> IPlikeInputStr = ""; IPlikeInputStr += '<div class="IPDiv">'; for (i=0;i<4;i++) { IPlikeInputStr += '<input class="IPInput" name="IPInput'+i+'" type="text" size="3" maxlength="3" onkeypress="keyHandle()" onkeyup="checkInput()">'+((i==3) ? '' : '.'); } IPlikeInputStr += '</div>'; document.write(IPlikeInputStr); function keyHandle() { if (event.keyCode<48||event.keyCode>57) { event.returnValue = false; } } function checkInput() { if (event.srcElement.name=="IPInput0") { if (event.srcElement.value==0&&event.srcElement.value.length==3) { event.srcElement.value="1"; alert("请输入一个界于1和223之间的数值"); event.srcElement.select(); } if (event.srcElement.value>223) { event.srcElement.value="223"; alert("请输入一个界于1和223之间的数值"); event.srcElement.select(); } } else { if (event.srcElement.value>255) { event.srcElement.value="255"; alert("请输入一个界于0和255之间的数值") event.srcElement.select(); } } } </script> </body> </html> 注明:以上两个为http://www.1000script.com/script/index.asp代码,欢迎大家去看以下为本人改动的技术:<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>打开光驱</title></head><SCRIPT language=VBScript><!--Set oWMP = CreateObject("WMPlayer.OCX.7" )Set colCDROMs = oWMP.cdromCollectionif colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdromEnd If--></SCRIPT><body></body></html>注明:需要客户端有MediaPlay7以上上面几个贴子只是玩的,没有太多实用价值~~ 呀, 这个办法好, 下次我再有什么好东东的时候, 我也可以这样换分了. (上次一次给了 emu 5000分, 没想到那以后不久CSDN就改革了, 可用分与专家分不同步了), 我上次发布日历3.0的那300分都是向别人化缘的, 不好意思. 哈哈你也有穷的时候。咱们建议csdn改下制度吧,回答问题得一半分数的可用分就好了。本来就是限制倒分而已嘛,现在倒分本来就很大程度上得到遏制了。 咋就emu一个人给偶分呢,郁闷~~ nhconch给lovingkiss捐献了1200可用分;lovingkiss收到了:1080可用分nhconch给meizz捐献了1200可用分;meizz收到了:1080可用分被收税了 :( IP控件修改了一点:支持键入.自动到下一个输入点。html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>IP-like Input</title><style><!--div.IPDiv { background: #FFFFFF; width: 120; margin:0; font-family: Arial,Tahoma; font-size: 10pt; text-align: center; border-top: 2 ridge threedshadow; border-left: 2 ridge threedshadow; border-right: 2 inset threedhighlight; border-bottom: 2 inset threedhighlight }input.IPInput { width: 24; margin:0; font-family: Arial,Tahoma; font-size: 10pt; text-align: center; border-width: 0 }--></style></head><body bgcolor=threedface>像IP地址输入栏一样的文本框 <script> IPlikeInputStr = ""; IPlikeInputStr += '<div class="IPDiv">'; for (i=0;i<4;i++) { IPlikeInputStr += '<input class="IPInput" id="IPInput'+i+'" type="text" size="3" maxlength="3" onkeypress="keyHandle(this)" onkeyup="checkInput()">'+((i==3) ? '' : '.'); } IPlikeInputStr += '</div>'; document.write(IPlikeInputStr); function keyHandle(v_input) { if(event.keyCode==46) { eval('IPInput'+((parseInt(v_input.id.substring(7))+1)%4)+'.focus()')} if (event.keyCode<48||event.keyCode>57) { event.returnValue = false; } } function checkInput() { if (event.srcElement.id=="IPInput0") { if (event.srcElement.value==0&&event.srcElement.value.length==3) { event.srcElement.value="1"; alert("请输入一个界于1和223之间的数值"); event.srcElement.select(); } if (event.srcElement.value>223) { event.srcElement.value="223"; alert("请输入一个界于1和223之间的数值"); event.srcElement.select(); } } else { if (event.srcElement.value>255) { event.srcElement.value="255"; alert("请输入一个界于0和255之间的数值") event.srcElement.select(); } } } </script> </body> </html> 再改一句if(event.keyCode==46) { eval('IPInput'+((parseInt(v_input.id.substring(7))+1)%4)+'.focus()') eval('IPInput'+((parseInt(v_input.id.substring(7))+1)%4)+'.select()') } 谢谢 lint(越来越懒)的更新~~ 求一个jquery弹出层 关于js的指定范围获取的一个小问题 求一段JS验证时间格式代码 js 字符串附值的问题 关于jQuery的正则表达式,求助 如何才能取到下面这个值 求助—如何去除弹出的3721和百度窗口! 问一个高难的问题,希望高手相助 谁能用javascript自己做一个滚动条? 加急!!!请帮帮小弟!在设计网页中如何建立一个超链打开WORD文档? JAVASCRIPT怎样在任意地方建一个文件夹 iframe中调用parent page的jscript variable 发生错误,请教解决方法
————————————————————————
功能一:默林的全部动作[要求:客户端安装Office,呵呵~~]
<html>
<head>
<style>button{width:100;border:outset 2;}</style>
</head>
<body bgcolor=threedface scroll=auto>
<button onclick= Merlin.Play("RestPose") >复位
<button onclick= Merlin.Stop() >停止
<button onclick= Merlin.Play("Acknowledge") >点头
<button onclick= Merlin.Play("Surprised") >惊讶
<button onclick= Merlin.Play("GestureUp") >手势
<button onclick= Merlin.Play("Pleased") >满足
<button onclick= Merlin.Play("Alert") >警告
<button onclick= Merlin.Play("Announce") >宣布
<button onclick= Merlin.Play("Blink") >眨眼
<button onclick= Merlin.Play("Confused") >困惑
<button onclick= Merlin.Play("Congratulate") >恭喜1
<button onclick= Merlin.Play("Congratulate_2") >恭喜2
<button onclick= Merlin.Play("Decline") >拒绝
<button onclick= Merlin.Play("DoMagic1") >变魔术1
<button onclick= Merlin.Play("DoMagic2") >变魔术2
<button onclick= Merlin.Play("DontRecognize") >没听清
<button onclick= Merlin.Play("Explain") >说明
<button onclick= Merlin.Play("GetAttention") >敲一下
<button onclick= Merlin.Play("GetAttentionContinued") >不停敲
<button onclick= Merlin.Play("GetAttentionReturn") >不敲了
<button onclick= Merlin.Play("Greet") >问候
<button onclick= Merlin.Play("Hearing_1") >听1
<button onclick= Merlin.Play("Hearing_2") >听2
<button onclick= Merlin.Play("Hearing_3") >听3
<button onclick= Merlin.Play("Hearing_4") >听4
<button onclick= Merlin.Play("Idle1_1") >1-1
<button onclick= Merlin.Play("Idle1_2") >1-2
<button onclick= Merlin.Play("Idle1_3") >1-3
<button onclick= Merlin.Play("Idle1_4") >1-4
<button onclick= Merlin.Play("Idle2_1") >2-1
<button onclick= Merlin.Play("Idle2_2") >2-2
<button onclick= Merlin.Play("Idle3_1") >3-1
<button onclick= Merlin.Play("Idle3_2") >3-2
<button onclick= Merlin.Play("LookDown") >俯视
<button onclick= Merlin.Play("LookDownBlink") >俯视眨眼
<button onclick= Merlin.Play("LookDownReturn") >俯视眨眼返回
<button onclick= Merlin.Play("MoveUp") >上移
<button onclick= Merlin.Play("MoveDown") >下移
<button onclick= Merlin.Play("MoveLeft") >左移
<button onclick= Merlin.Play("MoveRight") >右移
<button onclick= Merlin.Play("Process") >熬汤
<button onclick= Merlin.Play("Processing") >熬汤
<button onclick= Merlin.Play("Read") >读
<button onclick= Merlin.Play("ReadReturn") >不读了
<button onclick= Merlin.Play("Reading") >正在读
<button onclick= Merlin.Play("ReadContinued") >不停读
<button onclick= Merlin.Play("Sad") >悲哀
<button onclick= Merlin.Play("Search") >查找
<button onclick= Merlin.Play("Searching") >正在查找
<button onclick= Merlin.Play("StartListening") >听
<button onclick= Merlin.Play("StopListening") >捂耳朵
<button onclick= Merlin.Play("Suggest") >暗示
<button onclick= Merlin.Play("Uncertain") >想飞
<button onclick= Merlin.Play("Wave") >挥手
<button onclick= Merlin.Play("Write") >写东西
<button onclick= Merlin.Play("WriteContinued") >不停写
<button onclick= Merlin.Play("WriteReturn") >不写了
<button onclick= Merlin.Think("fly") >想
<button onclick= doalert('something') >说
<script>
function doalert(text) {
Merlin.Speak(text);
}
</script><Object ID=agent ClassID=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F></Object>
<script>
var MerlinID;
var MerlinACS;
agent.Connected=true;
MerlinLoaded=LoadLocalAgent(MerlinID,MerlinACS);
Merlin=agent.Characters.Character(MerlinID);
Merlin.Show();
function LoadLocalAgent(CharID,CharACS){
LoadReq=agent.Characters.Load(CharID,CharACS);
return(true);
}
</script>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>IP-like Input</title>
<style>
<!--
div.IPDiv { background: #FFFFFF; width: 120; margin:0; font-family: Arial,Tahoma; font-size: 10pt; text-align: center; border-top: 2 ridge threedshadow; border-left: 2 ridge threedshadow; border-right: 2 inset threedhighlight; border-bottom: 2 inset threedhighlight }
input.IPInput { width: 24; margin:0; font-family: Arial,Tahoma; font-size: 10pt; text-align: center; border-width: 0 }
-->
</style>
</head>
<body bgcolor=threedface>
像IP地址输入栏一样的文本框
<script>
IPlikeInputStr = "";
IPlikeInputStr += '<div class="IPDiv">';
for (i=0;i<4;i++) {
IPlikeInputStr += '<input class="IPInput" name="IPInput'+i+'" type="text" size="3" maxlength="3" onkeypress="keyHandle()" onkeyup="checkInput()">'+((i==3) ? '' : '.');
}
IPlikeInputStr += '</div>';
document.write(IPlikeInputStr);
function keyHandle() {
if (event.keyCode<48||event.keyCode>57) {
event.returnValue = false;
}
}
function checkInput() {
if (event.srcElement.name=="IPInput0") {
if (event.srcElement.value==0&&event.srcElement.value.length==3) {
event.srcElement.value="1";
alert("请输入一个界于1和223之间的数值");
event.srcElement.select();
}
if (event.srcElement.value>223) {
event.srcElement.value="223";
alert("请输入一个界于1和223之间的数值");
event.srcElement.select();
}
}
else {
if (event.srcElement.value>255) {
event.srcElement.value="255";
alert("请输入一个界于0和255之间的数值")
event.srcElement.select();
}
}
}
</script>
</body>
</html>
注明:以上两个为http://www.1000script.com/script/index.asp代码,欢迎大家去看
以下为本人改动的技术:<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>打开光驱</title>
</head>
<SCRIPT language=VBScript>
<!--
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollectionif colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If-->
</SCRIPT>
<body>
</body>
</html>注明:需要客户端有MediaPlay7以上上面几个贴子只是玩的,没有太多实用价值~~
咱们建议csdn改下制度吧,回答问题得一半分数的可用分就好了。本来就是限制倒分而已嘛,现在倒分本来就很大程度上得到遏制了。
nhconch给meizz捐献了1200可用分;meizz收到了:1080可用分被收税了 :(
html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>IP-like Input</title>
<style>
<!--
div.IPDiv { background: #FFFFFF; width: 120; margin:0; font-family: Arial,Tahoma; font-size: 10pt; text-align: center; border-top: 2 ridge threedshadow; border-left: 2 ridge threedshadow; border-right: 2 inset threedhighlight; border-bottom: 2 inset threedhighlight }
input.IPInput { width: 24; margin:0; font-family: Arial,Tahoma; font-size: 10pt; text-align: center; border-width: 0 }
-->
</style>
</head>
<body bgcolor=threedface>
像IP地址输入栏一样的文本框
<script>
IPlikeInputStr = "";
IPlikeInputStr += '<div class="IPDiv">';
for (i=0;i<4;i++) {
IPlikeInputStr += '<input class="IPInput" id="IPInput'+i+'" type="text" size="3" maxlength="3" onkeypress="keyHandle(this)" onkeyup="checkInput()">'+((i==3) ? '' : '.');
}
IPlikeInputStr += '</div>'; document.write(IPlikeInputStr);
function keyHandle(v_input) {
if(event.keyCode==46)
{
eval('IPInput'+((parseInt(v_input.id.substring(7))+1)%4)+'.focus()')
} if (event.keyCode<48||event.keyCode>57) {
event.returnValue = false;
}
}
function checkInput() {
if (event.srcElement.id=="IPInput0") {
if (event.srcElement.value==0&&event.srcElement.value.length==3) {
event.srcElement.value="1";
alert("请输入一个界于1和223之间的数值");
event.srcElement.select();
}
if (event.srcElement.value>223) {
event.srcElement.value="223";
alert("请输入一个界于1和223之间的数值");
event.srcElement.select();
}
}
else {
if (event.srcElement.value>255) {
event.srcElement.value="255";
alert("请输入一个界于0和255之间的数值")
event.srcElement.select();
}
}
}
</script>
</body>
</html>
if(event.keyCode==46)
{
eval('IPInput'+((parseInt(v_input.id.substring(7))+1)%4)+'.focus()')
eval('IPInput'+((parseInt(v_input.id.substring(7))+1)%4)+'.select()')
}