Forums

This topic is locked

Photo Feature Done... needs a home tab

Posted 26 Aug 2008 06:09:20
1
has voted
26 Aug 2008 06:09:20 Lisa Harman posted:
I found a programme which gave me what i needed and have since installed that here www.lisaharman.com/Images/2008%20layouts/index.html

the only thing is I need a home button so people can get back to the home page..

I am not sure how to put it into the code.

this is the code for the page if it will help


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Porta 0.99" />
<meta name="description" content="Web photo album generated by Porta - www.stegmann.dk/mikkel/porta/ and displayed by SimpleViewer - www.airtightinteractive.com/simpleviewer/" />
<link rel="shortcut icon" href="ext/porta.ico" type="image/ico" />
<link rel="stylesheet" type="text/css" href="ext/css/appearance.css" />
<script type="text/javascript" src="ext/js/swfobject.js"></script>
<title>lisaharman 2007 layouts</title>
<style type="text/css">
/* hide from ie on mac \*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 100%;
}
/* end hide */

body {
height: 100%;
margin: 0px;
padding: 0px;
background-color: #ffffff;
color: #000000;
}
a, a:hover {
color: #000000;
background-color: inherit;
}
</style>
</head>
<body>
<div id="mainlayer" style="visibility: visible; position:absolute; top: 0; left: 0; width: 100%; height: 100%; z-index:1;">
<div id="flashcontent">
<br/>
<br/>
<br/>
<br/>
This Porta-generated SimpleViewer album requires
<a href="www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Adobe Flash ver. 7 (or newer)</a>.
<br/>
<br/>
<br/>
If you already have Flash installed, view the <a href="index.html?detectflash=false">Flash-based album</a>.
<br/>
<br/>
Otherwise, view the <a href="index_html.html">HTML-based album</a>.
</div>
<script type="text/javascript">
var fo = new SWFObject("ext/viewer.swf", "viewer", "100%", "100%", "7", "#ffffff";
fo.addVariable("preloaderColor", "0xffffff";
fo.addVariable("xmlDataPath", "gallery.xml";
fo.addVariable("fontColor", "0x000000";
fo.addVariable("footer", "© 2008";
fo.write("flashcontent";
</script>
</div>

<div id="introlayer" style="visibility: hidden; position:absolute; top: 0; left: 0; width: 100%; height: 100%; z-index:1; background: #ffffff;overflow:auto">
<div style="margin-top:60px;width:550px;margin-left:auto;margin-right:auto;;">
<span class="title" style="color: #000000;"></span><br/><br/>

<p style="text-align:right;">
<a href="javascript:show_album();">>></a>
</p>
</div>
</div>

<script type="text/javascript" language="javascript">

function show_album() {

document.getElementById('mainlayer').style.visibility = 'visible';
document.getElementById('introlayer').style.visibility = 'hidden';
}

function show_intro() {

document.getElementById('mainlayer').style.visibility = 'hidden';
document.getElementById('introlayer').style.visibility = 'visible';
}

var skip_intro = window.location.href.indexOf("?skip_intro"!=-1;
if (!skip_intro && 0) {

show_intro();
}
</script>
</body>
</html>




can anyone please help me on how to write the code and where to install it into the code... if that makes sense..

thanks in advance for all the help.. it is appreciated heaps.

Reply to this topic