|
Information on How to Create and Change Roll Scripts |
| The Roll Scripts on March 28, 2005 at http://www.emilyrich.com/index are as follows. The images displayed in the sequences are stored in a folder called Roll. |
| <tr> <td class="border" width="0"> <p> <td class="content" vAlign="top" width="742" bgcolor="#FFFFFF"> <script language="JavaScript" src="http://www.emilyrich.com/tools/image_wipe.js"> </script> <script language="JavaScript" type="text/javascript">browserconfig(); </script> <div align="left"> <table cellPadding="0" width="599" border="0" style="border-collapse: collapse" bordercolor="#111111" bgcolor="#FFFFFF"> <tr> <td style="BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid; BACKGROUND-COLOR: #FFFFFF" vAlign="top" width="295" rowSpan="6"> <script language="JavaScript" type="text/javascript"> monTimeout = 6000; var links = new Array(); var img_src = new Array(); var alt_tags = new Array(); links[0] = "http://www.emilyrich.com/Gallery/Leaves.htm"; img_src[0] = "http://www.emilyrich.com/Roll/Leaves.jpg"; alt_tags[0] = "Leaves a Watercolor by Emily Rich"; links[1] = "http://www.emilyrich.com/Gallery/Dune.htm"; img_src[1] = "http://www.emilyrich.com/Roll/Dune.jpg"; alt_tags[1] = "Dune Fencing a Photo by Emily Rich"; links[2] = "http://www.emilyrich.com/Gallery/Acrylic.htm"; img_src[2] = "http://www.emilyrich.com/Roll/Acrylic.jpg"; alt_tags[2] = "An Acrylic by Emily Rich"; links[3] = "http://www.emilyrich.com/Gallery/Landscape.htm"; img_src[3] = "http://www.emilyrich.com/Roll/Landscape.jpg"; alt_tags[3] = "Landscape, a Watercolor by Emily Rich"; links[4] = "http://www.emilyrich.com/Gallery/Series42.htm"; img_src[4] = "http://www.emilyrich.com/Roll/Series42.jpg"; alt_tags[4] = "Emily Rich Watercolor"; links[5] = "http://www.emilyrich.com/Gallery/Shows.htm"; img_src[5] = "http://www.emilyrich.com/Roll/Shows.gif"; alt_tags[5] = "Emily Rich Exhibitions"; links[6] = "http://www.emilyrich.com/Gallery/DarkBlooms.htm"; img_src[6] = "http://www.emilyrich.com/Roll/DarkBlooms.jpg"; alt_tags[6] = "Dark Blooms a Watercolor by Emily Rich"; links[7] = "http://www.emilyrich.com/Gallery/Garrisons.htm"; img_src[7] = "http://www.emilyrich.com/Roll/Garrisons.jpg"; alt_tags[7] = "Garrisons Landing by Emily Rich Watercolor"; wipe( links, img_src, alt_tags, 400 ); </script> |
| The important part of this script, which will be frequently changed, as the images are changed, is in the following section. |
| inks[0] = "http://www.emilyrich.com/Gallery/Leaves.htm"; img_src[0] = "http://www.emilyrich.com/Roll/Leaves.jpg"; alt_tags[0] = "Leaves a Watercolor by Emily Rich"; links[1] = "http://www.emilyrich.com/Gallery/Dune.htm"; img_src[1] = "http://www.emilyrich.com/Roll/Dune.jpg"; alt_tags[1] = "Dune Fencing a Photo by Emily Rich"; links[2] = "http://www.emilyrich.com/Gallery/Acrylic.htm"; img_src[2] = "http://www.emilyrich.com/Roll/Acrylic.jpg"; alt_tags[2] = "An Acrylic by Emily Rich"; links[3] = "http://www.emilyrich.com/Gallery/Landscape.htm"; img_src[3] = "http://www.emilyrich.com/Roll/Landscape.jpg"; alt_tags[3] = "Landscape, a Watercolor by Emily Rich"; links[4] = "http://www.emilyrich.com/Gallery/Series42.htm"; img_src[4] = "http://www.emilyrich.com/Roll/Series42.jpg"; alt_tags[4] = "Emily Rich Watercolor"; links[5] = "http://www.emilyrich.com/Gallery/Shows.htm"; img_src[5] = "http://www.emilyrich.com/Roll/Shows.gif"; alt_tags[5] = "Emily Rich Exhibitions"; links[6] = "http://www.emilyrich.com/Gallery/DarkBlooms.htm"; img_src[6] = "http://www.emilyrich.com/Roll/DarkBlooms.jpg"; alt_tags[6] = "Dark Blooms a Watercolor by Emily Rich"; links[7] = "http://www.emilyrich.com/Gallery/Garrisons.htm"; img_src[7] = "http://www.emilyrich.com/Roll/Garrisons.jpg"; alt_tags[7] = "Garrisons Landing by Emily Rich Watercolor"; |
| Note that [ number ] part of the scripts, the links[2] = , img_src[2] = and alt_tags[2] = are the parts of the scripts that designate the order that the items will appear in the rotation sequence. For example, these scripts will appear in the third or 3 position in the rotation sequence, as the sequence begins with zero. |
| The sequence of scripts begin with 0 and the number of views in the sequence
can be increased or reduced by adding or deleting the three items, links[2] =
xxxxxx , img_src[2] = xxxxx and
alt_tags[2] = xxxxx in the sequence and changing the links [number], the
img-src [number] and the alt_tags [number] in the remaining sequences. An item in the sequence has the following three components. links[1] = "http://www.emilyrich.com/Gallery/Dune.htm";
|
| Note that the URL after the links[1] = part of the script designates the hyperlink location that the viewer will be sent if they click on the picture. For example, in the first script in the series above, which is the first line, links[1] = "http://www.emilyrich.com/Gallery/Dune.htm"; The viewer will be sent to the following URL http://www.emilyrich.com/Gallery/Dune.htm , if they click on the picture. |
| Note that after the img_src[1] = part of the script designates the location of the picture, that is viewed on the page, as this number rolls over in the sequence. After the img_src[1] = is the designation of the URL of the image that will appear in the view. For example, in the first script in the series above, which is the second line, img_src[1] = "http://www.emilyrich.com/Roll/Dune.jpg"; the viewer will see the picture located at http://www.emilyrich.com/Roll/Dune.jpg with the picture properties assigned to that image. |
| The complete URL of the image location must be used and placed within the quotation marks, as "http://www.emilyrich.com/Roll/Dune.jpg" |
| Note that the alt_tags[1] = part of the script designates on the third line of the the series above contains the text that will be displayed when the mouse is placed over the picture. The text desired to be used must be placed within the quotation marks. |
| The remaining part of the information on this page is very technical and is unnecessary to use in changing the rotation sequence, the links, the pictures and the mouse over text on the first page. |
| To allow this script to work there must be the following JavaScript
stored on the website, as indicated by
http://www.emilyrich.com/tools/image_wipe.js at the beginning of this
script. The script stored under tools does not need to be changed. It is
as follows and must be named image_wipe.js .
var wipeBlock = null;
This scrip is only important, if you wish to assist someone in establishing a roll script such as on the emilyrich.com/index |