From: A. H. <ang...@ua...> - 2011-03-26 11:43:46
|
Michael, I have no experience with VB, but regarding Javascript calls to Jmol, all support is in the Jmol.js library, and it supports html IDs for both applets and controls. Maybe that's what you need. > That immediately leads to the question of how to obtain a list of available functions and their > parameters/formats, etc. Any Jmol command can be passed through jmolScript() > I see that the tagName may be a group of elements (such as INPUT) rather than a unique name. > So the ID or index is needed to refer to a unique element. > For example I can send a Jmol command via elements 11 (the text) 12 (the button to click), but > there is no guarantee that 11 and 12 are stable indices for future versions. Then it would help > provide an ID for the button (12). maybe like jmolButton(script, label, id, title) ?? |