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

  1. <html>
  2. <head>
  3. <title>Guess Who's a Year Older?</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5.  
  6. <style>
  7.  
  8. IMG {
  9. position:relative;
  10. }
  11.  
  12. .TextHolder01{
  13. cursor:hand;
  14. position:relative;
  15. font-family:"Arial", "Helvetica", "sans-serif";
  16. font-size:24pt;
  17. font-weight:bold;
  18. text-align:center;
  19. color:#003399;
  20. }
  21.  
  22.  
  23. .ParentLayer {
  24. border-color:green;
  25. border-width:0px;
  26. ; border: 0px green groove}
  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. <script language="JavaScript">
  85. <!--
  86. function MM_timelinePlay(tmLnName, myID) { //v1.2
  87.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  88.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  89.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  90.   tmLn = document.MM_Time[tmLnName];
  91.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  92.   if (myID == tmLn.ID) { //if Im newest
  93.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  94.     fNew = ++tmLn.curFrame;
  95.     for (i=0; i<tmLn.length; i++) {
  96.       sprite = tmLn[i];
  97.       if (sprite.charAt(0) == 's') {
  98.         if (sprite.obj) {
  99.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  100.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  101.             keyFrm=1;
  102.             for (j=0; j<sprite.values.length; j++) {
  103.               props = sprite.values[j]; 
  104.               if (numKeyFr != props.length) {
  105.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  106.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  107.               } else {
  108.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  109.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  110.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  111.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  112.         } } } } }
  113.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  114.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  115.   } }
  116. }
  117.  
  118. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  119.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  120.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  121.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  122.   tmLn = document.MM_Time[tmLnName];
  123.   if (numGotos != null)
  124.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  125.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  126.   jmpFwd = (fNew > tmLn.curFrame);
  127.   for (i = 0; i < tmLn.length; i++) {
  128.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  129.     if (sprite.charAt(0) == "s") {
  130.       numKeyFr = sprite.keyFrames.length;
  131.       firstKeyFr = sprite.keyFrames[0];
  132.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  133.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  134.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  135.       for (j=0; j<sprite.values.length; j++) {
  136.         props = sprite.values[j];
  137.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  138.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  139.         if (sprite.obj != null) {
  140.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  141.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  142.       } }
  143.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  144.   }
  145.   tmLn.curFrame = fNew;
  146.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  147. }
  148.  
  149. function MM_initTimelines() {
  150.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  151.     var ns = navigator.appName == "Netscape";
  152.     document.MM_Time = new Array(1);
  153.     document.MM_Time[0] = new Array(4);
  154.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  155.     document.MM_Time[0].MM_Name = "Timeline1";
  156.     document.MM_Time[0].fps = 15;
  157.     document.MM_Time[0][0] = new String("sprite");
  158.     document.MM_Time[0][0].slot = 1;
  159.     if (ns)
  160.         document.MM_Time[0][0].obj = document["Layer12"];
  161.     else
  162.         document.MM_Time[0][0].obj = document.all ? document.all["Layer12"] : null;
  163.     document.MM_Time[0][0].keyFrames = new Array(1, 26, 49, 70);
  164.     document.MM_Time[0][0].values = new Array(2);
  165.     document.MM_Time[0][0].values[0] = new Array(469,471,472,474,475,477,479,480,482,483,485,486,488,490,491,493,494,496,498,499,501,503,504,506,507,509,511,512,514,515,516,517,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,535,536,538,539,541,542,544,545,547,548,549,551,552,553,554,555,557,558,559,560,561,563,564);
  166.     document.MM_Time[0][0].values[0].prop = "left";
  167.     document.MM_Time[0][0].values[1] = new Array(96,96,96,97,97,97,98,98,98,99,99,99,100,100,100,100,100,101,101,101,101,100,100,100,100,99,98,97,96,94,93,92,90,88,87,85,84,82,80,79,77,76,74,73,71,70,69,68,67,67,66,66,66,67,67,67,68,68,69,70,70,71,71,72,73,74,74,75,75,76);
  168.     document.MM_Time[0][0].values[1].prop = "top";
  169.     if (!ns) {
  170.         document.MM_Time[0][0].values[0].prop2 = "style";
  171.         document.MM_Time[0][0].values[1].prop2 = "style";
  172.     }
  173.     document.MM_Time[0][1] = new String("behavior");
  174.     document.MM_Time[0][1].frame = 70;
  175.     document.MM_Time[0][1].value = "MM_timelineGoto('Timeline1','1')";
  176.     document.MM_Time[0][2] = new String("sprite");
  177.     document.MM_Time[0][2].slot = 2;
  178.     if (ns)
  179.         document.MM_Time[0][2].obj = document["Layer9"];
  180.     else
  181.         document.MM_Time[0][2].obj = document.all ? document.all["Layer9"] : null;
  182.     document.MM_Time[0][2].keyFrames = new Array(1, 25, 45, 60, 70);
  183.     document.MM_Time[0][2].values = new Array(2);
  184.     document.MM_Time[0][2].values[0] = new Array(605,607,610,612,614,616,619,621,623,625,628,630,632,635,637,639,642,644,646,649,651,653,656,658,660,663,665,668,670,673,675,678,680,682,684,687,689,691,693,695,696,698,699,700,700,698,694,691,687,683,679,675,672,668,664,661,657,654,650,648,647,647,648,649,651,652,654,656,658,660);
  185.     document.MM_Time[0][2].values[0].prop = "left";
  186.     document.MM_Time[0][2].values[1] = new Array(69,69,69,69,69,68,68,68,68,68,68,68,68,67,67,68,68,68,68,68,69,69,70,71,72,74,75,77,79,81,83,85,87,90,92,94,97,99,102,105,107,110,113,116,119,122,124,125,126,127,128,128,129,130,130,131,132,134,135,138,143,148,154,159,164,169,173,178,183,188);
  187.     document.MM_Time[0][2].values[1].prop = "top";
  188.     if (!ns) {
  189.         document.MM_Time[0][2].values[0].prop2 = "style";
  190.         document.MM_Time[0][2].values[1].prop2 = "style";
  191.     }
  192.     document.MM_Time[0][3] = new String("sprite");
  193.     document.MM_Time[0][3].slot = 3;
  194.     if (ns)
  195.         document.MM_Time[0][3].obj = document["Layer10"];
  196.     else
  197.         document.MM_Time[0][3].obj = document.all ? document.all["Layer10"] : null;
  198.     document.MM_Time[0][3].keyFrames = new Array(1, 14, 25, 35, 45, 55, 64, 70);
  199.     document.MM_Time[0][3].values = new Array(2);
  200.     document.MM_Time[0][3].values[0] = new Array(7,8,9,10,11,12,13,14,15,16,16,17,18,19,20,20,20,20,20,20,20,20,20,20,21,22,24,25,27,28,29,30,32,33,34,34,34,33,33,32,32,31,31,31,31,33,34,36,37,39,41,42,44,46,48,48,47,46,45,43,42,41,40,39,41,42,43,45,46,47);
  201.     document.MM_Time[0][3].values[0].prop = "left";
  202.     document.MM_Time[0][3].values[1] = new Array(211,211,211,211,212,212,212,212,212,213,213,214,215,216,218,220,223,225,228,231,234,236,239,241,243,244,244,244,244,243,243,242,242,242,242,243,245,246,247,248,250,251,252,254,255,255,255,254,254,253,253,252,252,251,252,255,257,260,262,265,267,270,272,274,273,272,271,270,268,267);
  203.     document.MM_Time[0][3].values[1].prop = "top";
  204.     if (!ns) {
  205.         document.MM_Time[0][3].values[0].prop2 = "style";
  206.         document.MM_Time[0][3].values[1].prop2 = "style";
  207.     }
  208.     document.MM_Time[0].lastFrame = 70;
  209.     for (i=0; i<document.MM_Time.length; i++) {
  210.         document.MM_Time[i].ID = null;
  211.         document.MM_Time[i].curFrame = 0;
  212.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  213.     }
  214. }
  215. //-->
  216. </script>
  217. </head>
  218. <bgsound id="BackgroundSound" type="audio/midi" src="../audio/Birthday (Xylophone).mid" repeat="1" loop="-1">
  219. <body bgcolor="#FFCC99" onLoad="MM_timelinePlay('Timeline1')" 
  220. >
  221. <div id="Layer2" style="position:absolute; left:7px; top:277px; width:78px; height:49px; z-index:2"> 
  222.   <a id="Link2" name="">
  223.     <img id="uImage013" src="../image/line2.gif" width="764" height="65" class="Fixed02"> 
  224.   </a></div>
  225. <div id="Layer3" style="position:absolute; left:530px; top:225px; width:28px; height:37px; z-index:8">
  226.   <a id="Link3" name="">
  227.     <img id="uImage09" src="../image/cake.gif" width="213" height="190" class="Fixed02">
  228.   </a></div>
  229. <div id="Layer7" style="position:absolute; left:159px; top:100px; width:266px; height:37px; z-index:10" class="ParentLayer">
  230.   <a id="Link7" name="">
  231.     <img id="uImage01" src="../image/photob4.jpg" width="254" height="173" class="ImageHolder" name="uImage01;254;173">
  232.   </a></div>
  233. <div id="Layer1" style="position:absolute; left:7px; top:120px; width:20px; height:21px; z-index:5">
  234.   <a id="Link1" name="">
  235.      <img id="uImage03" src="../image/line.gif" width="764" height="65" class="Fixed02">
  236.   </a></div>
  237. <div id="Layer9" style="position:absolute; left:605px; top:69px; width:30px; height:32px; z-index:12">
  238.   <a id="Link9" name="">
  239.     <img id="uImage04" src="../image/music.gif" width="62" height="72" class="Fixed02">
  240.   </a></div>
  241. <div id="Layer10" style="position:absolute; left:7px; top:211px; width:61px; height:34px; z-index:13">
  242.   <a id="Link10" name="">
  243.     <img id="uImage05" src="../image/music1gif.gif" width="80" height="91" class="Fixed02">
  244.   </a></div>
  245. <div id="Layer11" style="position:absolute; left:23px; top:113px; width:19px; height:57px; z-index:14">
  246.   <a id="Link11" name="">
  247.     <img id="uImage06" src="../image/music2.gif" width="26" height="71" class="Fixed02">
  248.   </a></div>
  249. <div id="Layer12" style="position:absolute; left:469px; top:96px; width:40px; height:44px; z-index:15">
  250.   <a id="Link12" name="">
  251.     <img id="uImage07" src="../image/music3.gif" width="69" height="80" class="Fixed02">
  252.   </a></div>
  253. <div id="Layer13" style="position:absolute; left:333px; top:315px; width:43px; height:57px; z-index:16">
  254.   <a id="Link13" name="">
  255.     <img id="uImage08" src="../image/pie.gif" width="83" height="86" class="Fixed02">
  256.   </a></div>
  257. <div id="Layer5" style="position:absolute; left:115px; top:62px; width:330px; height:239px; z-index:9" class="ParentLayer">
  258.   <a id="Link5" name=""> 
  259.     <img id="uImage02" src="../image/bp2-border.gif" width="342" height="246" class="Moveable01">
  260.   </a></div>
  261. <div id="Layer6" style="position:absolute; left:141px; top:16px; width:484px; height:48px; z-index:19" class="ParentLayer"> 
  262.   <a id="Link6" name="">
  263.     <p id="uText01" align="center" class="TextHolder01">Guess Who's a Year Older?
  264.   </a>  
  265. </div>
  266. <div id="Layer8" style="position:absolute; left:30px; top:374px; width:248px; height:45px; z-index:20"> 
  267.     <a id="Link8" name="http://www.novadevelopment.com">
  268.         <p id="uLogo01" align="center" class="Fixed01">
  269.     </a>  
  270. </div>
  271. <div id="Layer4" style="position:absolute; left:475px; top:196px; width:254px; height:70px; z-index:21" class="ParentLayer"> 
  272.     <a id="Link4" name="">
  273.         <p id="uText02" align="center" class="TextHolder02">Wishing all the very best on your birthday!
  274.     </a>       
  275. </div>
  276.  
  277. <div id="Layer14" style="position:absolute; left:37px; top:12px; width:20px; height:20px; z-index:6">
  278.     <a id="Link14" name="">
  279.         <img id="uImage10" src="../image/fire.gif" width="103" height="56" class="Fixed02">
  280.     </a>
  281. </div>
  282.  
  283. <div id="Layer15" style="position:absolute; left:523px; top:8px; width:6px; height:41px; z-index:7">
  284.   <a id="Link15" name="">
  285.     <img id="uImage11" src="../image/fire2.gif" width="103" height="86" class="Fixed02">
  286.   </a></div>
  287. <div id="Layer16" style="position:absolute; left:691px; top:19px; width:3px; height:40px; z-index:22">
  288.   <a id="Link16" name="">
  289.     <img id="uImage12" src="../image/fire3.gif" width="56" height="56" class="Fixed02">
  290.   </a>
  291. </div>
  292.  
  293. </body>
  294. <script language="JavaScript" src="../../WebCard.js">
  295. </script>
  296. </html>
  297.