home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <title>My Birthday Party</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <style type="text/css">
- <!--
- .AlbumTitleStyle { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 26pt; color: #CC0033}
- .ThumbTitleStyle { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 10pt; color: #D00030; font-weight: bold}
- .fixed01 { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 7pt; font-style: italic; color: #003399}
- -->
- </style>
- <script language="JavaScript">
- <!--
-
- function MM_preloadImages() {
- if (document.images) {
- var imgFiles = MM_preloadImages.arguments;
- if (document.preloadArray==null) document.preloadArray = new Array();
- var i = document.preloadArray.length;
- with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
- preloadArray[i] = new Image;
- preloadArray[i++].src = imgFiles[j];
- } }
- }
-
- function MM_swapImgRestore() {
- if (document.MM_swapImgData != null)
- for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
- document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
- }
-
- function MM_swapImage() {
- var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
- for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
- objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
- if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
- (objStr.indexOf('document.all[') ==0 && document.all ==null))
- objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
- obj = eval(objStr);
- if (obj != null) {
- swapArray[j++] = obj;
- swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
- obj.src = MM_swapImage.arguments[i+2];
- } }
- document.MM_swapImgData = swapArray; //used for restore
- }
-
- function MM_timelineGoto(tmLnName, fNew, numGotos) {
- //Copyright 1997 Macromedia, Inc. All rights reserved.
- var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj;
- if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
- tmLn = document.MM_Time[tmLnName];
- if (numGotos != null)
- if (tmLn.gotoCount == null) tmLn.gotoCount = 1;
- else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return}
- jmpFwd = (fNew > tmLn.curFrame);
- for (i = 0; i < tmLn.length; i++) {
- sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back
- if (sprite.charAt(0) == "s") {
- numKeyFr = sprite.keyFrames.length;
- firstKeyFr = sprite.keyFrames[0];
- lastKeyFr = sprite.keyFrames[numKeyFr - 1];
- if ((jmpFwd && fNew<firstKeyFr) || (!jmpFwd && lastKeyFr<fNew)) continue; //skip if untouchd
- for (keyFrm=1; keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++);
- for (j=0; j<sprite.values.length; j++) {
- props = sprite.values[j];
- if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only
- else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range
- if (sprite.obj != null) {
- if (props.prop2 == null) sprite.obj[props.prop] = props[propNum];
- else sprite.obj[props.prop2][props.prop] = props[propNum];
- } }
- } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
- }
- tmLn.curFrame = fNew;
- if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');
- }
- //-->
- </script>
- <style>.SignStyle { font-family: "Times New Roman", "Times", "serif"; font-size: 10pt; font-style: italic; font-weight: bold; color: #003366}
- </style>
- <script language="JavaScript">
- <!--
- function MM_changeProp(objStrNS,objStrIE,theProp,theValue) {
- var NS = (navigator.appName == 'Netscape');
- var objStr = (NS)?objStrNS:objStrIE;
- if (( NS && (objStr.indexOf('document.layers[')!=0 || document.layers!=null)) ||
- (!NS && (objStr.indexOf('document.all[') !=0 || document.all !=null))) {
- var obj = eval(objStr);
- if ((obj != null) && (theProp.indexOf("style.") != 0 || obj.style != null)) {
- eval(objStr+'.'+theProp + '="'+theValue+'"');
- } }
- }
-
-
- var nCurImg = 0;
- var nTimeSlice = 1000;
- var nImgCount = 1;
- var ImgFileNameArray;
- var bPlay = false;
- var nTimeoutID = 0;
-
-
- function CreateImageArray()
- {
- ImgFileNameArray = new Array(nImgCount);
- ImgFileNameArray[0] = "../image/mybir-photo.jpg";
- }
-
-
- function SetHolderImage(nIndex)
- {
- if (nIndex < nImgCount) {
- var ImgSrc = ImgFileNameArray[nIndex];
- MM_changeProp("document.layers[\"Layer21\"].document.ImgHolder", "document.ImgHolder", "src", ImgSrc, "IMG");
- }
- else
- window.alert("Array index out of bound");
- }
-
-
- function OnLoadDocument()
- {
- CreateImageArray();
-
- SetHolderImage(0);
-
- Play();
- }
-
-
- function TimeoutProc()
- {
- if (bPlay) {
- Next();
- nTimeroutID = window.setTimeout("TimeoutProc()", nTimeSlice);
- }
- }
-
- function Play()
- {
- if (!bPlay) {
- bPlay = true;
- nTimeroutID = window.setTimeout("TimeoutProc()", nTimeSlice);
- }
- }
-
- function Stop()
- {
- if (bPlay) {
- bPlay = false;
- if (nTimeoutID != 0)
- window.clearTimeout(nTimeoutID);
- }
- }
-
- function Next()
- {
- nCurImg = (nCurImg + 1) % nImgCount;
- SetHolderImage(nCurImg);
- }
-
- function Previous()
- {
- nCurImg = (nCurImg - 1) % nImgCount;
- if (nCurImg < 0)
- nCurImg += nImgCount;
-
- SetHolderImage(nCurImg);
- }
- //-->
- </script>
- </head>
- <bgsound id="BackgroundSound" type="audio/midi" src="../audio/Birthday (Xylophone).mid" repeat="1" loop="-1">
- <body background="../image/rose-bg.gif" onLoad="MM_preloadImages('../image/camera2.gif','#924505247830');MM_preloadImages('../image/button-pre1.gif','#924505276940');MM_preloadImages('../image/button-home1.gif','#924505293810');MM_preloadImages('../image/button-next1.gif','#924505308910')" link="#003399" vlink="#003399" alink="#003399">
- <div id="Layer5" style="position:absolute; width:341px; height:257px; z-index:3; left: 49px; top: 23px"><img src="../Image/photo-back3.gif" width="411" height="326"></div>
- <div id="Layer20" style="position:absolute; width:39px; height:30px; z-index:4; left: 166px; top: 84px"><img src="../image/frame-back.gif" width="447" height="287"></div>
- <div id="Layer6" style="position:absolute; width:32px; height:28px; z-index:7; left: 173px; top: 98px"><img name="uImage001" src="../Image/mybir-photo.jpg" width="423" height="264"></div>
- <div id="Layer19" style="position:absolute; width:30px; height:27px; z-index:10; left: 127px; top: 57px"><img src="../Image/frame3.gif" width="525" height="346"></div>
- <div id="Layer3" style="position:absolute; width:248px; height:254px; z-index:11; left: 524px; top: -40px"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer3\'].document.Image1','document.Image1','../image/camera2.gif','#924505247830')"><img src="../image/camera.gif" width="249" height="253" border="0" name="Image1"></a></div>
- <div id="Layer1" style="position:absolute; width:42px; height:31px; z-index:1; left: 0px; top: 6px">
- </div>
- <div id="Layer13" style="position:absolute; width:22px; height:32px; z-index:18; left: 382px; top: 365px"><a href="#" onClick="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer13\'].document.uPreviousButton','document.uPreviousButton','../image/button-pre1.gif','#924505276940')"><img src="../image/button-pre.gif" width="31" height="67" border="0" name="uPreviousButton" alt="Back"></a></div>
- <div id="Layer14" style="position:absolute; width:30px; height:29px; z-index:16; left: 427px; top: 365px"><a href="#" onClick="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer14\'].document.uHomeButton','document.uHomeButton','../image/button-home1.gif','#924505293810')"><img src="../image/button-home.gif" width="31" height="67" border="0" name="uHomeButton" alt="Home"></a></div>
- <div id="Layer15" style="position:absolute; width:24px; height:22px; z-index:17; left: 473px; top: 365px"><a href="#" onClick="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer15\'].document.uNextButton','document.uNextButton','../image/button-next1.gif','#924505308910')"><img src="../image/button-next.gif" width="31" height="67" border="0" name="uNextButton" alt="Next"></a></div>
- <div id="Layer16" style="position:absolute; width:749px; height:44px; z-index:23; left: 3px; top: 4px">
- <p id="uAlbumTitle" class="AlbumTitleStyle" align="center">My Birthday Party</p>
- </div>
- <div id="Layer7" style="position:absolute; left:0px; top:430; width:760; height:50; z-index:20; visibility: hidden">
- <p id="uSignature" align="left" class="SignStyle">Input signature here!</p>
- </div>
-
- <div id="Layer17" style="position:absolute; width:343px; height:39px; z-index:22; left: 178px; top: 362px">
- <p id="uThumbTitle001" class="ThumbTitleStyle" align="left">Your photo caption goes here!</p>
- </div>
- <div id="Layer18" style="position:absolute; width:399px; height:25px; z-index:21; left: 361px; top: 409px">
- <p class="fixed01" align="right"><a href="http://www.novadevelopment.com">
- </a></p>
- </div>
- <div id="Layer2" style="position:absolute; left:3px; top:272px; width:15px; height:25px; z-index:15"><img src="../Image/pen1.gif" width="190" height="77"></div>
- </body>
- </html>
-