User:Wayne Decatur/Sandboxsurffade: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Wayne Decatur (talk | contribs)
No edit summary
Wayne Decatur (talk | contribs)
m put link to new location
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
By request of Jaime Prilusky, this has been copied to [[Proteopedia:DIY:Templates]]
==Testing Surface fade==
==Testing Surface fade==
<Structure load='Insert PDB code or filename here' size='350' frame='true' align='right' caption='.' scene='60/607777/Surf_test/1' pspeed='8' />
<Structure load='Insert PDB code or filename here' size='350' frame='true' align='right' caption='.' scene='60/607777/Surf_test/1' pspeed='8' />


Test button:
 
===Template Versions Ready to Use Anywhere Easily===
 
{{Link FadeSurfaceBasic}} (basic)
 
{{Link FadeSurface}} (with fancy cartoons)
 
{{Link Toggle FancyCartoonHighQualityView}}
 
{{Link FadeInSurface}}
 
As Buttons:<br/>
 
{{Button FadeSurfaceBasic}} (basic)
 
{{Button FadeSurface}} (with fancy cartoons)
 
{{Button FadeInSurface}}
 
 
 
===Code in Page Versions===
 
<jmol>
<jmolLink>
  <script> var a = [1,2,3,4,5,6,7,8]; for(var i IN a) {isosurface translucent @i; delay 0.4;}
  </script>
  <text>Fade surface to invisible</text>
</jmolLink>
</jmol> (basic)


<jmol>
<jmol>
  <jmolLink>
  <jmolLink>
   <script>for (var i = 1; i < n i++) {...}
   <script> set ribbonborder on; set antialiasdisplay on; var a = [1,2,3,4,5,6,7,8]; for(var i IN a) {isosurface translucent @i; delay 0.4;}
   </script>
   </script>
   <text>Fade surface to invisible</text>
   <text>Fade surface to invisible</text>
  </jmolLink>
  </jmolLink>
</jmol>
</jmol> (with fancy cartoons)
 
<jmol>
<jmolLink>
  <script> var a = [8,7,6,5,4,3,2,1,0]; for(var i IN a) {isosurface translucent @i; delay 0.4;}
</script>
  <text>Fade back to surface opaque</text>
</jmolLink>
</jmol> 


== Function ==
== Function ==