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

  1. <html>
  2. <head>
  3. <title>Message in a Bottle</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <style>
  6.  
  7. IMG {
  8. position:relative;
  9. }
  10.  
  11. .TextHolder01{
  12. cursor:hand;
  13. position:relative;
  14. font-family:"Arial", "Helvetica", "sans-serif";
  15. font-size:24pt;
  16. font-weight:bold;
  17. text-align:center;
  18. color:#003399;
  19. }
  20.  
  21.  
  22. .ParentLayer {
  23. border-style:groove;
  24. border-color:green;
  25. border-width:0px;
  26. }
  27.  
  28. .ImageHolder {
  29. cursor:hand;
  30. }
  31.  
  32. .VideoHolder {
  33. cursor:hand;
  34. }
  35.  
  36. .Moveable01 {
  37. cursor:hand;
  38. position:relative;
  39. font-family:"Arial";
  40. font-size:12pt;
  41. font-style:italic;
  42. font-weight:bold;
  43. text-align:left;
  44. color:#ffffff;
  45. }
  46.  
  47. .Fixed01 {  
  48. font-family: Arial, Helvetica, sans-serif; 
  49. font-size: 7pt; 
  50. font-weight: normal;
  51. font-style: italic; 
  52. color: #003399; 
  53. text-align: center
  54. }
  55.  
  56. .Fixed02 { 
  57. cursor:arrow;
  58. font-family: Arial, Helvetica, sans-serif; 
  59. font-size: 7pt; 
  60. font-weight: normal;
  61. font-style: italic; 
  62. color: #ffff99; 
  63. text-align: center 
  64. }
  65.  
  66. .Dynamic01 {
  67. cursor:arrow;
  68. position:relative;
  69. font-family:"Arial";
  70. font-size:12pt;
  71. font-style:italic;
  72. font-weight:bold;
  73. text-align:left;
  74. color:#ffff00;
  75. }
  76.  
  77. .TextHolder02 { cursor:hand; position:relative; font-family:"Arial", "Helvetica", "sans-serif"; font-size:12pt; text-align:left; color:#000000; ; font-weight: bold}
  78.  
  79. .SoundClip {
  80. cursor:hand;
  81. position:relative;
  82. }
  83. </style>
  84.  
  85. <script language="JavaScript">
  86. <!--
  87. function MM_timelinePlay(tmLnName, myID) { //v1.2
  88.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  89.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  90.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  91.   tmLn = document.MM_Time[tmLnName];
  92.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  93.   if (myID == tmLn.ID) { //if Im newest
  94.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  95.     fNew = ++tmLn.curFrame;
  96.     for (i=0; i<tmLn.length; i++) {
  97.       sprite = tmLn[i];
  98.       if (sprite.charAt(0) == 's') {
  99.         if (sprite.obj) {
  100.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  101.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  102.             keyFrm=1;
  103.             for (j=0; j<sprite.values.length; j++) {
  104.               props = sprite.values[j]; 
  105.               if (numKeyFr != props.length) {
  106.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  107.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  108.               } else {
  109.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  110.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  111.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  112.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  113.         } } } } }
  114.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  115.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  116.   } }
  117. }
  118.  
  119. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  120.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  121.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  122.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  123.   tmLn = document.MM_Time[tmLnName];
  124.   if (numGotos != null)
  125.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  126.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  127.   jmpFwd = (fNew > tmLn.curFrame);
  128.   for (i = 0; i < tmLn.length; i++) {
  129.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  130.     if (sprite.charAt(0) == "s") {
  131.       numKeyFr = sprite.keyFrames.length;
  132.       firstKeyFr = sprite.keyFrames[0];
  133.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  134.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  135.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  136.       for (j=0; j<sprite.values.length; j++) {
  137.         props = sprite.values[j];
  138.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  139.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  140.         if (sprite.obj != null) {
  141.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  142.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  143.       } }
  144.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  145.   }
  146.   tmLn.curFrame = fNew;
  147.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  148. }
  149.  
  150. function MM_initTimelines() {
  151.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  152.     var ns = navigator.appName == "Netscape";
  153.     document.MM_Time = new Array(1);
  154.     document.MM_Time[0] = new Array(1);
  155.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  156.     document.MM_Time[0].MM_Name = "Timeline1";
  157.     document.MM_Time[0].fps = 15;
  158.     document.MM_Time[0][0] = new String("behavior");
  159.     document.MM_Time[0][0].frame = 36;
  160.     document.MM_Time[0][0].value = "MM_timelineGoto('Timeline1','1')";
  161.     document.MM_Time[0].lastFrame = 36;
  162.     for (i=0; i<document.MM_Time.length; i++) {
  163.         document.MM_Time[i].ID = null;
  164.         document.MM_Time[i].curFrame = 0;
  165.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  166.     }
  167. }
  168. //-->
  169. </script>
  170. </head>
  171. <bgsound id="BackgroundSound" type="audio/midi" src="../audio/Xylophone Delight.mid" repeat="1" loop="-1">
  172. <body bgcolor="#D38F10" onLoad="MM_timelinePlay('Timeline1')" background="../image/gen05-bg.jpg">
  173. <div id="Layer9" style="position:absolute; left:15px; top:129px; width:260px; height:205px; z-index:31" class="ParentLayer"> 
  174.   <a id="Link9" name="">
  175.     <img id="uImage01" src="../image/gen05-photo6.jpg" width="285" height="187" class="ImageHolder" name="uImage01;285;187"> 
  176.   </a> </div>
  177. <div id="Layer1" style="position:absolute; left:0; top:0; width:135px; height:162px; z-index:8"><img id="uImage02" src="../image/gen05-b1x1.jpg" width="152" height="420" class="Fixed02"></div>
  178. <div id="Layer10" style="position:absolute; left:414px; top:110px; width:332px; height:90px; z-index:29" class="ParentLayer"> 
  179.   <a id="Link10" name="">
  180.   <p id="uText02" align="right" class="TextHolder02">Here's a Web card greeting from a land far, far away...</p>
  181.     </a>
  182. </div>
  183. <div id="Layer3" style="position:absolute; left:366px; top:57px; width:380px; height:52px; z-index:30" class="ParentLayer"> 
  184.   <a id="Link3" name="">
  185.   <p id="uText01" align="right" class="TextHolder01">Message in a Bottle</p>
  186.   </a>
  187. </div>
  188. <div id="Layer5" style="position:absolute; left:519px; top:389px; width:240px; height:14px; z-index:28"> 
  189.   <a id="Link5" name="http://www.novadevelopment.com">
  190.     <p id="uLogo01" align="right" class="Fixed01"></p>
  191.   </a>
  192. </div>
  193. <div id="Layer2" style="position:absolute; left:10px; top:297px; width:64px; height:50px; z-index:32"><img id="uImage07" src="../image/gen05-j.gif" width="289" height="41" class="Fixed02"></div>
  194. <div id="Layer4" style="position:absolute; left:613; top:0; width:73px; height:48px; z-index:25"><img id="uImage06" src="../image/gen05-b1x5.jpg" width="147" height="420" class="Fixed02"></div>
  195. <div id="Layer6" style="position:absolute; left:152; top:0; width:168px; height:436px; z-index:9"><img id="uImage03" src="../image/gen05-b1x2.jpg" width="162" height="420" class="Fixed02"></div>
  196. <div id="Layer7" style="position:absolute; left:314; top:0; width:96px; height:93px; z-index:10"><img src="../image/gen05-b1x3.jpg" width="142" height="420" class="Fixed02"></div>
  197. <div id="Layer8" style="position:absolute; left:456; top:0; width:157px; height:438px; z-index:11"><img id="uImage05" src="../image/gen05-b1x4.jpg" width="157" height="420" class="Fixed02"></div>
  198. </body>
  199. <script language="JavaScript" src="../../WebCard.js">
  200. </script>
  201. </html>
  202.