Using target="_blank" is strongly recommended because it opens a new window or tab (depending on the browser
and its configuration) for
FirstGlance, leaving the tab/page containing the link(s) to
FirstGlance
available.
Replace the PDB identification code, in the above example, with the
entire URL to the desired PDB file. For example, under DNA
in the Atlas
of Macromolecules you can find a theoretical (idealized) model for B form DNA
with 36 base pairs.
It is available from
Advanced options (available from the main page with the
Advanced Options link) can be specified in hyperlinks.
These options should generally be unnecessary. If you think you need
one of these options, please contact
to discuss whether it is, indeed, necessary.
Reporting of elapsed times and all scripts is turned on with &eltim=1&
Debugging mode is turned on with &db=1&
mmCIF format atomic coordinate files are requested with &cif=1&
(FirstGlance has not yet been adapted to work with cif files).
For example, to invoke FirstGlance
in debugging mode, the hyperlink would be:
<a href="http://firstglance.jmol.org/fg.htm?mol=1d66&db=1"
target="_blank">View
1d66 in debugging mode</a>
Try it:
View
1d66 in debugging mode.
Browser Spoofing:These options are obsolete in 2022, but the code remains.
For test purposes, FirstGlance can be told to behave as if a specified browser were in use,
regardless of the actual browser employed. This is done with a "&spoof=browsername" query parameter,
where browsername is one of chrome, edge, ie, firefox, opera, safari, or maxthon.
These query parameters do not cause the browser to behave like a different browser --
they affect only FirstGlance.
Links that use these query parameters to display 1d66 are provided in the Updated section
for version 2.4 in
versions.htm.