// ===========================================================================
// 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 =
'
\n\
Version: ' + JTATVersion + '
\n\
\n\
At left is the DNA-binding domain of the yeast Gal4 transcriptional \n\
regulator protein, complexed with its specific DNA \n\
operator. \n\
\n\
\n\
Throughout this demo, comments about JTAT features \n\
(not about the molecular \n\
views) will be colored green. \n\
\n\
\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\
This information won\'t make any sense until after you have \n\
read the instructions for tutorial authors in some detail. \n\
\n\
';
contentsText =
' \n\
\n\
Contents\n\
- Molecular\n\
Views, Descriptions and Details.
\n\
\n\
- Subtitles, Replays,\n\
Images, and Text Everywhere.
\n\
\n\
- \n\
Animations & Movies
\n\
\n\
- Comparing Molecules Side-By-Side
\n\
\n\
- Slider for Zoom, Cut (Slab)
\n\
\n\
- Spin Control
\n\
\n\
- \n\
C\
o\
l\
o\
r\n\
Schemes: DRuMS
\n\
\n\
- Background Color
\n\
\n\
\n\
\n\
\n\
\n\
- \n\
Since you, as a tutorial author, have complete control over the\n\
text in this control panel, the green and\n\
\n\
orange\n\
\n\
text in this JTAT Demo will not be present in your tutorial.\n\
\n\
- \n\
You can go to the first chapter either by clicking the link above,\n\
or by clicking the "Next ->" button below.\n\
\n\
- Take a look at the Text Size Instructions below.\n\
If you are projecting this tutorial to illustrate a lecture, the audience\n\
will appreciate your enlarging the text!\n\
\n\
- Take a look at the information at the bottom below\n\
(How To ..., Open\n\
Access, and License). 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\
\n\
\n\
\n\
';
// OPTIONAL DETAILS
contentsDetailsTitle = '';
contentsDetailsText =
' \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\
Details: Read This.. instead of the default Details... \n\
\n\
\n\
Details are specified in the file contents/contents.js, in the variables\n\
contentsDetailsText and contentsDetailsTitle. '
+ noIdea +
'\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_views/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 ============