CSDN博客

img llp1217

頁面特效實現代碼(推薦)

发表于2004/9/20 15:36:00  1217人阅读

<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(800,200);
Merlin.Show();
Merlin.Play("Explain");
Merlin.Play("Announce");
Merlin.Speak("哈哈,欢迎!欢迎!");
Merlin.Play("Gestureright");
Merlin.Play("Pleased");
Merlin.Speak("欢迎您光临“快樂編程”!!");
Merlin.Play("Pleased");
Merlin.Play("Pleased");
Merlin.Play("Pleased");
Merlin.Play("Idle1_1");
Merlin.Hide();
Merlin.MoveTo(800,400);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Speak("你是我的老朋友嗎");
Merlin.Play("Read");
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("乐于助人,喜欢讨论、研究");
Merlin.Play("Greet");
Merlin.Speak("还有点内向,哈哈");
Merlin.Play("Greet");
Merlin.Speak("我希望");
Merlin.Play("Greet");
Merlin.Speak("与大家共同学习。");
Merlin.Play("Greet");
Merlin.Speak("祝各位网友:");
Merlin.Play("Greet");
Merlin.Speak("心情愉快,");
Merlin.Play("Greet");
Merlin.Speak("再次欢迎继续光临我的Blog。谢谢!!!");
Merlin.Play("Greet");
Merlin.MoveTo(800,600);
Merlin.Play("Explain");
Merlin.Play("Idle1_1");
Merlin.Speak("我将随时陪伴在您身边...");
}
}
//-->
   </SCRIPT>
<SCRIPT>
<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(800,200);
Merlin.Show();
Merlin.Play("Explain");
Merlin.Play("Announce");
Merlin.Speak("哈哈,欢迎!欢迎!");
Merlin.Play("Gestureright");
Merlin.Play("Pleased");
Merlin.Speak("欢迎您光临“童心专栏”!!");
Merlin.Play("Pleased");
Merlin.Play("Pleased");
Merlin.Play("Pleased");
Merlin.Play("Idle1_1");
Merlin.Hide();
Merlin.MoveTo(800,400);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Speak("我是智慧老人——童心的代言人");
Merlin.Play("Read");
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("乐于助人,喜欢讨论、研究");
Merlin.Play("Greet");
Merlin.Speak("还有点内向,哈哈");
Merlin.Play("Greet");
Merlin.Speak("我希望");
Merlin.Play("Greet");
Merlin.Speak("与大家共同学习。");
Merlin.Play("Greet");
Merlin.Speak("祝各位网友:");
Merlin.Play("Greet");
Merlin.Speak("心情愉快,");
Merlin.Play("Greet");
Merlin.Speak("再次欢迎继续光临我的Blog。谢谢!!!");
Merlin.Play("Greet");
Merlin.MoveTo(800,600);
Merlin.Play("Explain");
Merlin.Play("Idle1_1");
Merlin.Speak("我将随时陪伴在您身边...");
}
}
//-->
   </SCRIPT>
<SCRIPT>
<!--
chplay()
-->
</SCRIPT>

0 0

相关博文

我的热门文章

img
取 消
img