home *** CD-ROM | disk | FTP | other *** search
Wrap
<html> <head> <title>My Summer Vacation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"> <!-- 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_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_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_timelinePlay(tmLnName, myID) { //Copyright 1997 Macromedia, Inc. All rights reserved. var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false; if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time tmLn = document.MM_Time[tmLnName]; if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID if (myID == tmLn.ID) { //if Im newest setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay); fNew = ++tmLn.curFrame; for (i=0; i<tmLn.length; i++) { sprite = tmLn[i]; if (sprite.charAt(0) == 's') { if (sprite.obj) { numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0]; if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range keyFrm=1; for (j=0; j<sprite.values.length; j++) { props = sprite.values[j]; if (numKeyFr != props.length) { if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr]; else sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr]; } else { while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++; if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) { if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1]; else sprite.obj[props.prop2][props.prop] = props[keyFrm-1]; } } } } } } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value); if (fNew > tmLn.lastFrame) tmLn.ID = 0; } } } 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)'); } function MM_initTimelines() { //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved. var ns = navigator.appName == "Netscape"; document.MM_Time = new Array(1); document.MM_Time[0] = new Array(2); document.MM_Time["Timeline1"] = document.MM_Time[0]; document.MM_Time[0].MM_Name = "Timeline1"; document.MM_Time[0].fps = 15; document.MM_Time[0][0] = new String("sprite"); document.MM_Time[0][0].slot = 1; if (ns) document.MM_Time[0][0].obj = document["Layer12"]; else document.MM_Time[0][0].obj = document.all ? document.all["Layer12"] : null; document.MM_Time[0][0].keyFrames = new Array(1, 13, 18, 21, 22, 24, 35, 38, 41, 46, 55); document.MM_Time[0][0].values = new Array(2); document.MM_Time[0][0].values[0] = new Array(153,149,145,140,136,132,128,124,120,116,113,110,107,102,100,99,98,96,92,89,87,85,82,83,85,88,91,94,98,102,105,109,112,115,117,119,118,117,118,120,120,118,114,111,107,103,100,97,94,91,88,84,81,77,74); document.MM_Time[0][0].values[0].prop = "left"; document.MM_Time[0][0].values[1] = new Array(263,261,259,258,256,254,252,250,249,247,245,243,241,236,231,226,222,218,215,214,214,215,212,205,202,199,196,193,189,185,181,178,174,171,168,161,156,152,148,145,140,138,136,135,131,126,121,115,109,103,95,88,80,73,65); document.MM_Time[0][0].values[1].prop = "top"; if (!ns) { document.MM_Time[0][0].values[0].prop2 = "style"; document.MM_Time[0][0].values[1].prop2 = "style"; } document.MM_Time[0][1] = new String("behavior"); document.MM_Time[0][1].frame = 56; document.MM_Time[0][1].value = "MM_timelineGoto('Timeline1','1')"; document.MM_Time[0].lastFrame = 56; for (i=0; i<document.MM_Time.length; i++) { document.MM_Time[i].ID = null; document.MM_Time[i].curFrame = 0; document.MM_Time[i].delay = 1000/document.MM_Time[i].fps; } } //--> </script> <style type="text/css"> <!-- .AlbumTitleStyle { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 24pt; color: #FFFF99} .ThumbTitleStyle { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 9pt; color: #CCFFFF} .Fixed02 { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 7pt; font-style: italic; color: #FFFFCC} --> </style> <style> IMG { position:relative; cursor:hand; } .SignStyle { font-family: "Times New Roman", "Times", "serif"; font-size: 10pt; font-style: italic; font-weight: bold; color: #CCFFFF} </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/summer-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/Good Friends, Good Times.mid" repeat="1" loop="-1"> <body bgcolor="#065A1E" onLoad="MM_preloadImages('../image/W2.gif','#923372149110');MM_preloadImages('../image/W4.gif','#923372168550');MM_preloadImages('../image/W6.gif','#923372246980');MM_timelinePlay('Timeline1')" link="#FFFF99" vlink="#FFFF99" alink="#FFFF99"> <div id="Layer2" style="position:absolute; left:649px; top:158px; width:27px; height:24px; z-index:2"> <div align="left"><a href="#" onClick="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer2\'].document.uPreviousButton','document.uPreviousButton','../image/W2.gif','#923372149110')"><img name="uPreviousButton" border="0" src="../image/W1.gif" width="44" height="46" alt="Back"></a></div> </div> <div id="Layer3" style="position:absolute; left:650px; top:224px; width:25px; height:23px; z-index:3"> <div align="left"><a href="#" onClick="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer3\'].document.uHomeButton','document.uHomeButton','../image/W4.gif','#923372168550')"><img name="uHomeButton" border="0" src="../image/W3.gif" width="46" height="53" alt="Home"></a></div> </div> <div id="Layer6" style="position:absolute; left:282px; top:119px; width:88px; height:86px; z-index:6"><img name="uImage001" src="../image/summer-photo.jpg" width="303" height="200"></div> <div id="Layer13" style="position:absolute; left:3px; top:-1px; width:734px; height:410px; z-index:1"><img src="../image/back-final.jpg" width="729" height="406"></div> <div id="Layer8" style="position:absolute; left:651px; top:299px; width:11px; height:14px; z-index:7"><a href="#" onClick="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('document.layers[\'Layer8\'].document.uNextButton','document.uNextButton','../image/W6.gif','#923372246980')"><img name="uNextButton" border="0" src="../image/W5.gif" width="44" height="46" alt="Next"></a></div> <div id="Layer12" style="position:absolute; left:153px; top:263px; width:30px; height:33px; z-index:8"><img src="../image/ZS1.gif" width="67" height="77"></div> <div id="Layer11" style="position:absolute; width:727px; height:39px; z-index:17; left: 27px; top: 3px"> <p id="uAlbumTitle" align="center" class="AlbumTitleStyle">My Summer Vacation</p> </div> <div id="Layer10" style="position:absolute; left:794px; top:32px; width:0px; height:1px; z-index:9"></div> <div id="Layer5" style="position:absolute; width:268px; height:28px; z-index:15; left: 7px; top: 380px"> <p class="Fixed02" align="left"><a href="http://www.novadevelopment.com" class="Fixed02"> </a></p> </div> <div id="Layer7" style="position:absolute; left:0; top:430; width:760; height:50px; z-index:14; visibility: hidden"> <p id="uSignature" align="left" class="SignStyle">Input signature here!</p> </div> <div id="Layer4" style="position:absolute; width:387px; height:38px; z-index:16; left: 246px; top: 356px"> <p id="uThumbTitle001" class="ThumbTitleStyle" align="center">Your photo caption goes here!</p> </div> </body> </html>