Hi Umanga That would be a hyperlink pointing to the pdb file URL. With a button, the equivalent is location.href But whether that is downloaded or opened in the browser, or in a helper program, will depend on each user's browser and configuration.
Maybe you can copy the link present in the PDB pages. Some of them seem to enforce downloading --sometimes. For example: jmolButton('location.href=\"http://www.pdb.org/pdb/download/downloadFi le.do?fileFormat=pdb&compression=NO&structureId=1CRN\"', 'download this file') or molButton('location.href=\"http://www.pdb.org/pdb/files/1CRN.pdb.gz\"' , 'download this file') ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users