"style={...}:..." - Specify Style Attributes

Q

How to Specify Style Attributes using the "style={...}:...,..." URL parameter in the Online 3Dmol Viewer?

✍: FYIcenter.com

A

Style Attributes can be specified as a comma separated list of "key~value" tokens.

For example, the following URL provided 3 style attributes for the "carton" style:

https://3dmol.org/viewer.html?pdb=4KW4&style=cartoon:color~spectrum,style~edged,arrows~true
Online 3Dmol Viewer - Specify Style Attributes
Online 3Dmol Viewer - Specify Style Attributes

 

"style={...};{...}" - Specify Multiple Styles

"select=resi:..." - Select Protein Residues by Numbers

Using Online Server of 3Dmol Viewer

⇑⇑ 3Dmol.js FAQ

2023-09-07, 432🔥, 0💬