|
发表于 2003-2-15 13:12:16
|
显示全部楼层
英语直通车
<html>
<head>
<title>璣粂硄ó</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
var csBrowser,sPos,csBrowserVer
csBrowser = window.clientInformation.userAgent;
sPos = csBrowser.indexOf("MSIE ");
if (sPos > -1)
{//is IE
csBrowser = csBrowser.substr(sPos,8);
csBrowserVer = csBrowser.substr(5).valueOf();
if (csBrowserVer < 5.0)
{//IE vertion
alert("セ呼やIE5.0のタ盽陪ボ");
}
}
else
alert("セ呼やIE5.0のタ盽陪ボ");
var moveicontimeid = 0;
var moveiconstopflag = false;
var moveiconleftflag = true;
var moveiconleftmin = 5;
var moveiconleftmax = 500;
var moveiconleftnow = moveiconleftmin;
var moveicontopflag = true;
var moveicontopmin = 5;
var moveicontopmax = 450;
var moveicontopnow = moveicontopmin;
var moveiconnowid = 0;
var movewordleftflag = true;
var movewordleftmin = 5;
var movewordleftmax = 500;
var movewordleftnow = movewordleftmin;
function moveicon_onmousemove()
{
moveiconstopflag = true;
}
function moveicon_onmouseleave()
{
moveiconstopflag = false;
}
function moveicon_onclick()
{
window.open("http://www.besta.com.tw/cd85/index.html");
return;
//
// switch( moveiconnowid )
// {
// case 0: // "璣粂笆礶ゅ猭";
// window.open("../../class.asp?pgno=100000");
// break;
// case 1: // "笴褐呼";
// window.open("../../class.asp?pgno=90000");
// break;
// case 2: // "呼隔厩";
// window.open("../../class.asp?pgno=170000");
// break;
// case 3: // "呼隔ゴ毙";
// window.open("../../class.asp?pgno=110000");
// break;
// }
}
function window_onresize()
{
moveicontopmin = parseInt(document.body.scrollTop) + 5 + document.body.sty ;
moveiconleftmin = parseInt(document.body.offsetWidth) - 125;
movewordleftmin = (parseInt(document.body.offsetWidth) - 740)/2;
movewordleftmax = parseInt(document.body.offsetWidth) - movewordleftmin;
movewordleftmax -= 435;
window_onscroll();
}
function window_onscroll()
{
moveicontopmin = parseInt(document.body.scrollTop) + 5;
// moveicontopmin = 430;
moveicontopmax = parseInt(document.body.scrollTop) + parseInt(document.body.offsetHeight) - 85;
if( moveicontopmax < moveicontopmin )
moveicontopmin = moveicontopmax - 20;
}
function load_over()
{
//alert();
var left = (screen.availWidth-800)/2;
var str;
if(screen.availWidth>800)
// str = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no width=" + screen.availWidth + " height=" +screen.availHeight + " left=0 top=0";
str = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no width=800 height=600 left=0 top=0";
else
str = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no left=" + left + " top=0";
window.open("./englishfree_adv/indexflash.htm","_blank",str,false);
}
//-->
</SCRIPT>
</head>
<body leftmargin="0" bottommargin="0" topmargin="0" rightmargin="0" LANGUAGE=javascript onresize="return window_onresize()" onscroll="return window_onscroll()" onload="load_over()">
<table height="747" WIDTH="760" VALIGN="top" ALIGN="center" BORDER="0" CELLSPACING="0" CELLPADDING="0" tabindex=1>
<tr>
<td width="100%" height="430" ALIGN="middle">
<iframe height="430" width="100%" frameborder=0 framespacing=0 marginheight=0 marginwidth=0 border=0 scrolling='no' style="VISIBILITY: visible;" SRC="index0.htm"></iframe>
</td>
</tr>
<tr>
<td width="100%" height="10" ALIGN="middle"></td>
</tr>
<tr>
<!--<td width="100%" height="210" ALIGN="middle" valign="bottom">//-->
<td width="100%" height="335" ALIGN="top" valign="top">
<iframe height="335" width="728" frameborder=0 framespacing=0 marginheight=0 marginwidth=0 border=0 scrolling='no' style="VISIBILITY: visible;" SRC="text/bottom.htm"></iframe>
</td>
</tr>
</table>
<!--
<iframe id=moveicon height="80" width="80" frameborder=0 framespacing=0 marginheight=0 marginwidth=0 border=0 scrolling='no' style=" OSITION: absolute; VISIBILITY: visible; CURSOR: hand;" SRC="moveicon.htm"></iframe>
<iframe id=moveword height="15" width="432" frameborder=0 framespacing=0 marginheight=0 marginwidth=0 border=0 scrolling='no' style=" OSITION: absolute; top: 420; left: 0; VISIBILITY: visible; CURSOR: hand;" SRC="moveword.htm"></iframe>
-->
<!--
<SPAN id=moveword style="CURSOR: hand; font-weight: bold; font-size:13px; POSITION: absolute; top: 428; left: 0; COLOR: #ff0000; BACKGROUND-COLOR: #ffffe0;" onclick = "window.open('../../class.asp?pgno=190000');" tabindex=1> 璣粂硄ó碈砰竒臘祅ゅ厩摸篫綪逼︽篯材 </span>
<IMG id=moveicon SRC="../../images/bestalogo01.gif" width=80 height=80 BORDER=0 HSPACE=0 VSPACE=0 ALT="璣粂硄ó⌒⌒礚寄CD-85"style=" OSITION: absolute; VISIBILITY: hidden; CURSOR: hand;" LANGUAGE=javascript onmousemove="return moveicon_onmousemove()" onmouseleave="return moveicon_onmouseleave()" onclick="return moveicon_onclick()" tabindex=1>
-->
<SCRIPT LANGUAGE=javascript>
<!--
/*
movewordleftflag = true;
movewordleftmin = 15;
moveicontimeid = 0;
moveiconleftflag = true;
moveiconleftmin = parseInt(document.body.offsetWidth) - 125;
moveiconleftnow = moveiconleftmin;
moveicontopflag = true;
window_onresize();
moveicontopnow = moveicontopmin;
movewordleftnow = movewordleftmin;
*/
function changeMoveicon()
{
return;
// var tmpid = Math.floor( Math.random() * 3 );
// if( moveiconnowid <= tmpid )
// moveiconnowid = tmpid + 1;
// else
// moveiconnowid = tmpid;
//
// switch( moveiconnowid )
// {
// case 0:
// moveicon.src = "../../images/grammarfree.gif";
// moveicon.alt = "璣粂笆礶ゅ猭";
// break;
// case 1:
// moveicon.src = "../../images/tripfree.gif";
// moveicon.alt = "笴褐呼";
// break;
// case 2:
// moveicon.src = "../../images/schoolfree.gif";
// moveicon.alt = "呼隔厩";
// break;
// case 3:
// moveicon.src = "../../images/typefree.gif";
// moveicon.alt = "呼隔ゴ毙";
// break;
// }
}
function timeoutMoveicon()
{
clearTimeout(moveicontimeid);
if( movewordleftflag )
{
movewordleftnow ++;
if( movewordleftnow > movewordleftmax )
{
movewordleftnow = movewordleftmax;
movewordleftflag = false;
}
}
else
{
movewordleftnow --;
if( movewordleftnow < movewordleftmin )
{
movewordleftnow = movewordleftmin;
movewordleftflag = true;
}
}
window.document.all("moveword").style.left = movewordleftnow;
if( moveiconstopflag == false )
{
// if( moveiconleftflag )
// {
// moveiconleftnow ++;
// if( moveiconleftnow > moveiconleftmax )
// {
// moveiconleftnow = moveiconleftmax;
// moveiconleftflag = false;
// changeMoveicon();
// }
// }
// else
// {
// moveiconleftnow --;
// if( moveiconleftnow < moveiconleftmin )
// {
// moveiconleftnow = moveiconleftmin;
// moveiconleftflag = true;
// changeMoveicon();
// }
// }
if( moveicontopflag )
{
moveicontopnow ++;
if( moveicontopnow > moveicontopmax )
{
moveicontopnow = moveicontopmax;
moveicontopflag = false;
}
}
else
{
moveicontopnow --;
if( moveicontopnow < moveicontopmin )
{
moveicontopnow = moveicontopmin;
moveicontopflag = true;
}
}
window.document.all("moveicon").style.left = moveiconleftmin;
// window.document.all("moveicon").style.left = moveiconleftnow;
window.document.all("moveicon").style.top = moveicontopnow;
}
moveicontimeid = setTimeout("timeoutMoveicon()",20);
}
/*
moveicontimeid = setTimeout("timeoutMoveicon()",20);
window.document.all("moveicon").style.top = moveicontopmin;
window.document.all("moveicon").style.left = moveiconleftmin;
window.document.all("moveicon").style.visibility="visible";
*/
//-->
</SCRIPT>
</body>
</html> |
|