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

  1. <HTML>
  2. <HEAD>
  3. <TITLE>Vacation Show</TITLE>
  4. <META http-equiv=""Content-Type"" content=""text/html"">
  5. <style type="text/css">
  6. <!--
  7. .AlbumTitleStyle {  font-family: "Times New Roman", "Times", "serif"; font-size: 36pt; font-style: normal; color: #FFCC99; text-align: center}
  8. .ThumbTitleStyle {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 9pt; color: #FFCCCC; font-style: normal; text-align: center}
  9. .Fied02 {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 7pt; font-style: italic; color: #FFFF99}
  10. .SignStyle {  font-family: "Times New Roman", "Times", "serif"; font-size: 10pt; font-style: italic; font-weight: bold; color: #ffffff}
  11. -->
  12. </style>
  13. <script language="JavaScript">
  14. <!--
  15. function MM_preloadImages() { //v2.0
  16.   if (document.images) {
  17.     var imgFiles = MM_preloadImages.arguments;
  18.     if (document.preloadArray==null) document.preloadArray = new Array();
  19.     var i = document.preloadArray.length;
  20.     with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
  21.       preloadArray[i] = new Image;
  22.       preloadArray[i++].src = imgFiles[j];
  23.   } }
  24. }
  25.  
  26. function MM_swapImage() { //v2.0
  27.   var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  28.   for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
  29.     objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
  30.     if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
  31.         (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
  32.       objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
  33.     obj = eval(objStr);
  34.     if (obj != null) {
  35.       swapArray[j++] = obj;
  36.       swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
  37.       obj.src = MM_swapImage.arguments[i+2];
  38.   } }
  39.   document.MM_swapImgData = swapArray; //used for restore
  40. }
  41.  
  42. function MM_timelinePlay(tmLnName, myID) { //v1.2
  43.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  44.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  45.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  46.   tmLn = document.MM_Time[tmLnName];
  47.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  48.   if (myID == tmLn.ID) { //if Im newest
  49.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  50.     fNew = ++tmLn.curFrame;
  51.     for (i=0; i<tmLn.length; i++) {
  52.       sprite = tmLn[i];
  53.       if (sprite.charAt(0) == 's') {
  54.         if (sprite.obj) {
  55.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  56.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  57.             keyFrm=1;
  58.             for (j=0; j<sprite.values.length; j++) {
  59.               props = sprite.values[j]; 
  60.               if (numKeyFr != props.length) {
  61.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  62.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  63.               } else {
  64.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  65.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  66.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  67.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  68.         } } } } }
  69.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  70.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  71.   } }
  72. }
  73.  
  74. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  75.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  76.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  77.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  78.   tmLn = document.MM_Time[tmLnName];
  79.   if (numGotos != null)
  80.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  81.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  82.   jmpFwd = (fNew > tmLn.curFrame);
  83.   for (i = 0; i < tmLn.length; i++) {
  84.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  85.     if (sprite.charAt(0) == "s") {
  86.       numKeyFr = sprite.keyFrames.length;
  87.       firstKeyFr = sprite.keyFrames[0];
  88.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  89.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  90.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  91.       for (j=0; j<sprite.values.length; j++) {
  92.         props = sprite.values[j];
  93.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  94.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  95.         if (sprite.obj != null) {
  96.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  97.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  98.       } }
  99.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  100.   }
  101.   tmLn.curFrame = fNew;
  102.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  103. }
  104.  
  105. <!--
  106. function MM_changeProp(objStrNS,objStrIE,theProp,theValue) { //v2.0
  107.   var NS = (navigator.appName == 'Netscape');
  108.   var objStr = (NS)?objStrNS:objStrIE;
  109.   if (( NS && (objStr.indexOf('document.layers[')!=0 || document.layers!=null)) ||
  110.       (!NS && (objStr.indexOf('document.all[')   !=0 || document.all   !=null))) {
  111.     var obj = eval(objStr);
  112.     if ((obj != null) && (theProp.indexOf("style.") != 0 || obj.style != null)) {
  113.       eval(objStr+'.'+theProp + '="'+theValue+'"');
  114.   } }
  115. }
  116.  
  117.  
  118. var nCurImg = 0;
  119. var nTimeSlice = 1000;
  120. var nImgCount = 1;
  121. var ImgFileNameArray;
  122. var bPlay = false;
  123. var nTimeoutID = 0;
  124.  
  125.  
  126. function CreateImageArray()
  127. {
  128.         ImgFileNameArray = new Array(nImgCount);
  129.         ImgFileNameArray[0] = "../image/photo-1.jpg";
  130. }
  131.  
  132.  
  133. function SetHolderImage(nIndex)
  134. {       
  135.         if (nIndex < nImgCount) {
  136.                 var ImgSrc = ImgFileNameArray[nIndex];
  137.                 MM_changeProp("document.layers[\"Layer21\"].document.ImgHolder", "document.ImgHolder", "src", ImgSrc, "IMG");
  138.         }
  139.         else
  140.                 window.alert("Array index out of bound");
  141. }
  142.  
  143.  
  144. function OnLoadDocument()
  145. {
  146.         CreateImageArray();
  147.  
  148.         SetHolderImage(0);
  149.         
  150.         Play();
  151. }
  152.  
  153.  
  154. function TimeoutProc()
  155. {
  156.         if (bPlay) {
  157.                 Next();
  158.                 nTimeroutID = window.setTimeout("TimeoutProc()", nTimeSlice);   
  159.         }
  160. }
  161.  
  162. function Play()
  163. {
  164.         if (!bPlay) {
  165.                 bPlay = true;
  166.                 nTimeroutID = window.setTimeout("TimeoutProc()", nTimeSlice);
  167.         }
  168. }
  169.  
  170. function Stop()
  171. {
  172.         if (bPlay) {
  173.                 bPlay = false;
  174.                 if (nTimeoutID != 0)
  175.                         window.clearTimeout(nTimeoutID);
  176.         }
  177. }
  178.  
  179. function Next()
  180. {
  181.         nCurImg = (nCurImg + 1) % nImgCount;
  182.         SetHolderImage(nCurImg);
  183. }
  184.  
  185. function Previous()
  186. {
  187.         nCurImg = (nCurImg - 1) % nImgCount;
  188.         if (nCurImg < 0)
  189.                 nCurImg += nImgCount;
  190.                 
  191.         SetHolderImage(nCurImg);
  192. }
  193.  
  194. function MM_initTimelines() {
  195.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  196.     var ns = navigator.appName == "Netscape";
  197.     document.MM_Time = new Array(1);
  198.     document.MM_Time[0] = new Array(8);
  199.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  200.     document.MM_Time[0].MM_Name = "Timeline1";
  201.     document.MM_Time[0].fps = 15;
  202.     document.MM_Time[0][0] = new String("sprite");
  203.     document.MM_Time[0][0].slot = 1;
  204.     if (ns)
  205.         document.MM_Time[0][0].obj = document["Layer15"];
  206.     else
  207.         document.MM_Time[0][0].obj = document.all ? document.all["Layer15"] : null;
  208.     document.MM_Time[0][0].keyFrames = new Array(1, 11, 23, 33, 44, 57);
  209.     document.MM_Time[0][0].values = new Array(3);
  210.     document.MM_Time[0][0].values[0] = new Array(311,350,390,429,469,508,546,582,616,648,678,683,672,659,646,633,621,609,596,582,568,554,539,520,501,483,465,447,429,411,393,375,362,384,407,429,452,476,499,523,548,572,597,621,598,575,551,528,504,480,456,431,407,383,359,334,310);
  211.     document.MM_Time[0][0].values[0].prop = "left";
  212.     document.MM_Time[0][0].values[1] = new Array(200,200,199,198,197,196,196,196,197,199,204,220,235,246,255,263,270,277,283,288,292,295,296,291,283,274,263,252,239,226,212,197,179,184,192,200,208,217,226,235,245,255,266,278,274,268,262,256,250,244,237,231,224,218,211,204,198);
  213.     document.MM_Time[0][0].values[1].prop = "top";
  214.     if (!ns) {
  215.         document.MM_Time[0][0].values[0].prop2 = "style";
  216.         document.MM_Time[0][0].values[1].prop2 = "style";
  217.     }
  218.     document.MM_Time[0][0].values[2] = new Array("22","15","15","15","15","15");
  219.     document.MM_Time[0][0].values[2].prop = "zIndex";
  220.     if (!ns)
  221.         document.MM_Time[0][0].values[2].prop2 = "style";
  222.     document.MM_Time[0][1] = new String("behavior");
  223.     document.MM_Time[0][1].frame = 58;
  224.     document.MM_Time[0][1].value = "MM_timelineGoto('Timeline1','1')";
  225.     document.MM_Time[0][2] = new String("behavior");
  226.     document.MM_Time[0][2].frame = 11;
  227.     document.MM_Time[0][2].value = "MM_swapImage('document.layers[\\\'Layer15\\\'].document.glider_y','document.glider_y','../Image/glider_y1.gif','#962360065070')";
  228.     document.MM_Time[0][3] = new String("behavior");
  229.     document.MM_Time[0][3].frame = 33;
  230.     document.MM_Time[0][3].value = "MM_swapImage('document.layers[\\\'Layer15\\\'].document.glider_y','document.glider_y','../Image/glider_y2.gif','#962360117190')";
  231.     document.MM_Time[0][4] = new String("behavior");
  232.     document.MM_Time[0][4].frame = 44;
  233.     document.MM_Time[0][4].value = "MM_swapImage('document.layers[\\\'Layer15\\\'].document.glider_y','document.glider_y','../Image/glider_y1.gif','#962360152130')";
  234.     document.MM_Time[0][5] = new String("behavior");
  235.     document.MM_Time[0][5].frame = 57;
  236.     document.MM_Time[0][5].value = "MM_swapImage('document.layers[\\\'Layer15\\\'].document.glider_y','document.glider_y','../Image/glider_y2.gif','#962360187440');MM_swapImage('document.layers[\\\'Layer14\\\'].document.glider_b','document.glider_b','../Image/glider_b1.gif','#962360993040')";
  237.     document.MM_Time[0][6] = new String("sprite");
  238.     document.MM_Time[0][6].slot = 2;
  239.     if (ns)
  240.         document.MM_Time[0][6].obj = document["Layer14"];
  241.     else
  242.         document.MM_Time[0][6].obj = document.all ? document.all["Layer14"] : null;
  243.     document.MM_Time[0][6].keyFrames = new Array(1, 10, 21, 33, 46, 57);
  244.     document.MM_Time[0][6].values = new Array(3);
  245.     document.MM_Time[0][6].values[0] = new Array(625,600,576,551,526,501,476,451,425,398,376,353,330,308,286,264,242,221,201,180,161,177,193,210,225,241,256,271,286,301,316,331,345,358,371,383,394,406,417,428,440,451,463,475,488,501,517,534,552,569,587,604,622,640,658,676,694);
  246.     document.MM_Time[0][6].values[0].prop = "left";
  247.     document.MM_Time[0][6].values[1] = new Array(207,221,235,250,264,278,291,302,312,320,324,326,326,326,325,324,322,320,317,314,310,307,307,306,305,304,303,302,301,299,297,294,290,285,280,273,266,259,251,243,236,228,221,214,208,202,196,191,186,182,178,174,170,167,163,160,156);
  248.     document.MM_Time[0][6].values[1].prop = "top";
  249.     if (!ns) {
  250.         document.MM_Time[0][6].values[0].prop2 = "style";
  251.         document.MM_Time[0][6].values[1].prop2 = "style";
  252.     }
  253.     document.MM_Time[0][6].values[2] = new Array("23","15","15","15","15","15");
  254.     document.MM_Time[0][6].values[2].prop = "zIndex";
  255.     if (!ns)
  256.         document.MM_Time[0][6].values[2].prop2 = "style";
  257.     document.MM_Time[0][7] = new String("behavior");
  258.     document.MM_Time[0][7].frame = 21;
  259.     document.MM_Time[0][7].value = "MM_swapImage('document.layers[\\\'Layer14\\\'].document.glider_b','document.glider_b','../Image/glider_b2.gif','#962360925480')";
  260.     document.MM_Time[0].lastFrame = 58;
  261.     for (i=0; i<document.MM_Time.length; i++) {
  262.         document.MM_Time[i].ID = null;
  263.         document.MM_Time[i].curFrame = 0;
  264.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  265.     }
  266. }
  267. //-->
  268. </script>
  269. </HEAD>
  270. <bgsound id="BackgroundSound" type="audio/midi" src="../audio/Chihuahua Glee.mid" repeat="1" loop="-1">
  271. <BODY BGCOLOR="#356bc3" onLoad="MM_preloadImages('../Image/btm_nxt2.gif','#962359448970');MM_preloadImages('../Image/btn_hom2.gif','#962359608860');MM_preloadImages('../Image/btn_pre2.gif','#962359619350');MM_timelinePlay('Timeline1');MM_preloadImages('../Image/glider_y1.gif','#962360065070');MM_preloadImages('../Image/glider_y2.gif','#962360117190');MM_preloadImages('../Image/glider_y1.gif','#962360152130');MM_preloadImages('../Image/glider_y2.gif','#962360187440');MM_preloadImages('../Image/glider_b2.gif','#962360925480');MM_preloadImages('../Image/glider_b1.gif','#962360993040');MM_preloadImages('../Image/btn_hom1.gif','#962361229160');MM_preloadImages('../Image/btn_nxt1.gif','#962361271400');MM_preloadImages('../Image/btn_pre1.gif','#962361294030')">
  272. <div id="Layer1" style="position:absolute; left:0px; top:0px; width:304px; height:61px; z-index:1"><img src="../Image/vaca-1.jpg" width=334 height=67 border=0 name="Image4"></div>
  273. <div id="Layer2" style="position:absolute; left:404px; top:65px; width:159px; height:72px; z-index:4"><img src="../Image/vaca-5.jpg" width=181 height=149 border=0></div>
  274. <div id="Layer3" style="position:absolute; left:585px; top:65px; width:168px; height:124px; z-index:5"><img src="../Image/vaca-6.jpg" width=175 height=149 border=0></div>
  275. <div id="Layer4" style="position:absolute; left:0px; top:65px; width:305px; height:203px; z-index:6"><img src="../Image/vaca-4.jpg" width=404 height=239 border=0></div>
  276. <div id="Layer5" style="position:absolute; left:405px; top:214px; width:186px; height:87px; z-index:7"><img src="../Image/vaca-7.jpg" width=356 height=90 border=0></div>
  277. <div id="Layer8" style="position:absolute; left:0px; top:342px; width:751px; height:67px; z-index:8"><img src="../Image/vaca-9.jpg" width=760 height=76 border=0></div>
  278. <div id="Layer9" style="position:absolute; left:76px; top:126px; width:205px; height:133px; z-index:9"><img src="../Image/vaca-frame_bk.jpg" width="284" height="190"></div>
  279. <div id="Layer11" style="position:absolute; left:502px; top:141px; width:29px; height:36px; z-index:14"><a href="#" onClick="#" onMouseOut="MM_swapImage('document.layers[\'Layer11\'].document.Image1','document.Image1','../Image/btn_nxt1.gif','#962361271400')" onMouseOver="MM_swapImage('document.layers[\'Layer11\'].document.Image1','document.Image1','../Image/btm_nxt2.gif','#962359448970')"><img src="../Image/btn_nxt1.gif" width="43" height="42" border="0" name="uNextButton"></a></div>
  280. <div id="Layer12" style="position:absolute; left:384px; top:141px; width:36px; height:36px; z-index:15"><a href="#" onClick="#" onMouseOut="MM_swapImage('document.layers[\'Layer12\'].document.Image3','document.Image3','../Image/btn_pre1.gif','#962361294030')" onMouseOver="MM_swapImage('document.layers[\'Layer12\'].document.Image3','document.Image3','../Image/btn_pre2.gif','#962359619350')"><img src="../Image/btn_pre1.gif" width="43" height="42" border="0" name="uPreviousButton"></a></div>
  281. <div id="Layer13" style="position:absolute; left:439px; top:141px; width:29px; height:32px; z-index:16"><a href="#" onClick="#" onMouseOut="MM_swapImage('document.layers[\'Layer13\'].document.Image2','document.Image2','../Image/btn_hom1.gif','#962361229160')" onMouseOver="MM_swapImage('document.layers[\'Layer13\'].document.Image2','document.Image2','../Image/btn_hom2.gif','#962359608860')"><img src="../Image/btn_hom1.gif" width="43" height="42" border="0" name="uHomeButton"></a></div>
  282. <div id="Layer14" style="position:absolute; left:625px; top:207px; width:70px; height:24px; z-index:23"><img src="../Image/glider_b1.gif" width="77" height="31" name="glider_b"></div>
  283. <div id="Layer15" style="position:absolute; left:311px; top:200px; width:76px; height:33px; z-index:22"><img src="../Image/glider_y2.gif" width="78" height="30" name="glider_y"></div>
  284. <div id="Layer16" style="position:absolute; left:1px; top:8px; width:747px; height:52px; z-index:25" class="AlbumTitleStyle"> 
  285.   <p id="uAlbumTitle" class="AlbumTitleStyle">My Dream Vacation</p>
  286. </div>
  287. <div id="Layer17" style="position:absolute; left:82px; top:81px; width:274px; height:48px; z-index:24"> 
  288.   <p id="uThumbTitle001" align="center" class="ThumbTitleStyle">Your photo caption 
  289.     goes here!</p>
  290. </div>
  291. <div id="Layer18" style="position:absolute; left:561px; top:386px; width:169px; height:11px; z-index:21" class="Fied02">
  292.   <p><a href="http://www.novadevelopment.com" class="Fied02">
  293. </a> </p>
  294. </div>
  295. <div id="Layer19" style="position:absolute; left:82px; top:130px; width:273px; height:182px; z-index:10"><img src="../image/vaca-photo.jpg" width="275" height="183" name="uImage001"></div>
  296. <div id="Layer20" style="position:absolute; left:0px; top:304px; width:226px; height:24px; z-index:3"><img src="../Image/vaca-8.jpg" width="760" height="38"></div>
  297. <div id="Layer6" style="position:absolute; left:0px; top:79px; width:600px; height:268px; z-index:11"><img src="../Image/vaca-frame.gif" width="624" height="285"></div>
  298. <div id="Layer10" style="position:absolute; left:0px; top:430px; width:760px; height:48px; z-index:10; visibility: hidden"> 
  299.   <p id="uSignature" align="left" class="SignStyle">Input signature here!</p>
  300. </div>
  301. </BODY>
  302. </HTML>
  303.