|
|
Line 4: |
Line 4: |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <title>无标题文档</title> | | <title>无标题文档</title> |
- | <style type="text/css">
| |
- | <!--
| |
- | #apDiv1 {
| |
- | position:absolute;
| |
- | width:200px;
| |
- | height:115px;
| |
- | z-index:1;
| |
- | left: 710px;
| |
- | top: 316px;
| |
- | }
| |
- | .STYLE1 {
| |
- | font-size: 50px
| |
- | }
| |
- | #apDiv2 {
| |
- | position:absolute;
| |
- | width:304px;
| |
- | height:230px;
| |
- | z-index:2;
| |
- | left: 460px;
| |
- | top: 150px;
| |
- | visibility: hidden;
| |
- | }
| |
- | #apDiv3 {
| |
- | position:absolute;
| |
- | width:200px;
| |
- | height:115px;
| |
- | z-index:3;
| |
- | left: 21px;
| |
- | top: 9px;
| |
- | }
| |
- | -->
| |
- | </style>
| |
| <script type="text/javascript"> | | <script type="text/javascript"> |
| <!-- | | <!-- |
Line 45: |
Line 13: |
| obj.visibility=v; } | | obj.visibility=v; } |
| } | | } |
- |
| |
- | function MM_timelinePlay(tmLnName, myID) { //v1.2
| |
- | //Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Macromedia, Inc. All rights reserved.
| |
- | var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
| |
- | if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
| |
- | tmLn = document.MM_Time[tmLnName];
| |
- | if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
| |
- | if (myID == tmLn.ID) { //if Im newest
| |
- | setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
| |
- | fNew = ++tmLn.curFrame;
| |
- | for (i=0; i<tmLn.length; i++) {
| |
- | sprite = tmLn[i];
| |
- | if (sprite.charAt(0) == 's') {
| |
- | if (sprite.obj) {
| |
- | numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
| |
- | if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
| |
- | keyFrm=1;
| |
- | for (j=0; j<sprite.values.length; j++) {
| |
- | props = sprite.values[j];
| |
- | if (numKeyFr != props.length) {
| |
- | if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
| |
- | else sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
| |
- | } else {
| |
- | while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
| |
- | if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
| |
- | if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
| |
- | else sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
| |
- | } } } } }
| |
- | } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
| |
- | if (fNew > tmLn.lastFrame) tmLn.ID = 0;
| |
- | } }
| |
- | }
| |
- |
| |
- | function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
| |
- | //Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Macromedia, Inc. All rights reserved.
| |
- | var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
| |
- | if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
| |
- | tmLn = document.MM_Time[tmLnName];
| |
- | if (numGotos != null)
| |
- | if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
| |
- | else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
| |
- | jmpFwd = (fNew > tmLn.curFrame);
| |
- | for (i = 0; i < tmLn.length; i++) {
| |
- | sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
| |
- | if (sprite.charAt(0) == "s") {
| |
- | numKeyFr = sprite.keyFrames.length;
| |
- | firstKeyFr = sprite.keyFrames[0];
| |
- | lastKeyFr = sprite.keyFrames[numKeyFr - 1];
| |
- | if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
| |
- | for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
| |
- | for (j=0; j<sprite.values.length; j++) {
| |
- | props = sprite.values[j];
| |
- | if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
| |
- | else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
| |
- | if (sprite.obj != null) {
| |
- | if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
| |
- | else sprite.obj[props.prop2][props.prop] = props[propNum];
| |
- | } }
| |
- | } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
| |
- | }
| |
- | tmLn.curFrame = fNew;
| |
- | if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
| |
- | }
| |
- |
| |
- | function MM_swapImgRestore() { //v3.0
| |
- | var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
| |
- | }
| |
- | function MM_preloadImages() { //v3.0
| |
- | var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
| |
- | var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
| |
- | if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
| |
- | }
| |
- |
| |
- | function MM_findObj(n, d) { //v4.01
| |
- | var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
| |
- | d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
| |
- | if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
| |
- | for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
| |
- | if(!x && d.getElementById) x=d.getElementById(n); return x;
| |
- | }
| |
- |
| |
- | function MM_swapImage() { //v3.0
| |
- | var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
| |
- | if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
| |
- | }
| |
- |
| |
| function MM_initTimelines() { //v4.0 | | function MM_initTimelines() { //v4.0 |
| //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved. | | //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved. |
Line 138: |
Line 20: |
| var macIE5 = (navigator.platform ? (navigator.platform == "MacPPC") : false) && (navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4); | | var macIE5 = (navigator.platform ? (navigator.platform == "MacPPC") : false) && (navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4); |
| document.MM_Time = new Array(1); | | document.MM_Time = new Array(1); |
- | document.MM_Time[0] = new Array(3); | + | document.MM_Time[0] = new Array(1); |
| document.MM_Time["Timeline1"] = document.MM_Time[0]; | | document.MM_Time["Timeline1"] = document.MM_Time[0]; |
| document.MM_Time[0].MM_Name = "Timeline1"; | | document.MM_Time[0].MM_Name = "Timeline1"; |
| document.MM_Time[0].fps = 15; | | document.MM_Time[0].fps = 15; |
- | document.MM_Time[0][0] = new String("sprite"); | + | document.MM_Time[0][0] = new String("behavior"); |
- | document.MM_Time[0][0].slot = 1; | + | document.MM_Time[0][0].frame = 46; |
- | if (ns4)
| + | document.MM_Time[0][0].value = "MM_timelineGoto('Timeline1','1')"; |
- | document.MM_Time[0][0].obj = document["apDiv1"];
| + | |
- | else if (ns5)
| + | |
- | document.MM_Time[0][0].obj = document.getElementById("apDiv1");
| + | |
- | else
| + | |
- | document.MM_Time[0][0].obj = document.all ? document.all["apDiv1"] : null;
| + | |
- | document.MM_Time[0][0].keyFrames = new Array(1, 15, 30);
| + | |
- | document.MM_Time[0][0].values = new Array(2);
| + | |
- | if (ns5 || macIE5)
| + | |
- | document.MM_Time[0][0].values[0] = new Array("101px", "122px", "143px", "163px", "184px", "205px", "226px", "247px", "268px", "289px", "310px", "331px", "352px", "373px", "395px", "416px", "436px", "457px", "478px", "499px", "520px", "541px", "562px", "583px", "604px", "625px", "646px", "668px", "689px", "710px");
| + | |
- | else
| + | |
- | document.MM_Time[0][0].values[0] = new Array(101,122,143,163,184,205,226,247,268,289,310,331,352,373,395,416,436,457,478,499,520,541,562,583,604,625,646,668,689,710);
| + | |
- | document.MM_Time[0][0].values[0].prop = "left";
| + | |
- | if (ns5 || macIE5)
| + | |
- | document.MM_Time[0][0].values[1] = new Array("306px", "306px", "307px", "307px", "307px", "308px", "308px", "309px", "309px", "309px", "310px", "310px", "310px", "311px", "311px", "311px", "312px", "312px", "312px", "313px", "313px", "313px", "314px", "314px", "314px", "315px", "315px", "315px", "316px", "316px");
| + | |
- | else
| + | |
- | document.MM_Time[0][0].values[1] = new Array(306,306,307,307,307,308,308,309,309,309,310,310,310,311,311,311,312,312,312,313,313,313,314,314,314,315,315,315,316,316);
| + | |
- | document.MM_Time[0][0].values[1].prop = "top";
| + | |
- | if (!ns4) {
| + | |
- | document.MM_Time[0][0].values[0].prop2 = "style";
| + | |
- | document.MM_Time[0][0].values[1].prop2 = "style";
| + | |
- | }
| + | |
- | document.MM_Time[0][1] = new String("sprite");
| + | |
- | document.MM_Time[0][1].slot = 1;
| + | |
- | if (ns4)
| + | |
- | document.MM_Time[0][1].obj = document["apDiv1"];
| + | |
- | else if (ns5)
| + | |
- | document.MM_Time[0][1].obj = document.getElementById("apDiv1");
| + | |
- | else
| + | |
- | document.MM_Time[0][1].obj = document.all ? document.all["apDiv1"] : null;
| + | |
- | document.MM_Time[0][1].keyFrames = new Array(31, 45);
| + | |
- | document.MM_Time[0][1].values = new Array(2);
| + | |
- | if (ns5 || macIE5)
| + | |
- | document.MM_Time[0][1].values[0] = new Array("710px", "667px", "623px", "580px", "537px", "493px", "450px", "406px", "363px", "320px", "276px", "233px", "190px", "146px", "103px");
| + | |
- | else
| + | |
- | document.MM_Time[0][1].values[0] = new Array(710,667,623,580,537,493,450,406,363,320,276,233,190,146,103);
| + | |
- | document.MM_Time[0][1].values[0].prop = "left";
| + | |
- | if (ns5 || macIE5)
| + | |
- | document.MM_Time[0][1].values[1] = new Array("316px", "316px", "315px", "315px", "315px", "314px", "314px", "314px", "313px", "313px", "312px", "312px", "312px", "311px", "311px");
| + | |
- | else
| + | |
- | document.MM_Time[0][1].values[1] = new Array(316,316,315,315,315,314,314,314,313,313,312,312,312,311,311);
| + | |
- | document.MM_Time[0][1].values[1].prop = "top";
| + | |
- | if (!ns4) {
| + | |
- | document.MM_Time[0][1].values[0].prop2 = "style";
| + | |
- | document.MM_Time[0][1].values[1].prop2 = "style";
| + | |
- | }
| + | |
- | document.MM_Time[0][2] = new String("behavior");
| + | |
- | document.MM_Time[0][2].frame = 46;
| + | |
- | document.MM_Time[0][2].value = "MM_timelineGoto('Timeline1','1')"; | + | |
| document.MM_Time[0].lastFrame = 46; | | document.MM_Time[0].lastFrame = 46; |
| for (i=0; i<document.MM_Time.length; i++) { | | for (i=0; i<document.MM_Time.length; i++) { |
Line 202: |
Line 36: |
| //--> | | //--> |
| </script> | | </script> |
| + | <style type="text/css"> |
| + | <!-- |
| + | #apDiv1 { |
| + | position:absolute; |
| + | width:516px; |
| + | height:125px; |
| + | z-index:1; |
| + | left: 226px; |
| + | top: 49px; |
| + | visibility: hidden; |
| + | } |
| + | --> |
| + | </style> |
| </head> | | </head> |
| | | |
- | <body onload="MM_timelinePlay('Timeline1');MM_preloadImages('NFLS1.jpg')"> | + | <body> |
- | <div class="STYLE1" id="apDiv1" style="left: 101px; top: 306px;" onmouseover="MM_showHideLayers('apDiv2','','show')" onmouseout="MM_showHideLayers('apDiv2','','hide')">View More</div> | + | <table width="740" border="1"> |
- | <div id="apDiv2"> | + | <tr> |
- | <p>Team Info</p>
| + | <td width="135">View More</td> |
- | <p>Contact Us</p>
| + | <td width="62">Our Info</td> |
- | <p>DataBase</p>
| + | <td width="72">Contact Us</td> |
- | <p> </p>
| + | <td width="36"> </td> |
- | </div> | + | <td width="60"> </td> |
- | <div id="apDiv3"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('3南外','','NFLS1.jpg',1)"><img src="NFLS2.jpg" name="3南外" width="216" height="211" border="0" id="3南外" /></a></div> | + | <td width="60"> </td> |
| + | <td width="60"> </td> |
| + | <td width="60"> </td> |
| + | <td width="60"> </td> |
| + | <td width="71"> </td> |
| + | </tr> |
| + | <tr> |
| + | <td><img src="NFLS2.jpg" width="135" height="120" onmouseover="MM_showHideLayers('apDiv1','','show')" onmouseout="MM_showHideLayers('apDiv1','','hide')" /></td> |
| + | <td valign="top"><p>Nanjing </p> |
| + | <p>Foreign </p> |
| + | <p>Language </p> |
| + | <p>School</p></td> |
| + | <td colspan="8"><div id="apDiv1"><img src="NFLS1.jpg" width="123" height="125" /></div></td> |
| + | </tr> |
| + | |
| + | <tr> |
| + | <td>让我成功吧!!!</td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | </tr> |
| + | <tr> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | </tr> |
| + | <tr> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | </tr> |
| + | <tr> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | </tr> |
| + | <tr> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | <td> </td> |
| + | </tr> |
| + | </table> |
| </body> | | </body> |
- |
| |
| </html> | | </html> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">