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

  1. <html>
  2. <head>
  3. <title>School Album</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <script language="JavaScript">
  6. <!--
  7. function MM_timelinePlay(tmLnName, myID) { //v1.2
  8.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  9.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  10.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  11.   tmLn = document.MM_Time[tmLnName];
  12.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  13.   if (myID == tmLn.ID) { //if Im newest
  14.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  15.     fNew = ++tmLn.curFrame;
  16.     for (i=0; i<tmLn.length; i++) {
  17.       sprite = tmLn[i];
  18.       if (sprite.charAt(0) == 's') {
  19.         if (sprite.obj) {
  20.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  21.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  22.             keyFrm=1;
  23.             for (j=0; j<sprite.values.length; j++) {
  24.               props = sprite.values[j]; 
  25.               if (numKeyFr != props.length) {
  26.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  27.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  28.               } else {
  29.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  30.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  31.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  32.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  33.         } } } } }
  34.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  35.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  36.   } }
  37. }
  38.  
  39. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  40.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  41.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  42.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  43.   tmLn = document.MM_Time[tmLnName];
  44.   if (numGotos != null)
  45.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  46.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  47.   jmpFwd = (fNew > tmLn.curFrame);
  48.   for (i = 0; i < tmLn.length; i++) {
  49.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  50.     if (sprite.charAt(0) == "s") {
  51.       numKeyFr = sprite.keyFrames.length;
  52.       firstKeyFr = sprite.keyFrames[0];
  53.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  54.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  55.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  56.       for (j=0; j<sprite.values.length; j++) {
  57.         props = sprite.values[j];
  58.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  59.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  60.         if (sprite.obj != null) {
  61.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  62.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  63.       } }
  64.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  65.   }
  66.   tmLn.curFrame = fNew;
  67.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  68. }
  69.  
  70. function MM_preloadImages() { //v2.0
  71.   if (document.images) {
  72.     var imgFiles = MM_preloadImages.arguments;
  73.     if (document.preloadArray==null) document.preloadArray = new Array();
  74.     var i = document.preloadArray.length;
  75.     with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
  76.       preloadArray[i] = new Image;
  77.       preloadArray[i++].src = imgFiles[j];
  78.   } }
  79. }
  80.  
  81. function MM_swapImgRestore() { //v2.0
  82.   if (document.MM_swapImgData != null)
  83.     for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
  84.       document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
  85. }
  86.  
  87. function MM_swapImage() { //v2.0
  88.   var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  89.   for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
  90.     objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
  91.     if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
  92.         (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
  93.       objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
  94.     obj = eval(objStr);
  95.     if (obj != null) {
  96.       swapArray[j++] = obj;
  97.       swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
  98.       obj.src = MM_swapImage.arguments[i+2];
  99.   } }
  100.   document.MM_swapImgData = swapArray; //used for restore
  101. }
  102.  
  103. function MM_initTimelines() {
  104.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  105.     var ns = navigator.appName == "Netscape";
  106.     document.MM_Time = new Array(2);
  107.     document.MM_Time[0] = new Array(2);
  108.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  109.     document.MM_Time[0].MM_Name = "Timeline1";
  110.     document.MM_Time[0].fps = 15;
  111.     document.MM_Time[0][0] = new String("sprite");
  112.     document.MM_Time[0][0].slot = 1;
  113.     if (ns)
  114.         document.MM_Time[0][0].obj = document["Layer17"];
  115.     else
  116.         document.MM_Time[0][0].obj = document.all ? document.all["Layer17"] : null;
  117.     document.MM_Time[0][0].keyFrames = new Array(1, 5, 8);
  118.     document.MM_Time[0][0].values = new Array(3);
  119.     document.MM_Time[0][0].values[0] = new Array(689,506,324,168,45,-3,19,45);
  120.     document.MM_Time[0][0].values[0].prop = "left";
  121.     document.MM_Time[0][0].values[1] = new Array(109,143,178,210,242,284,315,342);
  122.     document.MM_Time[0][0].values[1].prop = "top";
  123.     if (!ns) {
  124.         document.MM_Time[0][0].values[0].prop2 = "style";
  125.         document.MM_Time[0][0].values[1].prop2 = "style";
  126.     }
  127.     document.MM_Time[0][0].values[2] = new Array("24","26","25");
  128.     document.MM_Time[0][0].values[2].prop = "zIndex";
  129.     if (!ns)
  130.         document.MM_Time[0][0].values[2].prop2 = "style";
  131.     document.MM_Time[0][1] = new String("behavior");
  132.     document.MM_Time[0][1].frame = 9;
  133.     document.MM_Time[0][1].value = "MM_timelineGoto('Timeline1','1')";
  134.     document.MM_Time[0].lastFrame = 9;
  135.     document.MM_Time[1] = new Array(1);
  136.     document.MM_Time["Timeline2"] = document.MM_Time[1];
  137.     document.MM_Time[1].MM_Name = "Timeline2";
  138.     document.MM_Time[1].fps = 15;
  139.     document.MM_Time[1][0] = new String("behavior");
  140.     document.MM_Time[1][0].frame = 41;
  141.     document.MM_Time[1][0].value = "MM_timelineGoto('Timeline2','1')";
  142.     document.MM_Time[1].lastFrame = 41;
  143.     for (i=0; i<document.MM_Time.length; i++) {
  144.         document.MM_Time[i].ID = null;
  145.         document.MM_Time[i].curFrame = 0;
  146.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  147.     }
  148. }
  149. //-->
  150. </script>
  151. <style type="text/css">
  152. <!--
  153. .AlbumTitleStyle {  font-family: "Arial"; font-size: 25pt; font-style: italic; color: #CC3333}
  154. .Fixed01 {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 7pt; font-style: italic; color: #003399}
  155. .SignStyle {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 10pt; color: #000000; font-style: italic; font-weight: bold}
  156. .ThumbTitleStyle {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 8pt; color: #663333}
  157. -->
  158. </style></head>
  159.  
  160. <body background="../Image/sch-bg.gif" onLoad="MM_timelinePlay('Timeline1');MM_timelinePlay('Timeline2');MM_preloadImages('../Image/icon-21.gif','#965295882080');MM_preloadImages('../Image/icon-31.gif','#965295902240');MM_preloadImages('../Image/icon-11.gif','#965962063300')">
  161. <div id="Layer14" style="position:absolute; left:0px; top:-3px; width:747px; height:52px; z-index:44"> 
  162.   <p id="uAlbumTitle" class="AlbumTitleStyle" align="center">Back to School</p>
  163.   </div>
  164. <div id="Layer1" style="position:absolute; left:186px; top:66px; width:180px; height:120px; z-index:17"><img src="../Image/photo-2s.gif" width="180" height="120" border="0" name="uThumb001Dec01"></div>
  165. <div id="Layer2" style="position:absolute; left:186px; top:66px; width:180px; height:120px; z-index:18"><a href="school01_1.htm"><img src="../Image/sch01-photos1.jpg" width="180" height="120" border="0" name="uThumb001"></a></div>
  166. <div id="Layer9" style="position:absolute; left:160px; top:189px; width:222px; height:18px; z-index:43; background-color: #FFFFB5; layer-background-color: #FFFFB5; border: 1px none #000000"> 
  167.   <p id="uThumbTitle001" align="center" class="ThumbTitleStyle">Your photo caption 
  168.     goes here!</p>
  169. </div>
  170. <div id="Layer3" style="position:absolute; left:411px; top:66px; width:180px; height:120px; z-index:20"><img src="../Image/photo-2s.gif" width="180" height="120" border="0" name="uThumb001Dec02"></div>
  171. <div id="Layer4" style="position:absolute; left:411px; top:66px; width:180px; height:120px; z-index:21"><a href="school01_2.htm"><img src="../Image/sch01-photos2.jpg" width="180" height="120" border="0" name="uThumb002"></a></div>
  172. <div id="Layer10" style="position:absolute; left:388px; top:189px; width:222px; height:18px; z-index:32; background-color: #FFFFB5; layer-background-color: #FFFFB5; border: 1px none #000000"> 
  173.   <p id="uThumbTitle002" align="center" class="ThumbTitleStyle">Your photo caption 
  174.     goes here!</p>
  175. </div>
  176. <div id="Layer5" style="position:absolute; left:186px; top:211px; width:180px; height:120px; z-index:27"><img src="../Image/photo-2s.gif" width="180" height="120" border="0" name="uThumb001Dec03"></div>
  177. <div id="Layer6" style="position:absolute; left:186px; top:211px; width:180px; height:120px; z-index:28"><a href="school01_3.htm"><img src="../Image/sch01-photos3.jpg" width="180" height="120" border="0" name="uThumb003"></a></div>
  178. <div id="Layer11" style="position:absolute; left:160px; top:334px; width:222px; height:18px; z-index:42; background-color: #FFFFB5; layer-background-color: #FFFFB5; border: 1px none #000000"> 
  179.   <p id="uThumbTitle003" align="center" class="ThumbTitleStyle">Your photo caption 
  180.     goes here!</p>
  181. </div>
  182. <div id="Layer7" style="position:absolute; left:411px; top:211px; width:180px; height:120px; z-index:29"><img src="../Image/photo-2s.gif" width="180" height="120" border="0" name="uThumb001Dec04"></div>
  183. <div id="Layer8" style="position:absolute; left:411px; top:211px; width:180px; height:120px; z-index:30"><a href="school01_4.htm"><img src="../Image/sch01-photos4.jpg" width="180" height="120" border="0" name="uThumb004"></a></div>
  184. <div id="Layer12" style="position:absolute; left:388px; top:334px; width:222px; height:18px; z-index:41; background-color: #FFFFB5; layer-background-color: #FFFFB5; border: 1px none #000000"> 
  185.   <p id="uThumbTitle004" align="center" class="ThumbTitleStyle">Your photo caption 
  186.     goes here!</p>
  187. </div>
  188. <div id="Layer0" style="position:absolute; left:227px; top:374px; width:90px; height:46px; z-index:37"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer0\'].document.uPreviousButton','document.uPreviousButton','../Image/icon-11.gif','#965962063300')"><img src="../Image/icon-1.gif" width="90" height="46" name="uPreviousButton" border="0" alt="Back"></a></div>
  189. <div id="Layer13" style="position:absolute; left:138px; top:42px; width:498px; height:342px; z-index:16"><img src="../Image/uImage001Dec02.gif" width="498" height="342" name="uImage001Dec01"></div>
  190. <div id="Layer15" style="position:absolute; left:5px; top:164px; width:125px; height:159px; z-index:22"><img src="../Image/ruler.gif" width="125" height="159"></div>
  191. <div id="Layer16" style="position:absolute; left:648px; top:85px; width:125px; height:105px; z-index:24"><img src="../Image/ball-0.gif" width="125" height="105"></div>
  192. <div id="Layer17" style="position:absolute; left:689px; top:109px; width:20px; height:20px; z-index:24"><img src="../Image/ball-1.gif" width="20" height="20"></div>
  193. <div id="Layer22" style="position:absolute; left:380px; top:374px; width:80px; height:46px; z-index:38"><a href="school01.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer22\'].document.uHomeButton','document.uHomeButton','../Image/icon-21.gif','#965295882080')"><img src="../Image/icon-2.gif" width="80" height="46" name="uHomeButton" alt="Home" border="0"></a></div>
  194. <div id="Layer23" style="position:absolute; left:532px; top:374px; width:95px; height:46px; z-index:39"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer23\'].document.uNextButton','document.uNextButton','../Image/icon-31.gif','#965295902240')"><img src="../Image/icon-3.gif" width="95" height="46" name="uNextButton" alt="Next" border="0"></a></div>
  195. <div id="Layer20" style="position:absolute; left:4px; top:388px; width:225px; height:33px; z-index:40"> 
  196.   <p align="left"><a href="http://www.novadevelopment.com" class="Fixed01"> 
  197.      </a></p>
  198. </div>
  199. <div id="Layer21" style="position:absolute; left:0px; top:430px; width:760px; height:50; z-index:36; visibility: hidden"> 
  200.   <p id="uSignature" align="left" class="SignStyle">Input signature here!</p>
  201. </div>
  202. </body>
  203. </html>
  204.