On 7/13/2010 9:04 AM, Angel Herráez wrote:
jmolLink(script, '<img src="path/to/image.png" />', id, title)

If that doesn't work, you can also do:

<img src="path/to/image.png" onClick="jmolScript('spacefill on')"  />

More beginner's questions:

I am sure, I am missing something obvious. How does the picture become a "link" in your solution?

Thanks,

PM


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to