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

Q

How to Specify Multiple Styles using the "style={...};{...}" URL parameter in the Online 3Dmol Viewer?

✍: FYIcenter.com

A

If you want overlay the selected structure in multiple styles, you can provide a semicolons separated list of styles.

For example, the following URL displays the protein structure overlaid in 2 styles: "cartoon" and "stick":

https://3dmol.org/viewer.html?pdb=4KW4&style=cartoon;stick
Online 3Dmol Viewer - Overlay Multiple Styles
Online 3Dmol Viewer - Overlay Multiple Styles

 

"surface={...}" - Specify Surface Properties

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

Using Online Server of 3Dmol Viewer

⇑⇑ 3Dmol.js FAQ

2023-09-07, 377🔥, 0💬