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

  1. <html>
  2. <head>
  3. <title>Happy Birthday!</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-color:green;
  24. border-width:0px;
  25. ; border: 0px green groove}
  26.  
  27. .ImageHolder {
  28. cursor:hand;
  29. }
  30.  
  31. .VideoHolder {
  32. cursor:hand;
  33. }
  34.  
  35. .Moveable01 {
  36. cursor:hand;
  37. position:relative;
  38. font-family:"Arial";
  39. font-size:12pt;
  40. font-style:italic;
  41. font-weight:bold;
  42. text-align:left;
  43. color:#ffffff;
  44. }
  45.  
  46. .Fixed01 {  
  47. font-family: Arial, Helvetica, sans-serif; 
  48. font-size: 7pt; 
  49. font-weight: normal;
  50. font-style: italic; 
  51. color: #003399; 
  52. text-align: center
  53. }
  54.  
  55. .Fixed02 { 
  56. cursor:arrow;
  57. font-family: Arial, Helvetica, sans-serif; 
  58. font-size: 7pt; 
  59. font-weight: normal;
  60. font-style: italic; 
  61. color: #ffff99; 
  62. text-align: center 
  63. }
  64.  
  65. .Dynamic01 {
  66. cursor:arrow;
  67. position:relative;
  68. font-family:"Arial";
  69. font-size:12pt;
  70. font-style:italic;
  71. font-weight:bold;
  72. text-align:left;
  73. color:#ffff00;
  74. }
  75.  
  76. .TextHolder02 { cursor:hand; position:relative; font-family:"Arial", "Helvetica", "sans-serif"; font-size:12pt; text-align:left; color:#000000; ; font-weight: bold}
  77.  
  78. .SoundClip {
  79. cursor:hand;
  80. position:relative;
  81. }
  82. </style>
  83. <script language="JavaScript">
  84. <!--
  85. function MM_timelinePlay(tmLnName, myID) { //v1.2
  86.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  87.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  88.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  89.   tmLn = document.MM_Time[tmLnName];
  90.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  91.   if (myID == tmLn.ID) { //if Im newest
  92.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  93.     fNew = ++tmLn.curFrame;
  94.     for (i=0; i<tmLn.length; i++) {
  95.       sprite = tmLn[i];
  96.       if (sprite.charAt(0) == 's') {
  97.         if (sprite.obj) {
  98.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  99.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  100.             keyFrm=1;
  101.             for (j=0; j<sprite.values.length; j++) {
  102.               props = sprite.values[j]; 
  103.               if (numKeyFr != props.length) {
  104.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  105.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  106.               } else {
  107.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  108.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  109.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  110.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  111.         } } } } }
  112.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  113.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  114.   } }
  115. }
  116.  
  117. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  118.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  119.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  120.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  121.   tmLn = document.MM_Time[tmLnName];
  122.   if (numGotos != null)
  123.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  124.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  125.   jmpFwd = (fNew > tmLn.curFrame);
  126.   for (i = 0; i < tmLn.length; i++) {
  127.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  128.     if (sprite.charAt(0) == "s") {
  129.       numKeyFr = sprite.keyFrames.length;
  130.       firstKeyFr = sprite.keyFrames[0];
  131.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  132.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  133.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  134.       for (j=0; j<sprite.values.length; j++) {
  135.         props = sprite.values[j];
  136.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  137.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  138.         if (sprite.obj != null) {
  139.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  140.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  141.       } }
  142.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  143.   }
  144.   tmLn.curFrame = fNew;
  145.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  146. }
  147.  
  148. function MM_showHideLayers() { //v2.0
  149.   var i, visStr, args, theObj;
  150.   args = MM_showHideLayers.arguments;
  151.   for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
  152.     visStr   = args[i+2];
  153.     if (navigator.appName == 'Netscape' && document.layers != null) {
  154.       theObj = eval(args[i]);
  155.       if (theObj) theObj.visibility = visStr;
  156.     } else if (document.all != null) { //IE
  157.       if (visStr == 'show') visStr = 'visible'; //convert vals
  158.       if (visStr == 'hide') visStr = 'hidden';
  159.       theObj = eval(args[i+1]);
  160.       if (theObj) theObj.style.visibility = visStr;
  161.   } }
  162. }
  163.  
  164. function MM_initTimelines() {
  165.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  166.     var ns = navigator.appName == "Netscape";
  167.     document.MM_Time = new Array(1);
  168.     document.MM_Time[0] = new Array(1);
  169.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  170.     document.MM_Time[0].MM_Name = "Timeline1";
  171.     document.MM_Time[0].fps = 15;
  172.     document.MM_Time[0][0] = new String("behavior");
  173.     document.MM_Time[0][0].frame = 36;
  174.     document.MM_Time[0][0].value = "MM_timelineGoto('Timeline1','1')";
  175.     document.MM_Time[0].lastFrame = 36;
  176.     for (i=0; i<document.MM_Time.length; i++) {
  177.         document.MM_Time[i].ID = null;
  178.         document.MM_Time[i].curFrame = 0;
  179.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  180.     }
  181. }
  182.  
  183. function webcard_swapcake(IsShowCake) 
  184. {
  185.     if(IsShowCake)
  186.     {
  187.         MM_showHideLayers('document.layers[\'Layer7\']','document.all[\'Layer7\']','hide');
  188.         MM_showHideLayers('document.layers[\'Layer8\']','document.all[\'Layer8\']','hide');
  189.         MM_showHideLayers('document.layers[\'Layer2\']','document.all[\'Layer2\']','show');
  190.         MM_showHideLayers('document.layers[\'Layer4\']','document.all[\'Layer4\']','show');
  191.     }
  192.     else
  193.     {
  194.         MM_showHideLayers('document.layers[\'Layer7\']','document.all[\'Layer7\']','show');
  195.         MM_showHideLayers('document.layers[\'Layer8\']','document.all[\'Layer8\']','show');
  196.         MM_showHideLayers('document.layers[\'Layer2\']','document.all[\'Layer2\']','hide');
  197.         MM_showHideLayers('document.layers[\'Layer4\']','document.all[\'Layer4\']','hide');
  198.     }
  199. }
  200. //-->
  201. </script>
  202. </head>
  203. <bgsound id="BackgroundSound" type="audio/midi" src="../audio/Birthday (Horn).mid" repeat="1" loop="-1">
  204. <body onLoad="MM_timelinePlay('Timeline1');webcard_swapcake(true);" background="../image/bp3-BG.gif">
  205. <div id="Layer9" style="position:absolute; left:397px; top:6px; width:302px; height:201px; z-index:20" class="ParentLayer"> 
  206.   <a id="Link9" name="">
  207.     <img id="uImage01" src="../image/bp3-photo6.jpg" width="361" height="240" class="ImageHolder" name="uImage01;361;240"> 
  208.   </a></div>
  209. <div id="Layer1" style="position:absolute; left:0; top:0; width:135px; height:162px; z-index:15"> 
  210.     <a id="Link1" name="">
  211.         <img id="uImage02" src="../image/ggsd.jpg" width="381" height="380" class="Fixed02"> 
  212.     </a>
  213. </div>
  214. <div id="Layer2" style="position:absolute; left:0px; top:65px; width:168px; height:154px; z-index:16"> 
  215.   <a id="Link2" name="">
  216.     <img id="uImage03" src="../image/cake.jpg" width="305" height="244" name="uImage03" class="Dynamic01"> 
  217.   </a> </div>
  218. <div id="Layer4" style="position:absolute; left:85px; top:36px; width:78px; height:116px; z-index:17">
  219.     <a    id="Link4" 
  220.         name="" 
  221.         href="#" 
  222.         onMouseOut="MM_showHideLayers('document.layers[\'Layer7\']','document.all[\'Layer7\']','hide')">
  223.         <img    id="uImage06" 
  224.                 src="../image/eeeeee.gif" 
  225.                 width="86" 
  226.                 height="127" 
  227.                 onMouseDown="webcard_swapcake(false);" border="0" name="uImage02" class="Dynamic01">
  228.     </a>
  229. </div>
  230. <div id="Layer7" style="position:absolute; left:0; top:0; width:225px; height:305px; z-index:19; visibility: hidden">
  231.     <a id="Link2" name="">
  232.         <img id="uImage04" src="../image/black.gif" width="381" height="380" class="Dynamic01">
  233.     </a>
  234. </div>
  235. <div id="Layer8" style="position:absolute; left:266px; top:14px; width:109px; height:159px; z-index:18; visibility: hidden"> 
  236.   <a id="Link8" name="">
  237.     <img id="uImage05" src="../image/hhhhh.gif" width="115" height="165" class="Dynamic01"> 
  238.   </a> 
  239. </div>
  240. <div id="Layer10" style="position:absolute; left:398; top:328; width:300; height:42; z-index:24" class="ParentLayer"> 
  241.   <a id="Link10" name="">
  242.     <p id="uText02" align="center" class="TextHolder02">Here's wishing you all the best on your birthday!   
  243. </a> 
  244. </div>
  245. <div id="Layer3" style="position:absolute; left:398px; top:248px; width:360px; height:52px; z-index:23" class="ParentLayer"> 
  246.   <a id="Link3" name="">
  247.   <p id="uText01" align="center" class="TextHolder01">Happy Birthday! 
  248.   </a>
  249. </div>
  250. <div id="Layer5" style="position:absolute; left:518px; top:384px; width:240px; height:35px; z-index:21" class="WebPageTitle"> 
  251. <div>
  252.   <a id="Link5" name="http://www.novadevelopment.com">
  253.   <p id="uLogo01" align="right" class="Fixed01">
  254.   </a> 
  255. </div>
  256. </div>
  257. </body>
  258. <script language="JavaScript" src="../../WebCard.js">
  259. </script>
  260. </html>
  261.