Topic: HELP needed for creating website

HELP needed for creating website

1) I was able to create a simple test gallery using Juicebox Pro and saved the Folder (juicebox_gallery) to my Desktop on my iMac.

2) I set up an account and registered my own personal domain with a web hosting service.

3) I was able to upload the juicebox_gallery folder and its contents to my account with the web hosting service.

4) I have Apple's iWeb application but am very confused with the instructions as how to proceed from there to have the gallery displayed as a web site that uses my domain as its URL.

Any help would be greatly appreciated.  Thanks.

Mardis

Re: HELP needed for creating website

First of all, upload your entire gallery folder to your web server via FTP. It does not matter where you upload it to as long as it is publicly accessible (usually in the 'public_html' folder) and you know where it is.
In this example, let's call your gallery folder 'my_gallery' and say you have uploaded it to the root of your web space (whose domain name is 'www.example.com').
You would then be able to access your gallery directly by opening the gallery's HTML index page (http://www.example.com/my_gallery/index.html) in a web browser.

To embed the gallery in a web page using an HTML snippet in iWeb, you would need to use the baseUrl method of embedding as described here.
You need to point the embedding code towards your gallery folder in two places.
In this example, you would use:

<!--START JUICEBOX EMBED-->
<script src="http://www.example.com/my_gallery/jbcore/juicebox.js"></script>
<script>
  new juicebox({
      containerId : 'juicebox-container',
      galleryWidth: "800",
      galleryHeight: "600",
      backgroundColor: "#222222",
      baseUrl : 'http://www.example.com/my_gallery/',
  });
  </script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Re: HELP needed for creating website

Thanks for your quick response and support.  Problem solved.