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

  1. <html>
  2. <head>
  3. <title>Vacation 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_preloadImages() { //v2.0
  40.   if (document.images) {
  41.     var imgFiles = MM_preloadImages.arguments;
  42.     if (document.preloadArray==null) document.preloadArray = new Array();
  43.     var i = document.preloadArray.length;
  44.     with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
  45.       preloadArray[i] = new Image;
  46.       preloadArray[i++].src = imgFiles[j];
  47.   } }
  48. }
  49.  
  50. function MM_swapImage() { //v2.0
  51.   var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  52.   for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
  53.     objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
  54.     if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
  55.         (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
  56.       objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
  57.     obj = eval(objStr);
  58.     if (obj != null) {
  59.       swapArray[j++] = obj;
  60.       swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
  61.       obj.src = MM_swapImage.arguments[i+2];
  62.   } }
  63.   document.MM_swapImgData = swapArray; //used for restore
  64. }
  65.  
  66. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  67.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  68.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  69.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  70.   tmLn = document.MM_Time[tmLnName];
  71.   if (numGotos != null)
  72.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  73.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  74.   jmpFwd = (fNew > tmLn.curFrame);
  75.   for (i = 0; i < tmLn.length; i++) {
  76.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  77.     if (sprite.charAt(0) == "s") {
  78.       numKeyFr = sprite.keyFrames.length;
  79.       firstKeyFr = sprite.keyFrames[0];
  80.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  81.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  82.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  83.       for (j=0; j<sprite.values.length; j++) {
  84.         props = sprite.values[j];
  85.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  86.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  87.         if (sprite.obj != null) {
  88.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  89.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  90.       } }
  91.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  92.   }
  93.   tmLn.curFrame = fNew;
  94.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  95. }
  96.  
  97. function MM_swapImgRestore() { //v2.0
  98.   if (document.MM_swapImgData != null)
  99.     for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
  100.       document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
  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(1);
  107.     document.MM_Time[0] = new Array(6);
  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["Layer10"];
  115.     else
  116.         document.MM_Time[0][0].obj = document.all ? document.all["Layer10"] : null;
  117.     document.MM_Time[0][0].keyFrames = new Array(1, 20);
  118.     document.MM_Time[0][0].values = new Array(2);
  119.     document.MM_Time[0][0].values[0] = new Array(-40,-8,24,56,88,120,152,184,216,248,281,313,345,377,409,441,473,505,537,569);
  120.     document.MM_Time[0][0].values[0].prop = "left";
  121.     document.MM_Time[0][0].values[1] = new Array(368,368,368,368,368,368,368,368,368,368,368,368,368,368,368,368,368,368,368,368);
  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][1] = new String("sprite");
  128.     document.MM_Time[0][1].slot = 1;
  129.     if (ns)
  130.         document.MM_Time[0][1].obj = document["Layer10"];
  131.     else
  132.         document.MM_Time[0][1].obj = document.all ? document.all["Layer10"] : null;
  133.     document.MM_Time[0][1].keyFrames = new Array(25, 44);
  134.     document.MM_Time[0][1].values = new Array(2);
  135.     document.MM_Time[0][1].values[0] = new Array(569,537,505,473,441,409,377,345,313,281,249,217,185,153,121,89,57,25,-7,-39);
  136.     document.MM_Time[0][1].values[0].prop = "left";
  137.     document.MM_Time[0][1].values[1] = new Array(363,363,363,363,363,364,364,364,364,364,364,364,364,364,364,365,365,365,365,365);
  138.     document.MM_Time[0][1].values[1].prop = "top";
  139.     if (!ns) {
  140.         document.MM_Time[0][1].values[0].prop2 = "style";
  141.         document.MM_Time[0][1].values[1].prop2 = "style";
  142.     }
  143.     document.MM_Time[0][2] = new String("behavior");
  144.     document.MM_Time[0][2].frame = 23;
  145.     document.MM_Time[0][2].value = "MM_timelineGoto('Timeline1','20')";
  146.     document.MM_Time[0][3] = new String("behavior");
  147.     document.MM_Time[0][3].frame = 45;
  148.     document.MM_Time[0][3].value = "MM_timelineGoto('Timeline1','1')";
  149.     document.MM_Time[0][4] = new String("behavior");
  150.     document.MM_Time[0][4].frame = 1;
  151.     document.MM_Time[0][4].value = "MM_swapImage('document.layers[\\\'Layer10\\\'].document.Image1','document.Image1','../Image/ball.gif','#959337331160')";
  152.     document.MM_Time[0][5] = new String("behavior");
  153.     document.MM_Time[0][5].frame = 20;
  154.     document.MM_Time[0][5].value = "MM_swapImage('document.layers[\\\'Layer10\\\'].document.Image1','document.Image1','../Image/ball-s1.gif','#959337422440')";
  155.     document.MM_Time[0].lastFrame = 45;
  156.     for (i=0; i<document.MM_Time.length; i++) {
  157.         document.MM_Time[i].ID = null;
  158.         document.MM_Time[i].curFrame = 0;
  159.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  160.     }
  161. }
  162. //-->
  163. </script>
  164. <style type="text/css">
  165. <!--
  166. .Fixed01 {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 7pt; font-style: italic; color: #003399; text-align: center}
  167. -->
  168. </style></head>
  169.  
  170. <body bgcolor="#FFFFFF" background="../Image/bk.jpg" onLoad="MM_timelinePlay('Timeline1');MM_preloadImages('../Image/ball1.gif','#959336967440');MM_preloadImages('../Image/ball.gif','#959337331160');MM_preloadImages('../Image/ball-s1.gif','#959337422440');MM_preloadImages('../Image/btn_nxt2.gif','#959657281390');MM_preloadImages('../Image/btn_home2.gif','#959657341430');MM_preloadImages('../Image/btn_pre2.gif','#959657359170');MM_preloadImages('../Image/btn_nxt1.gif','#959662582310');MM_preloadImages('../Image/btn_home1.gif','#959662693090');MM_preloadImages('../Image/btn_pre1.gif','#959662730110')">
  171. <div id="Layer1" style="position:absolute; left:0px; top:0px; width:665px; height:37px; z-index:1"><img src="../Image/sky.jpg" width="760" height="74" name="Image2"></div>
  172. <div id="Layer2" style="position:absolute; left:0px; top:75px; width:600px; height:116px; z-index:2"><img src="../Image/beach.gif" width="760" height="241"></div>
  173. <div id="Layer3" style="position:absolute; left:521px; top:117px; width:211px; height:179px; z-index:3"><img src="../Image/vac-table.gif" width="238" height="279"></div>
  174. <div id="Layer4" style="position:absolute; left:656px; top:76px; width:5px; height:20px; z-index:4"><img src="../Image/sailboat.gif" width="28" height="38"></div>
  175. <div id="Layer5" style="position:absolute; left:535px; top:74px; width:25px; height:0px; z-index:5"><img src="../Image/bird.gif" width="58" height="25"></div>
  176. <div id="Layer7" style="position:absolute; left:33px; top:92px; width:38px; height:50px; z-index:4"><img src="../Image/sailboat.gif" width="55" height="76"></div>
  177. <div id="Layer6" style="position:absolute; left:692px; top:11px; width:9px; height:0px; z-index:6"><img src="../Image/bird.gif" width="44" height="18"></div>
  178. <div id="Layer8" style="position:absolute; left:1px; top:75px; width:21px; height:1px; z-index:7"><img src="../Image/bird.gif" width="58" height="25"></div>
  179. <div id="Layer9" style="position:absolute; left:205px; top:7px; width:10px; height:0px; z-index:8"><img src="../Image/bird.gif" width="34" height="14"></div>
  180. <div id="Layer10" style="position:absolute; left:-40px; top:368px; width:41px; height:35px; z-index:9"><a href="#" onMouseOver="MM_swapImage('document.layers[\'Layer10\'].document.Image1','document.Image1','../Image/ball1.gif','#959336967440');MM_timelineGoto('Timeline1','25')"><img src="../Image/ball.gif" width="45" height="45" border="0" name="Image1"></a></div>
  181. <div id="Layer11" style="position:absolute; left:84; top:41; width:437px; height:304px; z-index:10"><img src="../Image/frameb_bk.jpg" width="439" height="307" name="uThumb001Dec02"></div>
  182. <div id="Layer12" style="position:absolute; left:126px; top:80px; width:346px; height:224px; z-index:11"><img src="../Image/photob1.jpg" width="350" height="229" name="uThumb001"></div>
  183. <div id="Layer13" style="position:absolute; left:102; top:56; width:395px; height:272px; z-index:12"><img src="../Image/frameb.gif" width="401" height="275" name="uThumb001Dec01"></div>
  184. <div id="Layer14" style="position:absolute; left:307px; top:347px; width:15px; height:63px; z-index:13"><a href="vacation01.htm" onMouseOver="MM_swapImage('document.layers[\'Layer14\'].document.uHomeButton','document.uHomeButton','../Image/btn_home2.gif','#959657341430')" onMouseOut="MM_swapImage('document.layers[\'Layer14\'].document.uHomeButton','document.uHomeButton','../Image/btn_home1.gif','#959662693090')"><img src="../Image/btn_home1.gif" width="22" height="66" name="uHomeButton" border="0" alt="Home"></a></div>
  185. <div id="Layer15" style="position:absolute; left:347px; top:365px; width:101px; height:35px; z-index:14"><a href="vacation01_2.htm" onMouseOver="MM_swapImage('document.layers[\'Layer15\'].document.uNextButton','document.uNextButton','../Image/btn_nxt2.gif','#959657281390')" onMouseOut="MM_swapImage('document.layers[\'Layer15\'].document.uNextButton','document.uNextButton','../Image/btn_nxt1.gif','#959662582310')"><img src="../Image/btn_nxt1.gif" width="123" height="41" name="uNextButton" border="0" alt="Next"></a></div>
  186. <div id="Layer16" style="position:absolute; left:164px; top:365px; width:124px; height:42px; z-index:15"><a href="vacation01_1.htm" onMouseOver="MM_swapImage('document.layers[\'Layer16\'].document.uPreviousButton','document.uPreviousButton','../Image/btn_pre2.gif','#959657359170')" onMouseOut="MM_swapImage('document.layers[\'Layer16\'].document.uPreviousButton','document.uPreviousButton','../Image/btn_pre1.gif','#959662730110')"><img src="../Image/btn_pre1.gif" width="123" height="41" name="uPreviousButton" border="0" alt="Back"></a></div>
  187. <div id="Layer17" style="position:absolute; left:542; top:391px; width:217px; height:30px; z-index:16"> 
  188.   <p align="left"><a href="http://www.novadevelopment.com" class="Fixed01"> 
  189.      </a> </p>
  190.  </div>
  191. </body>
  192. </html>
  193.