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

  1. <html>
  2. <head>
  3. <title>My Photo Album</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5.   
  6. <script language="JavaScript">
  7. <!--
  8. <!--
  9. function MM_showHideLayers() { //v2.0
  10.   var i, visStr, args, theObj;
  11.   args = MM_showHideLayers.arguments;
  12.   for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
  13.     visStr   = args[i+2];
  14.     if (navigator.appName == 'Netscape' && document.layers != null) {
  15.       theObj = eval(args[i]);
  16.       if (theObj) theObj.visibility = visStr;
  17.     } else if (document.all != null) { //IE
  18.       if (visStr == 'show') visStr = 'visible'; //convert vals
  19.       if (visStr == 'hide') visStr = 'hidden';
  20.       theObj = eval(args[i+1]);
  21.       if (theObj) theObj.style.visibility = visStr;
  22.   } }
  23. }
  24.  
  25. function MM_preloadImages() { //v2.0
  26.   if (document.images) {
  27.     var imgFiles = MM_preloadImages.arguments;
  28.     if (document.preloadArray==null) document.preloadArray = new Array();
  29.     var i = document.preloadArray.length;
  30.     with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
  31.       preloadArray[i] = new Image;
  32.       preloadArray[i++].src = imgFiles[j];
  33.   } }
  34. }
  35.  
  36. function MM_swapImgRestore() { //v2.0
  37.   if (document.MM_swapImgData != null)
  38.     for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
  39.       document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
  40. }
  41.  
  42. function MM_swapImage() { //v2.0
  43.   var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  44.   for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
  45.     objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
  46.     if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
  47.         (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
  48.       objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
  49.     obj = eval(objStr);
  50.     if (obj != null) {
  51.       swapArray[j++] = obj;
  52.       swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
  53.       obj.src = MM_swapImage.arguments[i+2];
  54.   } }
  55.   document.MM_swapImgData = swapArray; //used for restore
  56. }
  57.  
  58. function MM_timelinePlay(tmLnName, myID) { //v1.2
  59.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  60.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  61.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  62.   tmLn = document.MM_Time[tmLnName];
  63.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  64.   if (myID == tmLn.ID) { //if Im newest
  65.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  66.     fNew = ++tmLn.curFrame;
  67.     for (i=0; i<tmLn.length; i++) {
  68.       sprite = tmLn[i];
  69.       if (sprite.charAt(0) == 's') {
  70.         if (sprite.obj) {
  71.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  72.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  73.             keyFrm=1;
  74.             for (j=0; j<sprite.values.length; j++) {
  75.               props = sprite.values[j]; 
  76.               if (numKeyFr != props.length) {
  77.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  78.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  79.               } else {
  80.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  81.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  82.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  83.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  84.         } } } } }
  85.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  86.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  87.   } }
  88. }
  89.  
  90.  
  91. //-->
  92.  
  93. function MM_initTimelines() {
  94.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  95.     var ns = navigator.appName == "Netscape";
  96.     document.MM_Time = new Array(1);
  97.     document.MM_Time[0] = new Array(5);
  98.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  99.     document.MM_Time[0].MM_Name = "Timeline1";
  100.     document.MM_Time[0].fps = 20;
  101.     document.MM_Time[0][0] = new String("behavior");
  102.     document.MM_Time[0][0].frame = 9;
  103.     document.MM_Time[0][0].value = "MM_showHideLayers('document.layers[\\\'Layer5\\\']','document.all[\\\'Layer5\\\']','show','document.layers[\\\'Layer7\\\']','document.all[\\\'Layer7\\\']','show','document.layers[\\\'Layer6\\\']','document.all[\\\'Layer6\\\']','show')";
  104.     document.MM_Time[0][1] = new String("behavior");
  105.     document.MM_Time[0][1].frame = 3;
  106.     document.MM_Time[0][1].value = "MM_showHideLayers('document.layers[\\\'Layer1\\\']','document.all[\\\'Layer1\\\']','hide','document.layers[\\\'Layer2\\\']','document.all[\\\'Layer2\\\']','show','document.layers[\\\'Layer3\\\']','document.all[\\\'Layer3\\\']','show','document.layers[\\\'Layer4\\\']','document.all[\\\'Layer4\\\']','hide')";
  107.     document.MM_Time[0][2] = new String("behavior");
  108.     document.MM_Time[0][2].frame = 6;
  109.     document.MM_Time[0][2].value = "MM_showHideLayers('document.layers[\\\'Layer1\\\']','document.all[\\\'Layer1\\\']','show','document.layers[\\\'Layer2\\\']','document.all[\\\'Layer2\\\']','hide','document.layers[\\\'Layer3\\\']','document.all[\\\'Layer3\\\']','hide','document.layers[\\\'Layer4\\\']','document.all[\\\'Layer4\\\']','show')";
  110.     document.MM_Time[0][3] = new String("behavior");
  111.     document.MM_Time[0][3].frame = 12;
  112.     document.MM_Time[0][3].value = "MM_showHideLayers('document.layers[\\\'Layer13\\\']','document.all[\\\'Layer13\\\']','show')";
  113.     document.MM_Time[0][4] = new String("behavior");
  114.     document.MM_Time[0][4].frame = 70;
  115.     document.MM_Time[0][4].value = "MM_showHideLayers('document.layers[\\\'Layer13\\\']','document.all[\\\'Layer13\\\']','hide')";
  116.     document.MM_Time[0].lastFrame = 70;
  117.     for (i=0; i<document.MM_Time.length; i++) {
  118.         document.MM_Time[i].ID = null;
  119.         document.MM_Time[i].curFrame = 0;
  120.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  121.     }
  122. }
  123. //-->
  124. </script>                                                  
  125. <style type="text/css">
  126. <!--
  127. .Fixed01 {  
  128. font-family: "Arial", "Helvetica", "sans-serif"; 
  129. font-size: 7pt; 
  130. font-style: italic; 
  131. color: #003399}
  132. -->
  133. </style></head>
  134.  
  135. <body bgcolor="#FFFFFF" background="../image/myph-background.jpg" onLoad="MM_preloadImages('../image/myph-preview2.GIF','#925183870230');MM_preloadImages('../image/myph-home2.gif','#925183891480');MM_preloadImages('../image/myph-next2.gif','#925183995070');MM_timelinePlay('Timeline1')" link="#003399" vlink="#003399" alink="#003399">
  136. <div id="Layer1" style="position:absolute; left:55px; top:38px; width:33px; height:22px; z-index:1"><a href="#" onMouseOver="MM_showHideLayers('document.layers[\'Layer1\']','document.all[\'Layer1\']','hide','document.layers[\'Layer2\']','document.all[\'Layer2\']','show','document.layers[\'Layer3\']','document.all[\'Layer3\']','show','document.layers[\'Layer4\']','document.all[\'Layer4\']','hide')"><img src="../image/myph-turnoff1.jpg" width="660" height="380" border="0"></a></div>
  137. <div id="Layer2" style="position:absolute; left:55px; top:38px; width:215px; height:135px; z-index:2; visibility: hidden"> 
  138.   <p><img src="../image/myph-turnon3.jpg" width="660" height="380"></p>
  139. </div>
  140. <div id="Layer3" style="position:absolute; left:278px; top:46px; width:39px; height:20px; z-index:3; visibility: hidden"><a href="#" onMouseOver="MM_showHideLayers('document.layers[\'Layer1\']','document.all[\'Layer1\']','show','document.layers[\'Layer2\']','document.all[\'Layer2\']','hide','document.layers[\'Layer3\']','document.all[\'Layer3\']','hide','document.layers[\'Layer4\']','document.all[\'Layer4\']','show')"><img src="../image/myph-turnon2.jpg" width="174" height="37" border="0"></a></div>
  141. <div id="Layer4" style="position:absolute; left:284px; top:47px; width:59px; height:47px; z-index:4; visibility: hidden">
  142.   <img src="../image/myph-turnoff2.jpg" width="167" height="36">
  143. </div>
  144. <div id="Layer5" style="position:absolute; left:218px; top:140px; width:65px; height:44px; z-index:5; visibility: hidden">
  145.   <img src="../image/myph-back2.jpg" width="312" height="233" name="uThumb002Dec01">
  146. </div>
  147. <div id="Layer7" style="position:absolute; left:210px; top:133px; width:42px; height:35px; z-index:7; visibility: hidden"> 
  148.   <img src="../Image/myph-bfreme-1.GIF" width="332" height="248" name="uThumb002Dec02" border="0"> 
  149. </div>
  150. <div id="Layer9" style="position:absolute; left:302px; top:421px; width:18px; height:35px; z-index:9"><a href="album1.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer9\'].document.uPreviousButton','document.uPreviousButton','../image/myph-preview2.GIF','#925183870230')"><img src="../image/myph-preview1.GIF" width="24" height="41" name="uPreviousButton" border="0" alt="Back"></a></div>
  151. <div id="Layer10" style="position:absolute; left:349px; top:426px; width:29px; height:32px; z-index:10"><a href="myphoto.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer10\'].document.uHomeButton','document.uHomeButton','../image/myph-home2.gif','#925183891480')"><img src="../image/myph-home1.GIF" width="36" height="35" name="uHomeButton" border="0" alt="Home"></a></div>
  152. <div id="Layer11" style="position:absolute; left:410px; top:418px; width:25px; height:30px; z-index:11"><a href="album3.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer11\'].document.uNextButton','document.uNextButton','../image/myph-next2.gif','#925183995070')"><img src="../image/myph-next1.GIF" width="27" height="44" name="uNextButton" border="0" alt="Next"></a></div>
  153. <div id="Layer25" style="position:absolute; width:262px; height:22px; z-index:22; left: 445px; top: 446px"> 
  154.   <p align="right"><a href="http://www.ulead.com/pe/runme.htm" class="Fixed01"> 
  155.      </a> </p>
  156. </div>
  157. <div id="Layer6" style="position:absolute; left:224px; top:154px; width:48px; height:34px; z-index:6; visibility: hidden"> 
  158.   <img src="../image/myph-bphoto2.jpg" width="300" height="200" name="uThumb002"> </div>
  159. </body>
  160. </html>
  161.