HTML to create the page on the left

<HTML>
<HEAD>
<TITLE>Enhanced web document with Chime - Example 3</TITLE>
</HEAD>
<body bgcolor=#FFFFFF>

<h2>Example 3 - Using scripts to alter the start-up view</h2>

<embed src="c-decalin.xyz" height=140 width=140 display3D=ball&stick script="set background red">
<embed src="c-decalin.xyz" height=140 width=140 display3D=ball&stick script="set background white; rotate y 90">

<p> This is <i>cis</i>-decalin. The image on the right has been rotated by 90 degrees.
<p>

<embed src="t-decalin.xyz" height=140 width=140 frank=no display3D=ball&stick script="set background gray; set ambient 20">
<embed src="t-decalin.xyz" height=140 width=140 frank=no display3D=ball&stick script=" set background blue; set ambient 80; zoom 200">

<p>
This is <i>trans</i>decalin. The ambient lighting is different in both views. We have also magnified the molecule in the right image. Note that the "MDL" logo is also missing.
<p>
</body>
</HTML>

On to Example 4


© Steven M. Bachrach and Internet Journal of Chemistry