﻿// JavaScript Document
// Setup for the slideshows - images and text
//
//Tracey Lewis Portfolio 1 Slideshow +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Create the slideshow object
ss = new slideshow("ss");

// Set the delay between slides, 1000 = 1 sec
ss.timeout = 4000;

// By default, all of the slideshow images are prefetched.
// If you have a large number of slides you can limit the
// number of images that are prefetched.
// ss.prefetch = 1;

// By default the slideshow will repeat when you get to the end.
// ss.repeat = false;

// Create the slides and add them to the slideshow.
s = new slide();
s.src =  "pics3/g1.jpg";
s.link = "pics3/g101.jpg";
s.title = "Honesty";
s.text = "Honesty. 3'x3'. September 1996. Honesty & paper";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g2.jpg";
s.link = "pics3/g102.jpg";
s.title = "Untitled";
s.text = "Untitled. 3' x 3' box framed. September 1996. Cotton and seed heads";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g3.jpg";
s.link = "pics3/g103.jpg";
s.title = "Untitled (detail)";
s.text = "Untitled (detail)";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g4.jpg";
s.link = "pics3/g104.jpg";
s.title = "Delia Honey";
s.text = "Delia Honey. 3' x 3' box framed. September 1997. Grass and roses.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g5.jpg";
s.link = "pics3/g105.jpg";
s.title = "Thorny Reflection";
s.text = "Thorny Reflection. 4' x 4' x 1' box framed. September 1998. Roses, cotton and natural dye.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g6.jpg";
s.link = "pics3/g106.jpg";
s.title = "Nest (House)";
s.text = "Nest (House). May 2002. Mixed media.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g7.jpg";
s.link = "pics3/g107.jpg";
s.title = "Compost";
s.text = "Compost. May2001. Mixed media";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g8.jpg";
s.link = "pics3/g108.jpg";
s.title = "Rosebowl";
s.text = "Rosebowl. 4' x 4' x 1' open frame. Roses, stalks, leaves. April 2000.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g9.jpg";
s.link = "pics3/g109.jpg";
s.title = "Poppy";
s.text = "Poppy. 3' x 3' box framed. Poppies and paper.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g10.jpg";
s.link = "pics3/g110.jpg";
s.title = "Iris";
s.text = "Iris. 4 ft 6 in x 4 ft 6 in x 1ft 6in. April 2000. Roses, cotton and natural dye.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g11.jpg";
s.link = "pics3/g111.jpg";
s.title = "Iris (detail)";
s.text = "Iris (detail)";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g12.jpg";
s.link = "pics3/g112.jpg";
s.title = "Untitled";
s.text = "Untitled. 6' x 3'. June 2000.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g13.jpg";
s.link = "pics3/g113.jpg";
s.title = "The Undiscovered Rose in Bloom";
s.text = "The Undiscovered Rose in Bloom. 2ft 6in x 2ft x 1ft. March 2000.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g14.jpg";
s.link = "pics3/g114.jpg";
s.title = "Vessel - Filling the Emptyness";
s.text = "Vessel - Filling the Emptyness. 3ft 6in x 3ft 6in x 1ft. Perspex box framed. August 1999. Roses and cotton.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g15.jpg";
s.link = "pics3/g115.jpg";
s.title = "Solo Exhibition";
s.text = "Solo exhibition at the Orangery, Holland Park, London. April 2000.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g16.jpg";
s.link = "pics3/g116.jpg";
s.title = "House of Nails";
s.text = "House of Nails. June 2002. Mixed media.";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g17.jpg";
s.link = "pics3/g117.jpg";
s.title = "House of Nails ( detail).";
s.text = "House of Nails ( detail).";
ss.add_slide(s);

s = new slide();
s.src =  "pics3/g18.jpg";
s.link = "pics3/g118.jpg";
s.title = "Flowerbed";
s.text = "Flowerbed. 6' x 4'. June 2003. Kew Gardens, London.";
ss.add_slide(s);







// The following loop sets an attribute for all of the slides.
// This is easier than setting the attributes individually.
// Hall farm Barn popup
for (var i=0; i < ss.slides.length; i++) {

  s = ss.slides[i];
  s.target = "ss_popup";
  s.attr = "width=620,height=620,resizable=no,scrollbars=no";

}


