// =========================================================================== // 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\
  1. Molecular\n\ Views, Descriptions and Details.
  2. \n\ \n\
  3. Subtitles, Replays,\n\ Images, and Text Everywhere.
  4. \n\ \n\
  5. \n\ Animations & Movies
  6. \n\ \n\
  7. Comparing Molecules Side-By-Side
  8. \n\ \n\
  9. Slider for Zoom, Cut (Slab)
  10. \n\ \n\
  11. Spin Control
  12. \n\ \n\
  13. \n\ C\ o\ l\ o\ r\n\ Schemes: DRuMS
  14. \n\ \n\
  15. Background Color
  16. \n\ \n\
\n\ \n\ \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 ============