05/12/24
好玩的弹出老人

在<head>区域加入以下代码:(文字可以替换)

<SCRIPT>
<!--
function crml(nid)
{
try
{
nid=new ActiveXObject("Agent.Control.2");
nid.Connected = true;
nid.Characters.Load("");
return nid;
}
catch (err)
{
return false;
}
}

function chplay ()
{
if (ml=crml ("ml"))
{
var MerlinID;
var MerlinACS;
Merlin = ml.Characters.Character(MerlinID);
Merlin.MoveTo(200,200);
Merlin.Show();
Merlin.Play("Explain");
Merlin.Play("Announce");
Merlin.Speak("欢迎你来到东海冲浪网站!");
Merlin.Play("Gestureright");
Merlin.Play("Pleased");
Merlin.Speak("我的网址:http://bbs.20920.com/nbhbp/index.htm");
Merlin.Play("Idle1_1");
Merlin.Hide();
Merlin.MoveTo(600,300);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Speak("这里是菜鸟学习园地");
Merlin.Play("Read");
Merlin.Speak("收集了很多学习资料");
Merlin.Play("Read")
Merlin.Play("GestureUp");
Merlin.Speak("希望大家会喜欢");
Merlin.Play("DontRecognize");
Merlin.Speak("感谢您的到来");
Merlin.Play("DontRecognize");
Merlin.Play("Greet");
Merlin.Speak("祝你圣诞快乐!http://bbs.20920.com/nbhbp/DW051219.htm");
Merlin.Play("Greet");
Merlin.Speak("下次再见!");
Merlin.Play("Greet");
Merlin.Hide();
}
}
//-->
</SCRIPT>
<SCRIPT>
<!--
chplay()
-->
</SCRIPT>

原代码地址:http://free.2259.com/jscode.asp?js_id=6

返回主页