WEB开发网
开发学院网页设计JavaScript 一个很不错的主页效果。。你试试!!! 阅读

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

 2007-11-27 17:54:56 来源:WEB开发网   
核心提示:源代码如下:<HTML><HEAD><TITLE>示范</TITLE><META http-equiv=Content-Type content=text/html; charset=gb2312></HEAD><BODY bgColor=#

源代码如下:

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

Tags:一个 不错 主页

编辑录入:coldstar [复制链接] [打 印]
赞助商链接