Greeves, Nick wrote: > > Bob now has this working beautifully on many of his pages but I can't > see how to create a "normal" Jmol button or type something into the > cmd: box on Bob's page > http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/new0.htm > that achieves the same result as clicking "new resizable Window". > > I'm quite prepared to admit I don't know how to do this but I would > like to! > > It clearly relies on Jmol.js and newAppletWindow() but I can't put > them together and the source code for Bob's page reveals nothing about > "new resizable Window". > > Can anyone advise what code would produce a Jmol button or the command > required for Console? > 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

