home *** CD-ROM | disk | FTP | other *** search
/ Photo Explosion 2.5 (Special Edition) / NovaDevelopment-PhotoExplosionSE-v2.5-Windows.iso / Data / Data1.cab / _B5E18A17C00F48788AA532AC221DDCCB < prev    next >
Encoding:
Text File  |  2005-12-12  |  10.2 KB  |  174 lines

  1. <html>
  2. <head>
  3. <title>My Senior Prom</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <script language="JavaScript">
  6. <!--
  7. <!--
  8. function MM_preloadImages() { //v2.0
  9.   if (document.images) {
  10.     var imgFiles = MM_preloadImages.arguments;
  11.     if (document.preloadArray==null) document.preloadArray = new Array();
  12.     var i = document.preloadArray.length;
  13.     with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
  14.       preloadArray[i] = new Image;
  15.       preloadArray[i++].src = imgFiles[j];
  16.   } }
  17. }
  18.  
  19. function MM_swapImgRestore() { //v2.0
  20.   if (document.MM_swapImgData != null)
  21.     for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
  22.       document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
  23. }
  24.  
  25. function MM_swapImage() { //v2.0
  26.   var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  27.   for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
  28.     objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
  29.     if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
  30.         (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
  31.       objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
  32.     obj = eval(objStr);
  33.     if (obj != null) {
  34.       swapArray[j++] = obj;
  35.       swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
  36.       obj.src = MM_swapImage.arguments[i+2];
  37.   } }
  38.   document.MM_swapImgData = swapArray; //used for restore
  39. }
  40.  
  41. function MM_showHideLayers() { //v2.0
  42.   var i, visStr, args, theObj;
  43.   args = MM_showHideLayers.arguments;
  44.   for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
  45.     visStr   = args[i+2];
  46.     if (navigator.appName == 'Netscape' && document.layers != null) {
  47.       theObj = eval(args[i]);
  48.       if (theObj) theObj.visibility = visStr;
  49.     } else if (document.all != null) { //IE
  50.       if (visStr == 'show') visStr = 'visible'; //convert vals
  51.       if (visStr == 'hide') visStr = 'hidden';
  52.       theObj = eval(args[i+1]);
  53.       if (theObj) theObj.style.visibility = visStr;
  54.   } }
  55. }
  56.  
  57. function MM_timelinePlay(tmLnName, myID) { //v1.2
  58.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  59.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  60.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  61.   tmLn = document.MM_Time[tmLnName];
  62.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  63.   if (myID == tmLn.ID) { //if Im newest
  64.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  65.     fNew = ++tmLn.curFrame;
  66.     for (i=0; i<tmLn.length; i++) {
  67.       sprite = tmLn[i];
  68.       if (sprite.charAt(0) == 's') {
  69.         if (sprite.obj) {
  70.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  71.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  72.             keyFrm=1;
  73.             for (j=0; j<sprite.values.length; j++) {
  74.               props = sprite.values[j]; 
  75.               if (numKeyFr != props.length) {
  76.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  77.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  78.               } else {
  79.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  80.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  81.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  82.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  83.         } } } } }
  84.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  85.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  86.   } }
  87. }
  88.  
  89. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  90.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  91.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  92.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  93.   tmLn = document.MM_Time[tmLnName];
  94.   if (numGotos != null)
  95.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  96.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  97.   jmpFwd = (fNew > tmLn.curFrame);
  98.   for (i = 0; i < tmLn.length; i++) {
  99.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  100.     if (sprite.charAt(0) == "s") {
  101.       numKeyFr = sprite.keyFrames.length;
  102.       firstKeyFr = sprite.keyFrames[0];
  103.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  104.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  105.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  106.       for (j=0; j<sprite.values.length; j++) {
  107.         props = sprite.values[j];
  108.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  109.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  110.         if (sprite.obj != null) {
  111.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  112.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  113.       } }
  114.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  115.   }
  116.   tmLn.curFrame = fNew;
  117.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  118. }
  119.  
  120.  
  121. //-->
  122.  
  123. function MM_initTimelines() {
  124.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  125.     var ns = navigator.appName == "Netscape";
  126.     document.MM_Time = new Array(1);
  127.     document.MM_Time[0] = new Array(3);
  128.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  129.     document.MM_Time[0].MM_Name = "Timeline1";
  130.     document.MM_Time[0].fps = 15;
  131.     document.MM_Time[0][0] = new String("behavior");
  132.     document.MM_Time[0][0].frame = 1;
  133.     document.MM_Time[0][0].value = "MM_showHideLayers('document.layers[\\\'Layer1\\\']','document.all[\\\'Layer1\\\']','show','document.layers[\\\'Layer2\\\']','document.all[\\\'Layer2\\\']','hide')";
  134.     document.MM_Time[0][1] = new String("behavior");
  135.     document.MM_Time[0][1].frame = 4;
  136.     document.MM_Time[0][1].value = "MM_showHideLayers('document.layers[\\\'Layer1\\\']','document.all[\\\'Layer1\\\']','hide','document.layers[\\\'Layer2\\\']','document.all[\\\'Layer2\\\']','show')";
  137.     document.MM_Time[0][2] = new String("behavior");
  138.     document.MM_Time[0][2].frame = 7;
  139.     document.MM_Time[0][2].value = "MM_timelineGoto('Timeline1','1')";
  140.     document.MM_Time[0].lastFrame = 7;
  141.     for (i=0; i<document.MM_Time.length; i++) {
  142.         document.MM_Time[i].ID = null;
  143.         document.MM_Time[i].curFrame = 0;
  144.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  145.     }
  146. }
  147. //-->
  148. </script>
  149. <style type="text/css">
  150. <!--
  151. .Fixed02 {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 7pt; font-style: italic; color: #FFFF99}
  152. -->
  153. </style></head>
  154.  
  155. <body bgcolor="#000000" onLoad="MM_preloadImages('../image/pre2.jpg','#924705405400');MM_preloadImages('../image/home2.jpg','#924705420500');MM_preloadImages('../image/next2.jpg','#924705431930');MM_timelinePlay('Timeline1')" link="#FFFF99" vlink="#FFFF99" alink="#FFFF99">
  156. <div id="Layer1" style="position:absolute; left:44px; top:16px; width:547px; height:282px; z-index:1; visibility: hidden"><img src="../image/prom1-bg1-s.jpg" width="660" height="387"></div>
  157. <div id="Layer3" style="position:absolute; left:511px; top:52px; width:100px; height:189px; z-index:9"><img src="../image/dancer1.gif" width="159" height="315"></div>
  158. <div id="Layer4" style="position:absolute; left:348px; top:64px; width:27px; height:27px; z-index:10"><img src="../image/dancer3.gif" width="110" height="216"></div>
  159. <div id="Layer8" style="position:absolute; left:201px; top:57px; width:121px; height:182px; z-index:11"><img src="../image/dancer2.gif" width="150" height="303"></div>
  160. <div id="Layer9" style="position:absolute; left:88px; top:65px; width:85px; height:208px; z-index:12"><img src="../image/dancer4.gif" width="116" height="247"></div>
  161. <div id="Layer10" style="position:absolute; left:87px; top:150px; width:306px; height:203px; z-index:12"><img src="../image/mbk1.jpg" width="378" height="220" name="uThumb001Dec02"></div>
  162. <div id="Layer11" style="position:absolute; left:84px; top:145px; width:369px; height:176px; z-index:14"><img src="../image/bm1.gif" width="389" height="232" name="uThumb001Dec01"></div>
  163. <div id="Layer2" style="position:absolute; width:34px; height:27px; z-index:1; left: 44px; top: 16px; visibility: visible"><img src="../image/prom1-bg2-s.jpg" width="660" height="387"></div>
  164. <div id="Layer5" style="position:absolute; left:240px; top:405px; width:82px; height:46px; z-index:5"><a href="s-prom1.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer5\'].document.uPreviousButton','document.uPreviousButton','../image/pre2.jpg','#924705405400')"><img src="../image/pre1.jpg" width="86" height="58" border="0" name="uPreviousButton" alt="Back"></a></div>
  165. <div id="Layer6" style="position:absolute; left:344px; top:405px; width:52px; height:50px; z-index:6"><a href="seniprom.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer6\'].document.uHomeButton','document.uHomeButton','../image/home2.jpg','#924705420500')"><img src="../image/home1.jpg" width="57" height="58" border="0" name="uHomeButton" alt="Home"></a></div>
  166. <div id="Layer7" style="position:absolute; left:422px; top:405px; width:81px; height:47px; z-index:7"><a href="s-prom2.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer7\'].document.uNextButton','document.uNextButton','../image/next2.jpg','#924705431930')"><img src="../image/next1.jpg" width="86" height="58" border="0" name="uNextButton" alt="Next"></a></div>
  167. <div id="Layer12" style="position:absolute; width:306px; height:29px; z-index:4; left: 2px; top: 406px"> 
  168.     <p align="left"><a href="http://www.novadevelopment.com" class="Fixed02"> 
  169.  </a></p>
  170. </div>
  171. <div id="Layer13" style="position:absolute; width:40px; height:30px; z-index:13; left: 87px; top: 148px"><img src="../image/photo-b1.jpg" width="380" height="220" name="uThumb001"></div>
  172. </body>
  173. </html>
  174.