This is demonstrated on the SStructView v1.1 Tutorial page. ActionURL variables are described here . ActionURL variables are described here . Bases are the primitive on-screen objects. For more on how to define colors, see here .
Users can define their own set types.
A longer example is available in e.coli16s.v1.2.coord . SStructView 1.0 did not require unique IDs for all objects. SStructView 1.1 does, so you will need to update your data files. RGB values range from 0 to 255. Authoring Guide and other JavaScript resources from Netscape.