Jmol/Useful one-liners: Difference between revisions

Karsten Theis (talk | contribs)
Karsten Theis (talk | contribs)
Line 12: Line 12:
  hover "%n%R %a"; font hover 30
  hover "%n%R %a"; font hover 30


<jmol><jmolButton><text>hover</text><script>hover "%n%R_%a"; font hover 30</script></jmolButton></jmol>
<jmol><jmolButton><text>change hover text</text><script>hover "%n%R_%a"; font hover 30</script></jmolButton></jmol>
When spinning is off and you hover over an atom, you get some information. This one-liner increases the font size and condenses the information displayed, showing the one-letter residue name, the residue number and the atom name.
When spinning is off and you hover over an atom, you get some information. This one-liner increases the font size and condenses the information displayed, showing the one-letter residue name, the residue number and the atom name.


Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis, Angel Herraez