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

  1. <html>
  2. <head>
  3. <title>Floating Bubbles</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <style type="text/css">
  6. <!--
  7. .WebPageTitle {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 30pt; font-style: italic; font-weight: bolder; color: #FF6699}
  8. .PhotoTitleStyle {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 8pt; font-style: normal; color: #FF3399; font-weight: bolder}
  9. .SignStyle {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 10pt; font-style: italic; font-weight: bold; color: #FF3366}
  10. .Fixed02 {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 7pt; font-style: italic; color: #FFFF99}
  11. -->
  12. </style>
  13. <script language="JavaScript">
  14. <!--
  15. function MM_timelinePlay(tmLnName, myID) { //v1.2
  16.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  17.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  18.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  19.   tmLn = document.MM_Time[tmLnName];
  20.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  21.   if (myID == tmLn.ID) { //if Im newest
  22.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  23.     fNew = ++tmLn.curFrame;
  24.     for (i=0; i<tmLn.length; i++) {
  25.       sprite = tmLn[i];
  26.       if (sprite.charAt(0) == 's') {
  27.         if (sprite.obj) {
  28.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  29.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  30.             keyFrm=1;
  31.             for (j=0; j<sprite.values.length; j++) {
  32.               props = sprite.values[j]; 
  33.               if (numKeyFr != props.length) {
  34.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  35.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  36.               } else {
  37.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  38.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  39.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  40.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  41.         } } } } }
  42.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  43.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  44.   } }
  45. }
  46.  
  47. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  48.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  49.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  50.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  51.   tmLn = document.MM_Time[tmLnName];
  52.   if (numGotos != null)
  53.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  54.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  55.   jmpFwd = (fNew > tmLn.curFrame);
  56.   for (i = 0; i < tmLn.length; i++) {
  57.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  58.     if (sprite.charAt(0) == "s") {
  59.       numKeyFr = sprite.keyFrames.length;
  60.       firstKeyFr = sprite.keyFrames[0];
  61.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  62.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  63.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  64.       for (j=0; j<sprite.values.length; j++) {
  65.         props = sprite.values[j];
  66.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  67.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  68.         if (sprite.obj != null) {
  69.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  70.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  71.       } }
  72.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  73.   }
  74.   tmLn.curFrame = fNew;
  75.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  76. }
  77.  
  78. function MM_initTimelines() {
  79.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  80.     var ns = navigator.appName == "Netscape";
  81.     document.MM_Time = new Array(1);
  82.     document.MM_Time[0] = new Array(3);
  83.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  84.     document.MM_Time[0].MM_Name = "Timeline1";
  85.     document.MM_Time[0].fps = 15;
  86.     document.MM_Time[0][0] = new String("behavior");
  87.     document.MM_Time[0][0].frame = 51;
  88.     document.MM_Time[0][0].value = "MM_timelineGoto('Timeline1','1')";
  89.     document.MM_Time[0][1] = new String("sprite");
  90.     document.MM_Time[0][1].slot = 1;
  91.     if (ns)
  92.         document.MM_Time[0][1].obj = document["Layer12"];
  93.     else
  94.         document.MM_Time[0][1].obj = document.all ? document.all["Layer12"] : null;
  95.     document.MM_Time[0][1].keyFrames = new Array(1, 14, 20, 35, 51);
  96.     document.MM_Time[0][1].values = new Array(2);
  97.     document.MM_Time[0][1].values[0] = new Array(661,654,646,639,632,625,618,610,603,595,587,578,570,561,542,525,509,490,467,439,426,414,402,390,378,367,354,342,330,317,304,291,277,263,248,234,221,207,193,180,166,152,139,125,111,98,84,71,57,44,30);
  98.     document.MM_Time[0][1].values[0].prop = "left";
  99.     document.MM_Time[0][1].values[1] = new Array(359,357,355,353,350,348,346,345,343,342,341,341,341,343,352,366,381,396,409,413,410,405,399,392,384,376,367,358,349,340,332,324,317,311,307,305,304,303,303,304,305,307,308,310,312,315,317,319,322,324,326);
  100.     document.MM_Time[0][1].values[1].prop = "top";
  101.     if (!ns) {
  102.         document.MM_Time[0][1].values[0].prop2 = "style";
  103.         document.MM_Time[0][1].values[1].prop2 = "style";
  104.     }
  105.     document.MM_Time[0][2] = new String("sprite");
  106.     document.MM_Time[0][2].slot = 2;
  107.     if (ns)
  108.         document.MM_Time[0][2].obj = document["Layer13"];
  109.     else
  110.         document.MM_Time[0][2].obj = document.all ? document.all["Layer13"] : null;
  111.     document.MM_Time[0][2].keyFrames = new Array(8, 20, 27, 36, 48);
  112.     document.MM_Time[0][2].values = new Array(2);
  113.     document.MM_Time[0][2].values[0] = new Array(655,641,627,613,599,585,572,558,544,529,515,501,486,459,433,406,379,353,328,303,287,272,257,244,231,218,203,187,171,157,142,128,114,99,85,70,55,40,26,11,-4);
  114.     document.MM_Time[0][2].values[0].prop = "left";
  115.     document.MM_Time[0][2].values[1] = new Array(160,159,158,157,156,155,153,152,150,148,146,143,139,130,119,106,93,81,71,64,63,64,68,73,78,83,86,86,82,76,68,59,49,39,28,16,4,-8,-20,-31,-43);
  116.     document.MM_Time[0][2].values[1].prop = "top";
  117.     if (!ns) {
  118.         document.MM_Time[0][2].values[0].prop2 = "style";
  119.         document.MM_Time[0][2].values[1].prop2 = "style";
  120.     }
  121.     document.MM_Time[0].lastFrame = 51;
  122.     for (i=0; i<document.MM_Time.length; i++) {
  123.         document.MM_Time[i].ID = null;
  124.         document.MM_Time[i].curFrame = 0;
  125.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  126.     }
  127. }
  128. //-->
  129. </script>
  130. </head>
  131.  
  132. <bgsound id="BackgroundSound" type="audio/midi" src="../audio/Party Time.mid" repeat="1" loop="-1">
  133.  
  134. <body bgcolor="#F4A0BD" onLoad="MM_timelinePlay('Timeline1')">
  135. <div id="Layer4" style="position:absolute; left:270px; top:105px; width:479px; height:55px; z-index:15"> 
  136.   <p id="uAlbumTitle" align="center" class="WebPageTitle">Floating Bubbles</p>
  137. </div>
  138. <div id="Layer5" style="position:absolute; left:297px; top:184px; width:137px; height:185px; z-index:14"> 
  139.   <p id="uThumbTitle001" align="left" class="PhotoTitleStyle">Your photo caption 
  140.     goes here!<br>
  141.   </p>
  142. </div>
  143. <div id="Layer6" style="position:absolute; left:402px; top:377px; width:328px; height:38px; z-index:10"> 
  144.   <p align="right" class="Fixed01"><a href="http://www.novadevelopment.com" class="Fixed02"> 
  145.      </a></p>
  146. </div>
  147. <div id="Layer2" style="position:absolute; left:437px; top:184px; width:260px; height:184px; z-index:7"> 
  148.   <div align="left"><img src="../image/Samp017.jpg" width="260" height="174" name="uThumb001"></div>
  149. </div>
  150. <div id="Layer7" style="position:absolute; left:0; top:432px; width:760; height:100; z-index:11; visibility: hidden"> 
  151.   <p id="uSignature" class="Fixed01" align="left">Input signature here!</p>
  152. </div>
  153. <div id="Layer1" style="position:absolute; left:0; top:0; width:123px; height:102px; z-index:6"><img src="../image/bub-background.jpg" width="760" height="420"></div>
  154. <div id="Layer12" style="position:absolute; left:661px; top:359px; width:93px; height:62px; z-index:12"><img src="../image/page11-b.gif" width="100" height="65"></div>
  155. <div id="Layer13" style="position:absolute; left:655px; top:160px; width:100px; height:62px; z-index:13"><img src="../image/page11-b.gif" width="100" height="65"></div>
  156. </body>
  157. </html>
  158.