一个很不错的主页效果。。你试试!!!

其它 专栏收录该内容
7 篇文章 0 订阅

<script> var MerlinID; var MerlinACS; yancey.Connected = true; MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS); Merlin = yancey.Characters.Character(MerlinID); Merlin.Show(); Merlin.MoveTo(window.screen.width/2-50,window.screen.height/2-50); Merlin.Play("Greet"); Merlin.Speak("欢迎来到http://yousoft.home.chinaren.com/"); Merlin.Play("Congratulate"); Merlin.Play("Write"); Merlin.Speak("呵呵......"); Merlin.Play("Suggest"); Merlin.MoveTo(window.screen.width,window.screen.height); Merlin.Hide(); function LoadLocalAgent(CharID, CharACS) { LoadReq = yancey.Characters.Load(CharID, CharACS); return(true); } function MerlinPlay(word) { Merlin.Show(); Merlin.Play("Suggest"); Merlin.Speak(word); Merlin.Hide(); } </script>

源代码如下:

<HTML><HEAD><TITLE>示范</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
</HEAD>
<BODY bgColor=#ffffff>
<p><OBJECT id=yancey style="LEFT: 0px; TOP: 0px"
classid=CLSID:F5BE8BD2-7DE6-11D0-91FE-00C04FD701A5 VIEWASTEXT>
</OBJECT>
<SCRIPT>
var MerlinID;
var MerlinACS;
yancey.Connected = true;
MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS);
Merlin = yancey.Characters.Character(MerlinID);
Merlin.Show();
Merlin.MoveTo(window.screen.width/2-50,window.screen.height/2-50);
Merlin.Play("Greet");
Merlin.Speak("欢迎来到http://yousoft.home.chinaren.com/");
Merlin.Play("Congratulate");
Merlin.Play("Write");
Merlin.Speak("呵呵......");
Merlin.Play("Suggest");
Merlin.MoveTo(window.screen.width,window.screen.height);
Merlin.Hide();
function LoadLocalAgent(CharID, CharACS) {
LoadReq = yancey.Characters.Load(CharID, CharACS);
return(true);
}
function MerlinPlay(word) {
Merlin.Show();
Merlin.Play("Suggest");
Merlin.Speak(word);
Merlin.Hide();
}
</SCRIPT>
</p></body></html>

 

  • 0
    点赞
  • 1
    评论
  • 0
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值