This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.
Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.
User:Jaime Prilusky/Sandbox Size
From Proteopedia
< User:Jaime Prilusky(Difference between revisions)
(New page: <applet load='1stp' size='[800,200]' frame='true' align='right' caption='Insert caption here' />) |
|||
| Line 1: | Line 1: | ||
| + | [http://jmol.sourceforge.net/jslibrary/ jslibrary] describes:<br> | ||
| + | For a rectangular applet, an array containing two elements, width and height; this is usually easiest to do using JavaScript square bracket notation for array constants, as in [400, 200], ["50%", "100%"] or [0.5, 1.0]. Proteopedia currently only accepts integers, as in this example <b>size='[800,200]'</b> | ||
| + | |||
<applet load='1stp' size='[800,200]' frame='true' align='right' caption='Insert caption here' /> | <applet load='1stp' size='[800,200]' frame='true' align='right' caption='Insert caption here' /> | ||
Current revision
jslibrary describes:
For a rectangular applet, an array containing two elements, width and height; this is usually easiest to do using JavaScript square bracket notation for array constants, as in [400, 200], ["50%", "100%"] or [0.5, 1.0]. Proteopedia currently only accepts integers, as in this example size='[800,200]'
|
