Nick Greeves wrote:
> Hi Bob,
> I'm still struggling with creating a button to pop out a large Jmol
> window like you have below your windows as standard. Rolf's suggestion
> creates a button on the page but it does nothing and gives an error in
> Console.
> (event handler):Can't find variable: newAppletWindow
> 
>> I guess it should work if you have the latest Jmol.js (including the
>> 'newAppletWindow' function) and insert the following into your page:
>>
>> <input type="button" value="new window"
>> onClick='javascript:newAppletWindow()'>
>>
>> Regards,
>> Rolf
> 
> I'm using 11.3.32. I've searched Jmol.js and can't find newAppletWindow.
> Do I need another .js file?
> 
> 

I had just assumed that this function would make it's way into
"Jmol.js", but obviously this assumption was wrong.
The function is defined in
http://chemapps.stolaf.edu/jmol/docs/examples-11/new.js

Regards,
Rolf

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to