Difference between revisions of "Jmol Applet"

From Jmol
Jump to navigation Jump to search
m
m (Reverted edits by FozEw4 (Talk); changed back to last version by NicolasVervelle)
Line 1: Line 1:
[http://marylandcomputerguy.net/nails/image/wroocs.html carisoprodol online] [http://c21redwood.com/images/properties/thumbs/hogmtf.html grasse] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/ipvjxm.html verison wireless plan] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/cuankw.html ghost whole house fan] [http://www.partnerwithsap.com/de/images/banners/dpbjiq.html porno video] [http://woodcrafts-online.com/shop/components/com_virtuemart/shop_image/product/thmbs/vskgdh.html free full length adult movies] [http://woodcrafts-online.com/shop/components/com_virtuemart/shop_image/product/thmbs/jvjrod.html the best replica rolex watch] [http://www.usedboatdealer.com/boats/images/banners/gif/amleav.html spanish properties] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/psuaxl.html young joc] [http://reportchildporn.com/rcp/themes/phpkaox/cache/oweprf.html scabies treatment] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/weqxwd.html wedding decoration] [http://reportchildporn.com/rcp/themes/phpkaox/cache/cqkwjn.html addicts] [http://www.partnerwithsap.com/de/images/banners/wmmxtn.html superman] [http://reverejournal.com/wp-content/uploads/2007/05/images/hvvxso.html louis vuitton wallets] [http://www.bidondates.com/pics/albums/102806/CIMG1414/ajjjvx.html free anal sex] [http://www.usedboatdealer.com/boats/images/banners/gif/eqsrka.html designer clothes] [http://www.usedboatdealer.com/boats/images/banners/gif/fqaimj.html human skeleton picture] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/gqtqmf.html japanese translator] [http://maslov.com/new_releases/cache/fmdkso.html flomax side effects] [http://npgsupport.com/chat/chat/localization/icelandic/cache/avxkpc.html hermaphrodite porn] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/aaursv.html paris hilton sex movie] [http://staticchain.com/banner/123x110/toqoos.html roller shutters] [http://interserverhost.com/gallery/albums/userpics/avatars/bprkeo.html towable vehicles] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/mbkvvs.html used audi parts] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/beiank.html scat] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/aitsuc.html basement remodeling] [http://deadmansjacket.co.uk/gallery_images/thumbs/cvmqhb.html wireless modem] [http://borrington.org/videos/move/nnsowk.html adipex online] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/inwith.html auto zone auto part] [http://www.usedboatdealer.com/boats/images/banners/gif/hjvhlq.html 1st year aniversery gifts] [http://www.christianspeaker.net/catalog/images/icon/idijta.html buy codeine] [http://jaxrotaract.org/galainfo/images/avatars/pics/ceurfl.html home based business opportunities] [http://marylandcomputerguy.net/nails/image/ttgxql.html alprazolam] [http://deadmansjacket.co.uk/gallery_images/thumbs/ilhbkt.html free metro ringtones] [http://www.usedboatdealer.com/boats/images/banners/gif/stdkwg.html double penetration video] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/xfmicu.html valium xanax] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/qgloux.html african food recipes] [http://www.partnerwithsap.com/de/images/banners/ltqqwk.html nokia n71] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/rfgpxt.html motorcycle trike] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/dswjco.html breast lift] [http://c21redwood.com/images/properties/thumbs/gostfb.html cash advance loan] [http://www.hardenassociates.com/shands-santa/albums/image/ewkbtc.html lady sonia torrent] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/udlwho.html womens lee jean] [http://shopwhat.com/photo/image/ecsfcb.html motorcycle for sale] [http://interserverhost.com/gallery/albums/userpics/avatars/hrohnc.html mp3 ringtone] [http://bostoncentury.com/old/coppermine/albums/userpics/10001/thumb/sqtvok.html yellowstone national park] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/eitoxh.html dirt bike parts] [http://www.partnerwithsap.com/de/images/banners/lbwoen.html rent movie] [http://www.usedboatdealer.com/boats/images/banners/gif/tvuari.html four star hotel in florence] [http://www.swiic.com/swi/images/banners/128x250/lhcjrg.html colleg] [http://maslov.com/new_releases/cache/kqxbig.html wwe music] [http://sbcoachescollege.com/bulletin/images/avatars/new/jxllbm.html free verizon wireless ringtone] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/ifsewj.html telecommunications] [http://www.partnerwithsap.com/de/images/banners/hrhdxg.html boost mobile phone prepaid] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/vudpkw.html play houses] [http://woodcrafts-online.com/shop/components/com_virtuemart/shop_image/product/thmbs/vtpcus.html military jobs] [http://shopwhat.com/photo/image/jrwjvk.html common law marriage florida] [http://www.usedboatdealer.com/boats/images/banners/gif/deqxlh.html glycolax] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/gtmhag.html adult personal classifieds] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/ovcvfb.html elementary schools] [http://bostoncentury.com/old/coppermine/albums/userpics/10001/thumb/oxjaeh.html excel tutorial] [http://www.athomewithmark.com/images/properties/thumb/dfanpb.html infant jordan shoes] [http://jaxrotaract.org/galainfo/images/avatars/pics/fvuthf.html football pictures] [http://shopwhat.com/photo/image/fnmugr.html journalism] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/psiskb.html cholestyramine] [http://npgsupport.com/chat/chat/localization/icelandic/cache/kqtdea.html work from home] [http://meretusa.com/links/cache/jrhlfl.html photo sex] [http://www.usedboatdealer.com/boats/images/banners/gif/glqems.html download emule] [http://deadmansjacket.co.uk/gallery_images/thumbs/xfjbdn.html america west airline] [http://c21redwood.com/images/properties/thumbs/mosgjc.html homemade sex toys] [http://www.usedboatdealer.com/boats/images/banners/gif/qrmrrf.html liver disease] [http://shopwhat.com/photo/image/tfsdxr.html satellite broadband] [http://shopwhat.com/photo/image/dlllcb.html mazda 3] [http://npgsupport.com/chat/chat/localization/icelandic/cache/vgcpfn.html bet music] [http://interserverhost.com/gallery/albums/userpics/avatars/khandd.html employment canada] [http://www.bidondates.com/pics/albums/102806/CIMG1414/ehcoqo.html india porno] [http://www.usedboatdealer.com/boats/images/banners/gif/klklpg.html retro handbags wholesale] [http://www.partnerwithsap.com/de/images/banners/nelocc.html toyota dealer] [http://c21redwood.com/images/properties/thumbs/imtlbd.html women seeking woman] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/hiqxbn.html discovery] [http://reverejournal.com/wp-content/uploads/2007/05/images/mvtpaq.html baltimore aquarium] [http://shopwhat.com/photo/image/tlltkj.html homedepot] [http://marylandcomputerguy.net/nails/image/bjuxor.html medical alert bracelet] [http://shopwhat.com/photo/image/wcsbvo.html wawanesa auto insurance] [http://bostoncentury.com/old/coppermine/albums/userpics/10001/thumb/ahkesq.html preorder ps3] [http://deadmansjacket.co.uk/gallery_images/thumbs/kvseos.html disney princes] [http://www.christianspeaker.net/catalog/images/icon/chumkt.html love making] [http://www.christianspeaker.net/catalog/images/icon/qcbdsp.html minnie mouse] [http://www.jericogt.com/design/schema/images/news/thumb/1/tmqcep.html nipple piercings] [http://marylandcomputerguy.net/nails/image/acjbfh.html bontril online] [http://c21redwood.com/images/properties/thumbs/dtwncf.html toys sex] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/sesifu.html pricing anderson replacement windows] [http://marylandcomputerguy.net/nails/image/kmhvpq.html joann fabrics coupons] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/woldth.html lil john] [http://deadmansjacket.co.uk/gallery_images/thumbs/lagcla.html online xxx dvd] [http://www.partnerwithsap.com/de/images/banners/vosspc.html keflex 500mg] [http://reverejournal.com/wp-content/uploads/2007/05/images/qeocgr.html pearson airport] [http://shopwhat.com/photo/image/wmrfwq.html cheap disneyland tickets] [http://bostoncentury.com/old/coppermine/albums/userpics/10001/thumb/rettdj.html soccer] [http://marylandcomputerguy.net/nails/image/spnwxb.html pitbulls ear cropping] [http://seeds.servemp3.com/web/meaning-of-anthropology.html meaning of anthropology] [http://diaper.servemp3.com/translate-russian.htm translate russian web] [http://prozak.servemp3.com/text/thrust.htm thrust] [http://chopt.servemp3.com/celebrity-groupies.htm celebrity groupies] [http://marked.servemp3.com/web/america-association.html america association care lawn professional] [http://perfum.servemp3.com/view/lemonade-stand.html lemonade stand] [http://toledo.servemp3.com/articles/san-antonio-spurs.html san antonio spurs] [http://safely.servemp3.com/articles/jordan-pussy.html jordan pussy] [http://whiff.servemp3.com/library/samsung-a670.html samsung a670] [http://chopt.servemp3.com/autoclave.htm autoclave] [http://chopt.servemp3.com/anita-blonde.htm anita blonde hardcore] [http://expuls.servemp3.com/web/jewish-single-group.html jewish single group] [http://toledo.servemp3.com/articles/male-massage.html male massage] [http://diaper.servemp3.com/what-is-feminist.htm what is feminist movement] [http://perfum.servemp3.com/view/to-beat-the-child.html to beat the child was bad enough] [http://perfum.servemp3.com/view/include-file.html include file not found] [http://mortar.servemp3.com/content/discounted-contact.html discounted contact lens] [http://chopt.servemp3.com/samson-exhaust.htm samson exhaust] [http://expuls.servemp3.com/web/business-hosting.html business hosting] [http://prozak.servemp3.com/text/sexy-mini-skirt.htm sexy mini skirt gallery] [http://expuls.servemp3.com/web/hands-up.html hands up] [http://prozak.servemp3.com/text/mcafee-stinger.htm mcafee stinger] [http://prozak.servemp3.com/text/young-teens.htm young teens wearing thongs] [http://diaper.servemp3.com/alexander-brooks.htm alexander brooks] [http://safely.servemp3.com/articles/every-little.html every little thing] [http://prozak.servemp3.com/text/ako.htm ako] [http://perfum.servemp3.com/view/gigantic-penis.html gigantic penis] [http://perfum.servemp3.com/view/wood-workshop.html wood workshop ideas] [http://seeds.servemp3.com/web/savings-bank-life.html savings bank life insurance] [http://prozak.servemp3.com/text/hot-topless-babes.htm hot topless babes] [http://expuls.servemp3.com/web/aventis.html aventis] [http://safely.servemp3.com/articles/sex-movie.html sex movie] [http://toledo.servemp3.com/articles/adapter-belkin-usb.html adapter belkin usb] [http://diaper.servemp3.com/leprosy.htm leprosy] [http://seeds.servemp3.com/web/under-the-kilt.html under the kilt] [http://perfum.servemp3.com/view/lexicon.html lexicon] [http://perfum.servemp3.com/view/steel-buildings.html steel buildings construction for church] [http://diaper.servemp3.com/ways-of-making.htm ways of making money] [http://toledo.servemp3.com/articles/hair-tips-for.html hair tips for curly hair] [http://amamon.servemp3.com/articles/little-virgins-exclusive.html little virgins exclusive] [http://toledo.servemp3.com/articles/nathalie.html nathalie] [http://chopt.servemp3.com/naturist-pictures.htm naturist pictures] [http://diaper.servemp3.com/casinos-in-indiana.htm casinos in indiana] [http://perfum.servemp3.com/view/lolita-video.html lolita video] [http://safely.servemp3.com/articles/lindsay-lohan-breast.html lindsay lohan breast slip] [http://whiff.servemp3.com/library/one-by-one-leadership.html one by one leadership fresno] [http://whiff.servemp3.com/library/rocket-modeler.html rocket modeler 2] [http://whiff.servemp3.com/library/t-rowe-price.html t rowe price] [http://marked.servemp3.com/web/sound-files.html sound files] [http://mortar.servemp3.com/content/html-help.html html help] [http://perfum.servemp3.com/view/quilt-blocks.html quilt blocks] [http://marked.servemp3.com/web/transexuals.html transexuals] [http://expuls.servemp3.com/web/cheap-zocor.html cheap zocor] [http://amamon.servemp3.com/articles/free-mobile-phone.html free mobile phone mp3 ringtone] [http://whiff.servemp3.com/library/drunk-teen-sex.html drunk teen sex] [http://chopt.servemp3.com/ameriplan.htm ameriplan] [http://whiff.servemp3.com/library/texas-land-for.html texas land for sale] [http://expuls.servemp3.com/web/piroxicam.html piroxicam] [http://prozak.servemp3.com/text/brazil-people.htm brazil people] [http://seeds.servemp3.com/web/discount-adipex.html discount adipex] [http://perfum.servemp3.com/view/london-2012.html london 2012] [http://diaper.servemp3.com/spanking-blog.htm spanking blog] [http://whiff.servemp3.com/library/schoolgirls-upskirt.html schoolgirls upskirt gallery] [http://seeds.servemp3.com/web/ball-lightning.html ball lightning] [http://diaper.servemp3.com/dance-paintings.htm dance paintings] [http://whiff.servemp3.com/library/really-long-foreskins.html really long foreskins] [http://toledo.servemp3.com/articles/new-homes-in.html new homes in colorado springs] [http://perfum.servemp3.com/view/marlene.html marlene] [http://marked.servemp3.com/web/beautiful-naked.html beautiful naked woman] [http://chopt.servemp3.com/amalfi-coast.htm amalfi coast] [http://seeds.servemp3.com/web/charlotte-ross.html charlotte ross nude] [http://perfum.servemp3.com/view/mary-kate-ashley.html mary kate ashley fucking] [http://perfum.servemp3.com/view/free-bbw-movies.html free bbw movies] [http://toledo.servemp3.com/articles/buy-alprazolam.html buy alprazolam] [http://amamon.servemp3.com/articles/honeymoon-cruises.html honeymoon cruises] [http://toledo.servemp3.com/articles/bulk-email.html bulk email] [http://marked.servemp3.com/web/psp-wireless-internet.html psp wireless internet] [http://prozak.servemp3.com/text/olsen-twins-sex.htm olsen twins sex] [http://mortar.servemp3.com/content/free-adult-comics.html free adult comics] [http://amamon.servemp3.com/articles/florida-parkinsons.html florida parkinsons disease law suit lawyers] [http://chopt.servemp3.com/graphic-organizers.htm graphic organizers] [http://diaper.servemp3.com/renault-kangoo.htm renault kangoo] [http://marked.servemp3.com/web/shoulder-pain.html shoulder pain] [http://marked.servemp3.com/web/free-xxx-story.html free xxx story] [http://marked.servemp3.com/web/become-an-isp.html become an isp] [http://toledo.servemp3.com/articles/top-heavy.html top heavy] [http://toledo.servemp3.com/articles/nancys-perky-breast.html nancys perky breast] [http://mortar.servemp3.com/content/mature-model.html mature model] [http://marked.servemp3.com/web/teen-sex-model.html teen sex model] [http://expuls.servemp3.com/web/target-pharmacy.html target pharmacy] [http://seeds.servemp3.com/web/incest-bbs.html incest bbs] [http://seeds.servemp3.com/web/wwf.html wwf] [http://prozak.servemp3.com/text/sleeping-teens.htm sleeping teens] [http://safely.servemp3.com/articles/celebrity-movie.html celebrity movie] [http://toledo.servemp3.com/articles/cp-lolita.html cp lolita] [http://safely.servemp3.com/articles/ivillage.html ivillage] [http://safely.servemp3.com/articles/big-boobed-teens.html big boobed teens] [http://marked.servemp3.com/web/lyric-power-song.html lyric power song station] [http://expuls.servemp3.com/web/free-website.html free website hosting] [http://chopt.servemp3.com/english-to-latin.htm english to latin] {{Running_Jmol_Sections}}
+
{{Running_Jmol_Sections}}
 
== Jmol Applet ==
 
== Jmol Applet ==
  
[[wikipedia:Java_applet|Java applet]] version of Jmol which allows Jmol to be embedded in web pages (given that viewers have a Java plugin installed). Like with the application, [[Scripting]] is available. For some demonstration pages see http://www.jmol.org/demo/. To see the HTML source use your web browser {{MenuItem|View}}
+
[[wikipedia:Java_applet|Java applet]] version of Jmol which allows Jmol to be embedded in web pages (given that viewers have a Java plugin installed). Like with the application, [[Scripting]] is available. For some demonstration pages see http://www.jmol.org/demo/. To see the HTML source use your web browser {{MenuItem|View}} → {{MenuItem|Page Source}}.
 +
 
 +
== Installing Jmol Applet ==
 +
{{Installing_Jmol_Sections}}
 +
Download Jmol package (either <code>.zip</code> or <code>tar.gz</code> format) and extract/uncompress '''only the neccessary files''' to the folder of your choice.
 +
 
 +
Which are those neccessary files? For basic use, these:
 +
* {{File|Jmol.js}}, this contains a set of scripting commands that are helpful for interacting with Jmol via a web page (functions for buttons, checkboxes, etc. to interact with the applet). For an overview of functions see the (possibly outdated) [http://jmol.sourceforge.net/jslibrary/ online documentation] or, for the most up-to-date info, just browse the Jmol.js sourcefile.
 +
* All files whose name starts with {{File|JmolApplet0}} and ends in {{File|.jar}}
 +
* If you will distribute your web page files, you should also include the copyright, license and information files: {{File|COPYRIGHT.txt}}, {{File|LICENSE.txt}} and {{File|README.txt}}
 +
 
 +
To use JmolApplet within local web pages, e.g. on the hard disk or on CD, see [[Jmol Applet Deployment Local]] for some precautions needed.
 +
 
 +
For some specific needs, you must use other files; read the sections below about the signed applet.
 +
 
 +
== Jmol in Wikis ==
 +
 
 +
The applet can be embedded in [[wikipedia:HTML|HTML]] (or XHTML) pages (examples are listed on [[Websites Using Jmol]]), but also, with some extra technologies, in Wiki pages (see [[Jmol Processor]]).
 +
 
 +
== Unsigned vs. Signed Applet & Data Access ==
 +
 
 +
The '''signed''' applet can load a molecular model from any http or ftp URL. However, the user will be asked to trust the signed applet. This could be problematic since the publishing authority (jmol.org) "cannot be verified", and the security certificate was issued by a group that is "not trusted" (jmol.org). This is because it would be costly and cumbersome for each version of the applet to be signed by a trusted (commercial) authority.
 +
 
 +
The '''unsigned''' applet displays the molecule without asking the user to trust it. However, it is limited (for security reasons) to loading molecular models from the same http domain (server) that downloads the applet itself. [http://firstglance.jmol.org/ FirstGlance in Jmol] uses the unsigned applet by default, but the signed applet will be used when that "Advanced Option" is checked. Thus you can easily see both applets in action. Methods for accessing data files from arbitrary servers are described in some detail at [http://bioinformatics.org/firstglance/fgij/datameth.htm PDB Data File Access Methods].
 +
<br>
 +
If you are ''not'' running the applet from any server, i.e., you are using a web page residing in a '''local disk''', further security restrictions are applied by Java: molecular models can only be located in the same folder/directory as the applet files or below it; read [[Jmol Applet Deployment Local]].
 +
 
 +
== Tools for Authoring Jmol Web Pages ==
 +
If you are not comfortable writing html and javascript code or would just like to quickly put together some simple pages look at the program [http://www.uwosh.edu/faculty_staff/gutow/Jmol_Web_Page_Maker/Jmol_Web_Page_Maker.shtml Jmol Web Page Maker].  This is a java application that will generate simple interactive Jmol pages using a GUI interface where you can select the data files and and some basic parameters.  I wrote version 1.0 of this program.--[[User:Gutow|Gutow]] 18:13, 18 July 2006 (CEST)
 +
 
 +
== Saving Files from the Applet ==
 +
Although this isn't obvious, the molecule that is being shown in the applet can be saved to local disk. To do so:
 +
# Open applet's menu (right-click, Ctrl+click, or click on bottom-right "Jmol" logo).
 +
# Click on topmost entry (name of molecule).
 +
# On the submenu that appears, click on bottommost entry (name of file).
 +
# Depending on your browser's configuration, the file will be opened in the associated program ("helper application") or you will get an "Open or Save" dialog; choose Save and location in your disk.
 +
 
 +
:''Warning'': At least in Windows, modern browsers may detect this action as opening a pop-up window, so it's likely that the pop-up blocker will prevent you from seeing the "Open or Save" dialog. Pay attention to messages and options in your browser to allow pop-ups for the current page. (Such messages often appear as yellow bars at the top of the page, warnings in a toolbar, or hints in the status line at the bottom of the browser window.)
 +
 
 +
:''Note for Chime users'': If you have MDL Chime installed, the molecule will be opened in a browser window using Chime. You just have to use Chime's menu (File > Save molecule as) to save the file to disk.
 +
 
 +
More user-friendly ways or saving files from JmolApplet are being considered by the developers.
 +
 
 +
In Jmol v.11, a part of the molecule can be extracted and saved into MOL format. This is not so straightforward as the former, and is described in the "interactive scripting documentation" (see [http://jmol.org/ Jmol home page]).
 +
 
 +
The ability to save the state of the molecule (rendering style, coloring, visibility, orientation, etc.) is under development, and already partially implemented in Jmol 11.0. See [http://www.stolaf.edu/academics/chemapps/jmol/docs/?ver=11.0#save <code>save state</code>] and [http://www.stolaf.edu/academics/chemapps/jmol/docs/?ver=11.0#write <code>write state</code>] in the Jmol scripting documentation. This will give similar functionality to what can be done in Chime or Rasmol, although due to Java security restrictions, saving to a file is not available for JmolApplet.

Revision as of 17:28, 29 November 2007

Running Jmol / JSmol

Jmol Applet

Java applet version of Jmol which allows Jmol to be embedded in web pages (given that viewers have a Java plugin installed). Like with the application, Scripting is available. For some demonstration pages see http://www.jmol.org/demo/. To see the HTML source use your web browser ViewPage Source.

Installing Jmol Applet

Installing Jmol / JSmol

Download Jmol package (either .zip or tar.gz format) and extract/uncompress only the neccessary files to the folder of your choice.

Which are those neccessary files? For basic use, these:

  • File icon.gifJmol.js, this contains a set of scripting commands that are helpful for interacting with Jmol via a web page (functions for buttons, checkboxes, etc. to interact with the applet). For an overview of functions see the (possibly outdated) online documentation or, for the most up-to-date info, just browse the Jmol.js sourcefile.
  • All files whose name starts with File icon.gifJmolApplet0 and ends in File icon.gif.jar
  • If you will distribute your web page files, you should also include the copyright, license and information files: File icon.gifCOPYRIGHT.txt, File icon.gifLICENSE.txt and File icon.gifREADME.txt

To use JmolApplet within local web pages, e.g. on the hard disk or on CD, see Jmol Applet Deployment Local for some precautions needed.

For some specific needs, you must use other files; read the sections below about the signed applet.

Jmol in Wikis

The applet can be embedded in HTML (or XHTML) pages (examples are listed on Websites Using Jmol), but also, with some extra technologies, in Wiki pages (see Jmol Processor).

Unsigned vs. Signed Applet & Data Access

The signed applet can load a molecular model from any http or ftp URL. However, the user will be asked to trust the signed applet. This could be problematic since the publishing authority (jmol.org) "cannot be verified", and the security certificate was issued by a group that is "not trusted" (jmol.org). This is because it would be costly and cumbersome for each version of the applet to be signed by a trusted (commercial) authority.

The unsigned applet displays the molecule without asking the user to trust it. However, it is limited (for security reasons) to loading molecular models from the same http domain (server) that downloads the applet itself. FirstGlance in Jmol uses the unsigned applet by default, but the signed applet will be used when that "Advanced Option" is checked. Thus you can easily see both applets in action. Methods for accessing data files from arbitrary servers are described in some detail at PDB Data File Access Methods.
If you are not running the applet from any server, i.e., you are using a web page residing in a local disk, further security restrictions are applied by Java: molecular models can only be located in the same folder/directory as the applet files or below it; read Jmol Applet Deployment Local.

Tools for Authoring Jmol Web Pages

If you are not comfortable writing html and javascript code or would just like to quickly put together some simple pages look at the program Jmol Web Page Maker. This is a java application that will generate simple interactive Jmol pages using a GUI interface where you can select the data files and and some basic parameters. I wrote version 1.0 of this program.--Gutow 18:13, 18 July 2006 (CEST)

Saving Files from the Applet

Although this isn't obvious, the molecule that is being shown in the applet can be saved to local disk. To do so:

  1. Open applet's menu (right-click, Ctrl+click, or click on bottom-right "Jmol" logo).
  2. Click on topmost entry (name of molecule).
  3. On the submenu that appears, click on bottommost entry (name of file).
  4. Depending on your browser's configuration, the file will be opened in the associated program ("helper application") or you will get an "Open or Save" dialog; choose Save and location in your disk.
Warning: At least in Windows, modern browsers may detect this action as opening a pop-up window, so it's likely that the pop-up blocker will prevent you from seeing the "Open or Save" dialog. Pay attention to messages and options in your browser to allow pop-ups for the current page. (Such messages often appear as yellow bars at the top of the page, warnings in a toolbar, or hints in the status line at the bottom of the browser window.)
Note for Chime users: If you have MDL Chime installed, the molecule will be opened in a browser window using Chime. You just have to use Chime's menu (File > Save molecule as) to save the file to disk.

More user-friendly ways or saving files from JmolApplet are being considered by the developers.

In Jmol v.11, a part of the molecule can be extracted and saved into MOL format. This is not so straightforward as the former, and is described in the "interactive scripting documentation" (see Jmol home page).

The ability to save the state of the molecule (rendering style, coloring, visibility, orientation, etc.) is under development, and already partially implemented in Jmol 11.0. See save state and write state in the Jmol scripting documentation. This will give similar functionality to what can be done in Chime or Rasmol, although due to Java security restrictions, saving to a file is not available for JmolApplet.