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

    技术2022-05-11  100

    <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)