vista just wants to overwrite the sv gallery follders of the first one whn i copy folder contents into my website folder.
The first thing to do is to keep all your galleries separate in individual folders with different names.
1.You can now create a menu page that links to the index.html page in each gallery folder.
(whst sort of menu page and how do i link it to index.html?)
As an example, say you have 2 galleries.
The first gallery's files are all in a folder named 'gallery1' and the second gallery's files are all in a folder named 'gallery2'.
A very basic menu page with links to each gallery (which would then open in separate tabs/windows) would look like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>SimpleViewer Gallery</title>
</head>
<body>
<a href="gallery1/index.html">Click to open Gallery #1 in a new tab</a>
<a href="gallery2/index.html">Click to open Gallery #2 in a new tab</a>
</body>
</html>
If you wanted to embed both galleries in a single page, your page would look something like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>SimpleViewer Gallery</title>
</head>
<body>
<script type="text/javascript" src="gallery1/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars1={};
flashvars1.baseURL="gallery1/";
simpleviewer.ready(function () {
simpleviewer.load('sv-container1', '800', '300', '222222', true, flashvars1);
});
var flashvars2={};
flashvars2.baseURL="gallery2/";
simpleviewer.ready(function () {
simpleviewer.load('sv-container2', '800', '300', '222222', true, flashvars2);
});
</script>
<div id="sv-container1"></div>
<div id="sv-container2"></div>
</body>
</html>
2. We recommend that you keep the embedding HTML page in the same folder as the rest of the gallery assets (the gallery folder).
( i dont have a gallery folder in my website folder because once teh contents are contained in folder, i cannot view my sv gallery, i have to copy the contents and paste them in my website folder directly.
Upload your gallery folders in their entirety (ie. upload the folders themselves, not just the contents).
If you have multiple galleries, it is much easier to keep them all separate.
You then have three options:
(1) Link to each 'index.html' file (which will open the galleries in new tabs/windows)
(2) Embed the gallery in a page using an <iframe> which loads the 'index.html' page into a frame on a page
See the second method of embedding here.
(3) Ignore the 'index.html' page and embed the gallery into a different page using the baseURL option
See the first method of embedding here.
3. is there a way to avoid the mish mash of gallery folder 'contents in my webpage folder and keep seperate galleries for each page/sv gallery.
As I've suggested, keep all your galleries in individual folders, upload the complete folders to your web space and follow one or other of the 'Using an External Gallery Folder' embedding instructions here.
Steven Speirs
SimpleViewer Support Team