Creating Pages for This Site

Where Text is Formatted Like This it should be entered using the code view in Dreamweaver, not the design view.

Loading Molecule and Info Pages

Scripting Loaded Molecules

Create a link as follows:

<a href="javascript:parent.sendScript('blah blah script; seperate lines with semi-colons; bla blah script;');" > YOUR LINK TEXT GOES HERE </a>

More information on scripting the JMol Applet can be found here.

Subscripts and Superscripts

Dreamweaver was obviously not made with chemists in mind as there is no simple button to achieve this.. The <sub> and <sup> tags can be used to achieve sub and superscripts respectively. They are used as follows:

H<sub>2</sub>O

[B<sub>12</sub>H<sub>12</sub>]<sup>2-</sup>

Notice that </sub> and </sup> are used to encapsulate the required text. The above examples produce:

H2O

[B12H12]2-

The <sub> and <sup> tags can be used within links.