// ===========================================================================
// This file, contents.js, must be provided for each contents.htm.
// Each contents.js file contains the settings and content for one contents.
// Each contents should be in a separate directory (folder).
// Each contents directory should contain one and only one contents.htm file.
//
// Lines beginning "//" are comments for authors. They are ignored by JTAT.
// ===========================================================================

  // ========== SECTION I: PROVIDE SLIDERS? ============

  // These control whether this Contents has a Slab ("Cut")
  // slider, in addition to a Zoom slider, or neither.
  // You cannot have a Slab slider without also having the Zoom slider.
  // The label on the slab slider (typically "Cut" or "Slab")
  // is defined in _jsutil/config2.js
showZoomSlider = true;
showSlabSlider = false;

  // ========== SECTION II: TITLE, INTRODUCTION, CONTENTS, DETAILS ============

  // CONTENTS TITLE IS REQUIRED
chapterTitle = 'JTAT* Demo';

  // CONTENTS SUBTITLE IS OPTIONAL
chapterSubtitle = '*Jmol Tutorial-Authoring Template';

  // OPTIONAL INTRODUCTION FOR CONTENTS
chapterIntro =

	'<p><span class="aboutJTAT"><i><small><center> \n\
Version: ' + JTATVersion + '</center></small></i></span></p> \n\
<p>\n\
At left is the DNA-binding domain of the yeast Gal4 transcriptional \n\
regulator protein, complexed with its specific DNA \n\
<a href="http://en.wikipedia.org/wiki/Operator_%28biology%29" \n\
target="_blank" \n\
title="Wikipedia definition" \n\
>operator</a>. \n\
	</p><p> \n\
	<span class="aboutJTAT"> \n\
Throughout this demo, comments about JTAT features \n\
(not about the molecular \n\
views) will be colored green. \n\
	</span> \n\
	<span class="forAuthors"> \n\
Unless you are learning to author tutorials, you \n\
can IGNORE comments in orange. This color is used to tell \n\
authors how to use a JTAT feature. \n\
Some of this information won\'t make any sense until after you have \n\
read the instructions for tutorial authors in some detail. \n\
	</span></p> \n\
';

contentsText = 
'	<ol class="contents">\n\
\n\
	Contents\n\
   	<li> <a href="../ch_view1/chapter.htm">Molecular\n\
Views, Descriptions and Details.</a></li>\n\
\n\
   	<li> <a href="../ch_view2/chapter.htm">Subtitles, Replays,\n\
Images, and Text Everywhere.</a></li>\n\
\n\
   	<li> \n\
<a href="../ch_anims/chapter.htm">Animations & Movies</a></li>\n\
\n\
   	<li> <a href="../ch_comp/chapter.htm">Comparing Molecules Side-By-Side</a></li>\n\
\n\
   	<li> <a href="../ch_slide/chapter.htm">Slider for Zoom, Cut (Slab)</a></li>\n\
\n\
   	<li> <a href="../ch_spin/chapter.htm">Spin Control</a></li>\n\
\n\
   	<li> <a href="../ch_drums/chapter.htm">\n\
<font color="red">C</font>\
<font color="orange">o</font>\
<font color="yellow">l</font>\
<font color="#00ff00">o</font>\
<font color="#6060ff">r</font>\n\
Schemes: DRuMS</a></li>\n\
\n\
   	<li> <a href="../ch_bkg/contents.htm">Background Color</a></li>\n\
\n\
	</ol>\n\
\n\
	<span class="aboutJTAT"> \n\
	<ul>\n\
	<li>\n\
Since you, as a tutorial author, have complete control over the\n\
text in this <i>control panel</i>, the green and\n\
	<span class="forAuthors"> \n\
orange\n\
	</span>\n\
text in this JTAT Demo will not be present in your tutorial.\n\
\n\
	</li><br><li>\n\
You can go to the first chapter either by clicking the link above,\n\
or by clicking the "Next ->" button below.\n\
\n\
	</li><br><li>Take a look at the <i>Text Size Instructions</i> below.\n\
If you are projecting this tutorial to illustrate a lecture, the audience\n\
will appreciate your enlarging the text!\n\
\n\
	</li><br><li>Take a look at the information at the bottom below\n\
(<i>How To ..., Open\n\
Access</i>, and <i>License</i>). Notice that\n\
all this can be hidden. Once hidden, it remains hidden in all chapters\n\
until you click to re-display it. You will probably want to hide it\n\
if you are projecting a tutorial to illustrate a lecture.\n\
	</li></ul>\n\
	</span>\n\
  \n\
';

	// OPTIONAL DETAILS
contentsDetailsTitle = '';

contentsDetailsText =
	'<span class="aboutJTAT"> \n\
Optionally, further details can be provided here, \n\
at the bottom of a Contents page. The link to such\n\
details can optionally be customized. For example it could be \n\
<b>Details: Read This..</b> instead of the default <b>Details..</b>. \n\
	</span\n\
	<br><br>\n\
	<span class="forAuthors"> \n\
Details are specified in the file contents/contents.js, in the variables\n\
<i>contentsDetailsText</i> and <i>contentsDetailsTitle</i>. '

+ noIdea +

'</span>\n\
';

  // ========== SECTION III: NAVIGATION (NEXT, PREVIOUS, CONTENTS, RESET) ============

  // The 3 URL's below must be relative to the current contents.
  // The position and style of the navigation bar are set in config.js

  // Leave blank since this IS the Contents.
contentsButtonGoesTo = '';

provideResetButton = false; // ignored when isContents.

  // Leave blank since this is Contents.
previousChapterButtonGoesTo = "";

  // Leave blank if this is the last chapter.
nextChapterButtonGoesTo = "../ch_view1/chapter.htm";

  // ========== SECTION IV: MOLECULAR VIEW FOR CONTENTS ============

// Molecular View Button ===== ===== ===== ===== ===== ===== ===== ===== =====
// Although no "View 1" button will appear when isContents is true, 
// the molecular view is nevertheless specified as though it were a button.
// Multiple-molecule (multiple-Jmol) views are supported.

setupButton(
	1,  // NUMBER OF MOLECULES
	'../molecules4all/1d66.pdb', // ATOMIC COORDINATE FILE
	'script initial-view.spt', // SCRIPT FOR MOLECULAR VIEW
	blackBackground, // BACKGROUND (blackBackground or whiteBackground)
	spinningOn); // spinningStart, spinningOn, spinningSame, or spinningOff

  // ========== END OF contents.js ============
