Title

Introductory Note

First Topic

Second Topic

<> Load new Pdb and script UL>

  • three HTML files,
  • at least 1 pdb file
  • and associated script files

    for maintaining sanity - place these files together in a unique directory.

    The HTML object used to load the plug-in is called "EMBED", and it has various parts. A typical embed object might look something like this:

    Example - (note that there are no real scripts for this file, and clicking on the script buttons will trigger your browser to ask if you want to get a plug-in - ignore that!)

    The first file I have called Main.htm.

    This is the file that one loads in order to see the Chime / Netscape page, and is thus the one that you might link to in a table of contents or other HTML document that points to your page.

    It sets up the frameset that will split the Browser window into two parts

    Here is example HTML code for Main.htm

    <HTML><HEAD><TITLE>Main Frameset</TITLE></HEAD>

    <FRAMESET COLS="355,*" BORDER=1>
      <FRAME SCROLLING="auto" NAME="ImagePane" RESIZE="YES" BORDER=1                    MARGINWIDTH=2 MARGINHEIGHT=2 SRC="Image.htm">
      <FRAME SCROLLING="auto" NAME="TextPane" RESIZE="YES" BORDER=1                    MARGINWIDTH=2 MARGINHEIGHT=2 SRC="Text.htm">
    </FRAMESET>


    <BODY></BODY>
    </HTML>


    The second file I've called Image.htm.

    This file

    Here is the example HTML code for Image.htm

    note that one might like to use a file like Image.htm with a bigger display window to show a structure in a presentation.


    <HTML><HEAD><TITLE>TITLE</TITLE></HEAD>
    <BODY><CENTER><H3>Title</H3></CENTER>
    <P>

    <HR ALIGN="CENTER" SIZE="3" WIDTH="80%">

    <EMBED name="file" align=abscenter width=350 height=350 spiny=20 startspin=false display3D=sticks color3D=structure BGCOLOR="#000000" script="reset;slab off;select all;wireframe off;color structure;cartoons on;" SRC="/597a/stdnts98/pub/frames/file.pdb">

    <HR ALIGN="CENTER" SIZE="3" WIDTH="80%">

    The images displayed in this frame require the
    <A HREF="http://www.mdli.com/chemscape/chime/download.html" TARGET="_parent">Chemscape Chime</A> plug-in.
    <BR>

    <P> Coordinates from file.pdb.


    </BODY></HTML>

    Finally, the third file I've called Text.htm.

    This file

    The following example Text.htm file, with several buttons for launching hypothetical script files, looks awkward. Basically, you are using ordinary HTML coding as always, but embedding push buttons that will send script files to the plug-in when pushed. I have tried to illustrate an outline of the "style" for this template using bold and red lettering. Check out the real file to see what it looks like in a browser (but remember, it was intended to be viewed from main.htm)


    <HTML><HEAD><TITLE></TITLE></HEAD>
    <BODY>
    <P ALIGN=Center>
    <FONT COLOR="#ff0000"><BIG><BIG><BIG> Title </BIG></BIG></BIG></FONT>
    <P>
    Introductory Note
    <P>
    <FONT COLOR="#ff0000">

    <BIG><BIG>First Topic</BIG></BIG></FONT>
    <UL>
      <LI><<EMBED src="file1.spt" width=15 height=15 align=absmiddle
            button="push" target="FILE">&gt;
    <BIG><B>first
           subtopic
    </B></BIG>
          <UL>
          <LI><<EMBED src="file2.spt" width=15 height=15 align=absmiddle
                button="push" target="FILE">&gt;
    list items
          </UL>
      <LI><<EMBED src="file3.spt" width=15 height=15 align=absmiddle
            button="push" target="FILE">&gt;
    <BIG><B>second
           subtopic
    </B></BIG>
          <UL>
          <LI><<EMBED src="file4" width=15 height=15 align=absmiddle
                button="push" target="FILE">&gt;
    list items
          </UL>
      <LI><<EMBED src="file5.spt" width=15 height=15 align=absmiddle
            button="push" target="FILE">&gt;
    <BIG><B>third
           subtopic
    </B></BIG>
          <UL>
          <LI><<EMBED src="file6.spt" width=15 height=15 align=absmiddle
                button="push" target="FILE">&gt;
    list items
          </UL>
    </UL>
    <P>
    <FONT COLOR="#ff0000">
    <BIG><BIG>Second Topic</BIG></BIG></FONT>
    <P>
    <ul>
      <li><<EMBED src="file7.spt" width=15 height=15 align=absmiddle  
            button="push" target="file">&gt;
    first subtopic
    .etc

    .etc

    .etc

    </BODY>
    </HTML>
    R> RG 1 123 32.552 21.082 15.685 1.00 49.69