Proteopedia:Looking inside a page
From Proteopedia
Line 9: | Line 9: | ||
'''</StructureSection>'''<br> | '''</StructureSection>'''<br> | ||
- | When loading a page containing a <StructureSection block, the apple will render the scene named in the '''scene=''' attribute. If no scene name is provided, then the applet will load the structure | + | When loading a page containing a <StructureSection block, the apple will render the scene named in the '''scene=''' attribute. If no scene name is provided, then the applet will load the structure whose PDB id or file name is in '''load='''. |
Revision as of 11:14, 19 November 2014
While browsing Proteopedia, if you hit the 'edit this page' upper tab, your screen will display the raw content of a page instead of the nice rendered representation. Let's see what some of them mean:
Green link
<scene name="/12/3456/Sample/1">aminoácidos</scene>
This is the notation that renders green links, and that enables to elicit the display of a saved scene. In this example, the scene loaded will be /12/3456/Sample/1 and the word aminoácidos will be shown as the green link.
Single applet and scrolling text
<StructureSection load='1stp' size='340' side='right' caption='Caption for this structure' scene='/12/3456/Sample/1'>
</StructureSection>
When loading a page containing a <StructureSection block, the apple will render the scene named in the scene= attribute. If no scene name is provided, then the applet will load the structure whose PDB id or file name is in load=.