From: Miguel <mig...@us...> - 2004-07-31 08:08:43
|
Update of /cvsroot/jmol/Jmol-web/source/doc/demo/ribbons In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13214/ribbons Modified Files: index.html Added Files: 1CRN.pdb.gz Log Message: Jmol.js --- NEW FILE: 1CRN.pdb.gz --- r? !lØHØóÿròRݵ²Õã°AZTUÞse5/ÇýÓñcCï¯ûóms=6ïÛñtÞ¬~a»ÿؾvö*þê>=.oïüÕfsøØ¿=~å» :>\/#ÿÓþñëõz:öçÍaÿø¸>nþ#¿ä8ÿè°ÿ¯náéaÿy{¹ÈÿÜíw/ÇóÓÇéðûõrþò¶{ÛÝÇÈ®0?|ÿxÚßÿ5ëñéH6®½þe>꿤7øé¿!nßöäç Ñ 1Þö¿ÑW¼èÓãç¾Þw)K9î/FÜü§°qû íûòt|åofÀqU(C¾öVÆ9Î<qäf;ù<ßN¯§¬KéÛ¸FôöW moÚ8Õ+éX[eÆRNçÃëç{À 6ÂiÃÎQ2L»!A¿S·×²U¥Ð+õ^ûLN,\ë ¸½h(-Ï »as»Hä1RÆR&õâJñu5&×F°ôÝ÷ü`D@ÞÌõH ö´ÿø â½¾§_O½:,VÌÛËåzd¡I`BÀÓÙÔäWþ8ÊR¨c»!ïp;¡ì?9Åí Iåßö$Ö_¥ÌZV<åÛûIùýr:ßØM¿s=â Òf)·V ÷Óo¼/zükÏÉü|û×åH«Ù^Ù= R:,Õ)ãæÕ11±^pý)HÙñ{ÉNkeò-mRÀ²§ýSµÙkWd<\>¸Ìì«}=GóçÛ#GÓ3oÝI9#½«ÛÍÞ¬pî²üC+¥¿åGÓ"(fËä(JôÏä)I sëén ,eü÷+<âq\[áùøçæýóñµ) k§±ÎóÓÐÒëT¬~NXíæÝߪPê¿ßòrµzHiìó ç¨uxpSWö0Îýß4;P'`z¸ÿ÷!ö tÌå>ä¿Ã׫üÇAó1ÐÙ¿îÉË>Ë¿í©Èzç¢Ù²ë~äñßH>SúÀ¿H¿þ`þ%üº ÐwÀÐé ²Ê¯ºRâ7ñ§ÿ¦_0½v0ÎÓ6å ×wm^ÿ¦ämñ"æé¯áß.Ez`úÚÊ? ¿¸ÁºW^+_\ÀÔé_¼|T8ü¸zåÌRÎÍZ[ù®0?Ìí_ZáÕìãtï=ï6wûÐ7Àèû¶ÿ6ÛïveÛ Ç]çiE77[äï¾ÊRãÕl °>\¯ÓpÚ¡jмßke+`: ïÃõ ëapý Ã褴v²µ]ͼ=7îrâ/¼ß%O_TÊõS)Ówïrò3`x¸|ÿ:lôRþ -YùJ?Ú÷ßZaT@o^<¬Cÿ`RÀ°\þ!@²Ãþõ8Çnð1º[þ*øñÞm SÈlöÿpË£þÍ :Æ8Ô¬s}ʶÇFÎA>B,ÜÝ aÃ.sãÏ¢æÎvçÊ ¸ôH;BÜÔ³+ô è3¯(ìF¯©Æ8¾M Øâó¤6²³ûR cPµ©~:CÖ%s#X »AT¾ÂÈ6ÌBüo$¤:;·«æG°Ö V9|Î+ã(Ã? 6ºÒ âí¥pðdµ¹ÌyÐ3l½ «ë[®vË`)#\ïÉ¢.TÜlz¬Ú¥xg¥<mÅÓ{ªÃUðê§@:dÕ¦¥xo¥<ÒÅm´;§ú8](Vm*XVÊ ¥<¥Öä¶8(Ñ VU>Ë9àbË`)LÕ±§r'ÍÝàAÃiKÙ© ºÀR¾QÝ× Ñ-[>¥¥p<¬®Ð³·¡3Ì)r\¬, ÅuY¢¼eD]2ùÔYm8@°v%,å% ©¨FÝU60ÄÔÕÆ¡Ý ºØ¥¸, SªÃÓÚ ÇaVASF ÕæÚñygRh]a© 1@°TmîsiYSµñ=Ð/<¶ÀR9>¬®°$$G[t Ã!À8X7¥°}]֥ܣÝÉÙÑbLÉVÊ`),JV% IY*\ÒöÁ½~îBìÁR8^ï3Y@ïÕR0»¯lÃ(Y{äe°§¾ÈÔñ$)KºAÙ/KV]¥°cc)ßVvßÈ°B£6, ÃÊ Ée X5yO¡É¾Ká¤ï² (^k9zSV8Ân¥¼$÷%9Íl¹úÙ)s²[Ká_{xvK@I4åà)Yò*î`Ùc@°i£Q~¸"eqQÛ],ZóÕ<ç'Æ98°.9ý^®ÐirDIRRð+¬V(`)±Õ)4dªá3Ùÿ(Bq´ÓºUÀ`ÁRb«S¼¢$ËpNVV(`)©Õ)+-¥h}ÂfÆôXJjuÊ >¨e.e°X§TÄy°Ôê% é]Õ-N8·)cJ6¶ìÁRø`XTøH3JIèsW°°Zr¿Â"R& íçüëb tR/3F B¿ÍHÙ¥¤V§Ü¦:Êç"ÝBêégN,%µ:e HµhL^1 ÝÁ:»B°Ôê{À+q¦´"äÁ®,%µ:eóy6¢[{Jmî<XJn1 é~ÁÔÞ"Ë~ÃÇ %Ú0¤o ,%·²$ZUÊyÐä}û6lÆ°ÜbÊý H94ÀB¹NîÑèa gp.)l¶d)W=C!?`)|çã= ¹þ¨ùa*ÚsÄeÁ°öÿ[Tog)C#Ò SX ;¹ó[LA{^5¨Å¸9·ÂÏ Jwáj¤lm9¥¢_zʾ´x¤CB:%À2¶~ HasP[ä©ÜuC²é¸ÂeÒ 'Lï ]Ôìد¾Ú ÁR8ïÅ0uéÜ%.SÂ/± <÷mk½Â5 ÚÒüzlÃë¹Â! ¯ÐI<¦:Í ªÃÖ(vKa º¬ú¨[uÚÀ¥+ö3ôVmº¥8þ9 p[qh x@?Ú-W ¥ öÞ1I àSÞFIÊ}LëÎGï|² BiJ¹!1ÆR£ Χȷ칻 ½ê`£ë´ØƧÍ,É8ÂÝYíÑn,Å7> ǹùûÎVIlt èÍ Xo|Ê0¶vsг۲.ç §£(ví9v±éÞqÁÁ¥ÙgtÔª1%(|=pôN8zÊ´K¾Q^ ¶\2PHÆ}yàè¥(á©Ñ(^GÜ {î-5õéyàè](fødäºDé!ýIÊ¥¢µ`)a4Ã'°ÂT´ ç6}-«ýypLG FM XJÌè/ "dW÷z½lî£wÉÑßj½ªS}cÑyê~ÉÞzàè7±`ô ëxìKgDdجqÀÑ»ì&-Ãt#Ë ¯Ó¥¾ÕËÕ:cËÀÑ˸zl8¶È u2÷3 I½ËaòØËFßnÐHÀwdP/;ãä±CÐâ<µ¬°¸ ÛÕåèW ÚàÞ£±çÜGïÆÁÎbHµÄ³lµçm¬ÁR£ïc«3 Ú Ã¨:AtÉ$KÀÑËT J5S&ëÚ÷¥Z=^(ZècÏcküp7óTËÁ3^ ÐÇ@9^¹ %æùfËC/Àã÷ÀÑ! wc»9#;´" d<6pôN8úýà(3ÄÜÖA²ÁCL± àè¥v=¬¬0¶:´Ù¥¼15Þ±^VSKçbL< ½×ù¯`:Æ£¢ë%àv'§ÁóQ Â<Å¡Ð& ½Ð:@>3½øWÚóEj¡Ø$pôÞGSøÌW¢8ì(íg×>Ьpô¢\PøÌ<× þ0×Þpô>xÓföÐÆxNúдLpôÂ\Vþ ÒLÆHêiVìE£÷ÁÞ-¹·Üù½aÄJÊ¥{;xd ©n´ðѤ)÷ËÅýå <ù)5Öm×ÃÑ 8zF«ý©±¡\wìÀÑûPÆy *U.ÄuBM[ùÓZ@°áèWVHê"+ÌT¯´±AlÝWÕÃ(=s7ñófµ©vÚ9 YYlR§Ulàè}N¹ 춴N'dÛLÀÑûXNEv.IÚÔ¸! pô^îÑ?®0{%ô¶ú¨dפæM °¤ 2àm=6pô~ÁÑÏM²ÒÚ,#}Öâ¼g½_pô3àز-ÇYyJw°£}âD ½oWyVÛ-0ú[,pô>Û'N S.@B7öY;@°\06¦ÇñhVÕ&[¡¥dûÄ ç¡P.bì ÁRXtØ ÉïÜÔÌPë9 d2ÿÊÁÖ½Ý2XÊt~ XôI\4Nzi ÀÑ{~41 EAÊåmè+´å-pô~âèïW8h³ðdPmƧpôò\GH` CUýË£63j @_- XÜ£Z[WD ÌOâ©Ð¶Y£¿cÉÒ<ö2 4sð±©iàè}µ]b vY¬íµc{ bê³"Ùñàèpô«[T±µíÇÄá·.àèpôÏ÷TøÎi/Öì 3 ΰtª <#(ÙçàèpôÇ»JBç¾bÐC¯ÒÎ@àè%=Ò ?ÿ1¡à~4Àòp¸ùnô^'¬ég Index: index.html =================================================================== RCS file: /cvsroot/jmol/Jmol-web/source/doc/demo/ribbons/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index.html 22 May 2004 22:04:54 -0000 1.1 +++ index.html 31 Jul 2004 08:08:34 -0000 1.2 @@ -1,159 +1,66 @@ <html> - <head><title>jmol applet ribbons demo</title> + <head> + <title>jmol applet ribbons demo</title> + <script src="../jmol/Jmol.js"></script> + <script>jmolSetCodebase("../jmol");</script> </head> <body> - <table border="1"> - <tr> - <td> - - <h2>Ribbons</h2> - <applet name="jmol" code="JmolApplet" archive="JmolApplet.jar" - codebase="../jmol" - width="400" height="400" mayscript="true" > - <param name="progressbar" value="true" /> - <param name="progresscolor" value="blue" /> - <param name="boxmessage" value="Downloading JmolApplet ..." /> - <param name="boxbgcolor" value="black" /> - <param name="boxfgcolor" value="white" /> - <param name="load" value="1D68.pdb.gz" /> - <param name="script" value="cpk off; wireframe; ribbons" /> - - </applet> - </td> + <form> + <table border="1"> + <tr> + <td> + + <h2>Ribbons</h2> + <script>jmolApplet(400);</script> + </td> + + <td> + <script> + function modelRadio(model) { + var script = "load " + model + ".gz; cpk off; wireframe; ribbons"; + jmolRadio("model", script); + jmolHtml(model); + jmolBr(); + } - <td> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="1CRN.pdb" /> - <param name="target" value="jmol" /> - <param name="script" value=" - load ../trace/1crn.pdb.gz; cpk off; wireframe; ribbons" /> - </applet> - <br /> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="1D68.pdb" /> - <param name="target" value="jmol" /> - <param name="script" value=" - load 1D68.pdb.gz; cpk off; wireframe; ribbons" /> - </applet> - <br /> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="1D66.pdb" /> - <param name="target" value="jmol" /> - <param name="script" value=" - load 1D66.pdb.gz; cpk off; wireframe; ribbons" /> - </applet> - <br /> + modelRadio("1CRN.pdb"); + modelRadio("1D68.pdb"); + modelRadio("1D66.pdb"); + </script> + <br /> - Ribbons offer a representation the protein backbone using - a ribbons which smoothly traces the midpoints of adjacent - alpha carbon atoms (or phosphorus atoms in nucleotide chains). - The ribbon is perpendicular to the peptide plane. <br /> + Ribbons offer a representation the protein backbone using + a ribbons which smoothly traces the midpoints of adjacent + alpha carbon atoms (or phosphorus atoms in nucleotide chains). + The ribbon is perpendicular to the peptide plane. <br /> + + <script>jmolButton("ribbons on");jmolButton("ribbons off");</script> + <br /> + + + Color your ribbons the way you like<br /> + <script> + jmolButton("color ribbons structure"); + jmolBr(); + jmolButton("color ribbons amino"); + jmolBr(); + jmolButton("color ribbons skyblue"); + jmolBr(); + jmolButton("color ribbons yellow"); + jmolBr(); + </script> + <br /> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="ribbons on" /> - <param name="target" value="jmol" /> - <param name="script" value="ribbons on" /> - </applet> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="ribbons off" /> - <param name="target" value="jmol" /> - <param name="script" value="ribbons off" /> - </applet> - <br /> - - - Color your ribbons the way you like<br /> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="color ribbons structure" /> - <param name="target" value="jmol" /> - <param name="script" value="color ribbons structure" /> - </applet> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="color ribbons amino" /> - <param name="target" value="jmol" /> - <param name="script" value="color ribbons amino" /> - </applet> - <br /> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="color ribbons skyblue" /> - <param name="target" value="jmol" /> - <param name="script" value="color ribbons skyblue" /> - </applet> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="color ribbons yellow" /> - <param name="target" value="jmol" /> - <param name="script" value="color ribbons yellow" /> - </applet> - <br /> - - With or without wireframe<br /> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="wireframe off" /> - <param name="target" value="jmol" /> - <param name="script" value="wireframe off" /> - </applet> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="wireframe on" /> - <param name="target" value="jmol" /> - <param name="script" value="wireframe on" /> - </applet> - <br /> - - Zoom in and take a closer look<br /> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="zoom 300" /> - <param name="target" value="jmol" /> - <param name="script" value="zoom 300" /> - </applet> - <applet code="JmolAppletControl" archive="JmolApplet.jar" - codebase="../jmol" - height="20" width="150" mayscript="true" > - <param name="type" value="button" /> - <param name="label" value="zoom 100" /> - <param name="target" value="jmol" /> - <param name="script" value="zoom 100" /> - </applet> - <br /> - - </td> - - </tr> - </table> + With or without wireframe<br /> + <script>jmolButton("wireframe on"); jmolButton("wireframe off");</script> + <br /> + + Zoom in and take a closer look<br /> + <script>jmolButton("zoom 300"); jmolButton("zoom 100");</script> + <br /> + </td> + </tr> + </table> + </form> </body> </html> |