From: A. H. <ang...@ua...> - 2013-03-20 16:47:06
|
Hello, gridbird Welcome to Jmol! #1 > now I am wondering that is there any example in which the applet > window size can be adjusted by mouse The applet may be resized by javascript commands; mostly you could use http://jmol.sourceforge.net/jslibrary/#jmolResizeApplet But the example you show, as well as others similar to it (like the PDB website) is using the jQuery library with the "resizable" feature activated. (Or some other javascript library/framework with a smilar feature). Basically what you need to do is 1- wrap Jmol applet in a div that has a specified width and height in CSS 2- assign the resizable property to that wrapper div, using jQuery syntax 3- assign Jmol applet a width and height of "100%" #2 > another question is why some jmol applets show "jmol" log but another > some jmol applets show "jmol_s" log. what is the difference of these > two logs ? do they means different jmol versions? They mean, respectively, the unsigned applet and the signed applet. But they are the same Jmol version, they differ in the permissions to access local disk or other servers. You can read more details in the Wiki http://wiki.jmol.org/index.php/Jmol_Applet#Unsigned_vs._Signed_Applet_.26_Data_Access |