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

  1. <html>
  2. <head>
  3. <title>Collection</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <script language="JavaScript">
  6. <!--
  7. function MM_timelinePlay(tmLnName, myID) { 
  8.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  9.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  10.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  11.   tmLn = document.MM_Time[tmLnName];
  12.   if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  13.   if (myID == tmLn.ID) { //if Im newest
  14.     setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
  15.     fNew = ++tmLn.curFrame;
  16.     for (i=0; i<tmLn.length; i++) {
  17.       sprite = tmLn[i];
  18.       if (sprite.charAt(0) == 's') {
  19.         if (sprite.obj) {
  20.           numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
  21.           if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
  22.             keyFrm=1;
  23.             for (j=0; j<sprite.values.length; j++) {
  24.               props = sprite.values[j]; 
  25.               if (numKeyFr != props.length) {
  26.                 if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
  27.                 else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
  28.               } else {
  29.                 while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
  30.                 if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
  31.                   if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
  32.                   else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
  33.         } } } } }
  34.       } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  35.       if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  36.   } }
  37. }
  38.  
  39. function MM_timelineGoto(tmLnName, fNew, numGotos) { //v2.0
  40.   //Copyright 1997 Macromedia, Inc. All rights reserved.
  41.   var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
  42.   if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  43.   tmLn = document.MM_Time[tmLnName];
  44.   if (numGotos != null)
  45.     if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
  46.     else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
  47.   jmpFwd = (fNew > tmLn.curFrame);
  48.   for (i = 0; i < tmLn.length; i++) {
  49.     sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
  50.     if (sprite.charAt(0) == "s") {
  51.       numKeyFr = sprite.keyFrames.length;
  52.       firstKeyFr = sprite.keyFrames[0];
  53.       lastKeyFr = sprite.keyFrames[numKeyFr - 1];
  54.       if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
  55.       for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
  56.       for (j=0; j<sprite.values.length; j++) {
  57.         props = sprite.values[j];
  58.         if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
  59.         else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
  60.         if (sprite.obj != null) {
  61.           if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
  62.           else        sprite.obj[props.prop2][props.prop] = props[propNum];
  63.       } }
  64.     } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
  65.   }
  66.   tmLn.curFrame = fNew;
  67.   if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
  68. }
  69.  
  70. function MM_preloadImages() { //v2.0
  71.   if (document.images) {
  72.     var imgFiles = MM_preloadImages.arguments;
  73.     if (document.preloadArray==null) document.preloadArray = new Array();
  74.     var i = document.preloadArray.length;
  75.     with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
  76.       preloadArray[i] = new Image;
  77.       preloadArray[i++].src = imgFiles[j];
  78.   } }
  79. }
  80.  
  81. function MM_swapImage() { //v2.0
  82.   var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  83.   for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
  84.     objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
  85.     if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
  86.         (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
  87.       objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
  88.     obj = eval(objStr);
  89.     if (obj != null) {
  90.       swapArray[j++] = obj;
  91.       swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
  92.       obj.src = MM_swapImage.arguments[i+2];
  93.   } }
  94.   document.MM_swapImgData = swapArray; //used for restore
  95. }
  96.  
  97. function MM_swapImgRestore() { //v2.0
  98.   if (document.MM_swapImgData != null)
  99.     for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
  100.       document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
  101. }
  102.  
  103. function MM_showHideLayers() { //v2.0
  104.   var i, visStr, args, theObj;
  105.   args = MM_showHideLayers.arguments;
  106.   for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
  107.     visStr   = args[i+2];
  108.     if (navigator.appName == 'Netscape' && document.layers != null) {
  109.       theObj = eval(args[i]);
  110.       if (theObj) theObj.visibility = visStr;
  111.     } else if (document.all != null) { //IE
  112.       if (visStr == 'show') visStr = 'visible'; //convert vals
  113.       if (visStr == 'hide') visStr = 'hidden';
  114.       theObj = eval(args[i+1]);
  115.       if (theObj) theObj.style.visibility = visStr;
  116.   } }
  117. }
  118.  
  119. function MM_initTimelines() {
  120.     //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
  121.     var ns = navigator.appName == "Netscape";
  122.     document.MM_Time = new Array(1);
  123.     document.MM_Time[0] = new Array(8);
  124.     document.MM_Time["Timeline1"] = document.MM_Time[0];
  125.     document.MM_Time[0].MM_Name = "Timeline1";
  126.     document.MM_Time[0].fps = 15;
  127.     document.MM_Time[0][0] = new String("behavior");
  128.     document.MM_Time[0][0].frame = 46;
  129.     document.MM_Time[0][0].value = "MM_timelineGoto('Timeline1','1')";
  130.     document.MM_Time[0][1] = new String("sprite");
  131.     document.MM_Time[0][1].slot = 1;
  132.     if (ns)
  133.         document.MM_Time[0][1].obj = document["Layer15"];
  134.     else
  135.         document.MM_Time[0][1].obj = document.all ? document.all["Layer15"] : null;
  136.     document.MM_Time[0][1].keyFrames = new Array(1, 5, 10);
  137.     document.MM_Time[0][1].values = new Array(2);
  138.     document.MM_Time[0][1].values[0] = new Array(-5,-1,3,9,20,35,54,73,93,112);
  139.     document.MM_Time[0][1].values[0].prop = "left";
  140.     document.MM_Time[0][1].values[1] = new Array(-5,47,98,146,188,210,225,235,243,252);
  141.     document.MM_Time[0][1].values[1].prop = "top";
  142.     if (!ns) {
  143.         document.MM_Time[0][1].values[0].prop2 = "style";
  144.         document.MM_Time[0][1].values[1].prop2 = "style";
  145.     }
  146.     document.MM_Time[0][2] = new String("sprite");
  147.     document.MM_Time[0][2].slot = 2;
  148.     if (ns)
  149.         document.MM_Time[0][2].obj = document["Layer1"];
  150.     else
  151.         document.MM_Time[0][2].obj = document.all ? document.all["Layer1"] : null;
  152.     document.MM_Time[0][2].keyFrames = new Array(20, 29, 45);
  153.     document.MM_Time[0][2].values = new Array(2);
  154.     document.MM_Time[0][2].values[0] = new Array(113,144,174,204,235,266,297,328,360,392,410,427,444,461,478,494,510,526,542,558,573,589,604,620,635,651);
  155.     document.MM_Time[0][2].values[0].prop = "left";
  156.     document.MM_Time[0][2].values[1] = new Array(251,240,227,215,203,192,182,174,168,166,167,170,174,179,184,190,197,203,211,218,225,233,241,249,256,263);
  157.     document.MM_Time[0][2].values[1].prop = "top";
  158.     if (!ns) {
  159.         document.MM_Time[0][2].values[0].prop2 = "style";
  160.         document.MM_Time[0][2].values[1].prop2 = "style";
  161.     }
  162.     document.MM_Time[0][3] = new String("behavior");
  163.     document.MM_Time[0][3].frame = 10;
  164.     document.MM_Time[0][3].value = "MM_showHideLayers('document.layers[\\\'leaf\\\']','document.all[\\\'leaf\\\']','hide');MM_showHideLayers('document.layers[\\\'Layer1\\\']','document.all[\\\'Layer1\\\']','show')";
  165.     document.MM_Time[0][4] = new String("behavior");
  166.     document.MM_Time[0][4].frame = 1;
  167.     document.MM_Time[0][4].value = "MM_showHideLayers('document.layers[\\\'leaf\\\']','document.all[\\\'leaf\\\']','show');MM_showHideLayers('document.layers[\\\'Layer1\\\']','document.all[\\\'Layer1\\\']','hide')";
  168.     document.MM_Time[0][5] = new String("sprite");
  169.     document.MM_Time[0][5].slot = 2;
  170.     if (ns)
  171.         document.MM_Time[0][5].obj = document["Layer2"];
  172.     else
  173.         document.MM_Time[0][5].obj = document.all ? document.all["Layer2"] : null;
  174.     document.MM_Time[0][5].keyFrames = new Array(8, 13, 17);
  175.     document.MM_Time[0][5].values = new Array(2);
  176.     document.MM_Time[0][5].values[0] = new Array(398,446,494,540,580,616,643,662,680,698);
  177.     document.MM_Time[0][5].values[0].prop = "left";
  178.     document.MM_Time[0][5].values[1] = new Array(-45,-7,31,67,97,122,137,143,146,147);
  179.     document.MM_Time[0][5].values[1].prop = "top";
  180.     if (!ns) {
  181.         document.MM_Time[0][5].values[0].prop2 = "style";
  182.         document.MM_Time[0][5].values[1].prop2 = "style";
  183.     }
  184.     document.MM_Time[0][6] = new String("behavior");
  185.     document.MM_Time[0][6].frame = 17;
  186.     document.MM_Time[0][6].value = "MM_showHideLayers('document.layers[\\\'Layer2\\\']','document.all[\\\'Layer2\\\']','hide')";
  187.     document.MM_Time[0][7] = new String("behavior");
  188.     document.MM_Time[0][7].frame = 8;
  189.     document.MM_Time[0][7].value = "MM_showHideLayers('document.layers[\\\'Layer2\\\']','document.all[\\\'Layer2\\\']','show')";
  190.     document.MM_Time[0].lastFrame = 46;
  191.     for (i=0; i<document.MM_Time.length; i++) {
  192.         document.MM_Time[i].ID = null;
  193.         document.MM_Time[i].curFrame = 0;
  194.         document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
  195.     }
  196. }
  197. //-->
  198. </script>
  199. <style type="text/css">
  200. <!--
  201. .AlbumTitleStyle {  font-family: "Times New Roman", "Times", "serif"; font-size: 36pt; font-style: italic; color: #FFCC66; text-align: center}
  202. .ThumbTitleStyle {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 10pt; font-style: normal; color: #330000; text-align: center}
  203. .Fixed02 {  font-family: "Arial", "Helvetica", "sans-serif"; font-size: 7pt; font-style: italic; color: #FFFFCC; text-align: center}
  204. .SignStyle {  font-family: "Times New Roman", "Times", "serif"; font-size: 10pt; font-style: italic; font-weight: bold; color: #FFFFFF}
  205. -->
  206. </style>
  207. <script language="JavaScript">
  208. <!-
  209. function MM_changeProp(objStrNS,objStrIE,theProp,theValue) { 
  210.   var NS = (navigator.appName == 'Netscape');
  211.   var objStr = (NS)?objStrNS:objStrIE;
  212.   if (( NS && (objStr.indexOf('document.layers[')!=0 || document.layers!=null)) ||
  213.       (!NS && (objStr.indexOf('document.all[')   !=0 || document.all   !=null))) {
  214.     var obj = eval(objStr);
  215.     if ((obj != null) && (theProp.indexOf("style.") != 0 || obj.style != null)) {
  216.       eval(objStr+'.'+theProp + '="'+theValue+'"');
  217.   } }
  218. }
  219.  
  220. var nCurImg = 0;
  221. var nTimeSlice = 1000;
  222. var nImgCount = 1;
  223. var ImgFileNameArray;
  224. var bPlay = false;
  225. var nTimeoutID = 0;
  226.  
  227. function CreateImageArray()
  228. {
  229.     ImgFileNameArray = new Array(nImgCount);
  230.     ImgFileNameArray[0] = "../image/col-photo.jpg";
  231. }
  232.  
  233. function SetHolderImage(nIndex)
  234. {    
  235.     if (nIndex < nImgCount) {
  236.         var ImgSrc = ImgFileNameArray[nIndex];
  237.         MM_changeProp("document.layers[\"Layer21\"].document.ImgHolder", "document.ImgHolder", "src", ImgSrc, "IMG");
  238.     }
  239.     else
  240.         window.alert("Array index out of bound");
  241. }
  242.  
  243. function OnLoadDocument()
  244. {
  245.     CreateImageArray();
  246.     SetHolderImage(0);
  247.     Play();
  248. }
  249.  
  250. function TimeoutProc()
  251. {
  252.     if (bPlay) {
  253.         Next();
  254.         nTimeroutID = window.setTimeout("TimeoutProc()", nTimeSlice);    
  255.     }
  256. }
  257.  
  258. function Play()
  259. {
  260.     if (!bPlay) {
  261.         bPlay = true;
  262.         nTimeroutID = window.setTimeout("TimeoutProc()", nTimeSlice);
  263.     }
  264. }
  265.  
  266. function Stop()
  267. {
  268.     if (bPlay) {
  269.         bPlay = false;
  270.         if (nTimeoutID != 0)
  271.             window.clearTimeout(nTimeoutID);
  272.     }
  273. }
  274.  
  275. function Next()
  276. {
  277.     nCurImg = (nCurImg + 1) % nImgCount;
  278.     SetHolderImage(nCurImg);
  279. }
  280.  
  281. function Previous()
  282. {
  283.     nCurImg = (nCurImg - 1) % nImgCount;
  284.     if (nCurImg < 0)
  285.         nCurImg += nImgCount;
  286.         
  287.     SetHolderImage(nCurImg);
  288. }
  289.  
  290. //-->
  291. </script>
  292.  
  293. </head>
  294. <bgsound id="BackgroundSound" type="audio/midi" src="../audio/Pomp & Circumstance.mid" repeat="1" loop="-1">
  295. <body onLoad="MM_timelinePlay('Timeline1');MM_preloadImages('../Image/btn_hom2.gif');MM_preloadImages('../Image/btn_pre2.gif');MM_preloadImages('../Image/btn_nxt2.gif');" background="../Image/maplebk.jpg">
  296. <div id="Layer4" style="position:absolute; left:0px; top:-1px; width:746px; height:400px; z-index:1"><img src="../Image/col-board.gif" width="760" height="420" name="Image1"></div>
  297. <div id="Layer5" style="position:absolute; left:208px; top:68px; width:443px; height:320px; z-index:2"><img src="../Image/col-paper.jpg" width="446" height="318"></div>
  298. <div id="Layer6" style="position:absolute; left:-10px; top:27px; width:220px; height:367px; z-index:3"><img src="../Image/paper_l.gif" width="224" height="363"></div>
  299. <div id="Layer7" style="position:absolute; left:208; top:66; width:385px; height:259px; z-index:5"><img src="../Image/col-frame.gif" width="447" height="321"></div>
  300. <div id="Layer8" style="position:absolute; left:409px; top:70px; width:60px; height:41px; z-index:21"><a href="#" onClick="#" onMouseOver="MM_swapImage('document.layers[\'Layer8\'].document.uHomeButton','document.uHomeButton','../Image/btn_hom2.gif','#959860590860')" onMouseOut="MM_swapImgRestore()"><img src="../Image/btn_hom1.gif" width="56" height="42" border="0" name="uHomeButton" alt="Home"></a></div>
  301. <div id="Layer3" style="position:absolute; left:214px; top:345px; width:65px; height:41px; z-index:9"><a href="#" onClick="#" onMouseOver="MM_swapImage('document.layers[\'Layer3\'].document.uPreviousButton','document.uPreviousButton','../Image/btn_pre2.gif','#959860648800')" onMouseOut="MM_swapImgRestore()"><img src="../Image/btn_pre1.gif" width="56" height="42" border="0" name="uPreviousButton" alt="Back"></a></div>
  302. <div id="Layer9" style="position:absolute; left:587px; top:344px; width:58px; height:40px; z-index:10"><a href="#" onClick="#" onMouseOver="MM_swapImage('document.layers[\'Layer9\'].document.uNextButton','document.uNextButton','../Image/btn_nxt2.gif','#959860681540')" onMouseOut="MM_swapImgRestore()"><img src="../Image/btn_nxt1.gif" width="56" height="42" border="0" name="uNextButton" alt="Next"></a></div>
  303. <div id="Layer15" style="position:absolute; left:-5px; top:-5px; width:94px; height:98px; z-index:11"><img src="../Image/l1.gif" width="109" height="107"></div>
  304. <div id="Layer1" style="position:absolute; left:113px; top:251px; width:109px; height:108px; z-index:12"><img src="../Image/l2.gif" width="99" height="102"></div>
  305. <div id="Layer2" style="position:absolute; left:398px; top:-45px; width:48px; height:49px; z-index:13"><img src="../Image/l3.gif" width="62" height="69"></div>
  306. <div id="Layer10" style="position:absolute; left:576px; top:276px; width:70px; height:60px; z-index:14"><img src="../Image/l4.gif" width="70" height="71"></div>
  307. <div id="Layer11" style="position:absolute; left:252; top:108; width:355px; height:239px; z-index:4"><img src="../Image/col-photo.jpg" width="359" height="240" name="uImage001"></div>
  308. <div id="Layer12" style="position:absolute; left:122px; top:15px; width:637px; height:52px; z-index:20"> 
  309.   <p id="uAlbumTitle" align="center" class="AlbumTitleStyle">Autumn Memories</p>
  310. </div>
  311. <div id="Layer13" style="position:absolute; left:280px; top:345px; width:303px; height:39px; z-index:19"> 
  312.   <p id="uThumbTitle001" align="center" class="ThumbTitleStyle">Your photo caption 
  313.     goes here!</p>
  314. </div>
  315. <div id="Layer14" style="position:absolute; left:312px; top:408px; width:233px; height:29px; z-index:17"> 
  316.   <p align="center"><a href="http://www.novadevelopment.com" class="Fixed02"> 
  317.      </a> </p>
  318. </div>
  319. <div id="Layer16" style="position:absolute; left:0; top:430; width:760; height:50; z-index:18; visibility: hidden"> 
  320.   <p id="uSignature" align="left" class="SignStyle">Input signature here!</p>
  321. </div>
  322. </body>
  323. </html>
  324.