Re: [Jmol-developers] Changing Console Location and Adding a New Menu
Actually, it is div id=jmolApplet0_console style=background-color:blue;width:700px;height:400px;overflow:auto/div On Mon, Jun 29, 2015 at 11:01 AM, Robert Hanson hans...@stolaf.edu wrote: Note that I assumed you meant the Jmol console that comes up with the console command. If you meant the information that is behind the applet, then that is simply in Info use console:consolediv and then use something like: div id=consolediv style=background-color:blue;width:400px;height:300px;overflow:auto/div On Tue, Jun 23, 2015 at 9:33 AM, Sam Blackman sa.blackma...@gmail.com wrote: Hello Jmol Devs, I'm looking at changing the location of the console so that it is not a separate window and instead at the bottom of the main Jmol GUI. I'm wondering where I can find the main GUI in order to add the console to it (in the source code). In addition, I'm also trying to add a separate GUI menu that runs when Jmol opens (for experimental purposes). If this is the wrong email to be emailing, I do apologize. Cheers, Sam -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Changing Console Location and Adding a New Menu
Good idea. I have modified JmolCore.js and JmolConsole.js such that you can now add a div: // BH 6/29/2015 9:50:21 AM adds option for user to set console as a div on a page. //as jmolApplet0_console where jmolApplet0 is the id of the applet. // for example: div id=jmolApplet0_console style=width:600px;height:362px/div and will get that out later today. On Tue, Jun 23, 2015 at 9:33 AM, Sam Blackman sa.blackma...@gmail.com wrote: Hello Jmol Devs, I'm looking at changing the location of the console so that it is not a separate window and instead at the bottom of the main Jmol GUI. I'm wondering where I can find the main GUI in order to add the console to it (in the source code). In addition, I'm also trying to add a separate GUI menu that runs when Jmol opens (for experimental purposes). If this is the wrong email to be emailing, I do apologize. Cheers, Sam -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Changing Console Location and Adding a New Menu
It seems that the console div is created when either the console command is executed or the popup menu option is picked. It is appended after the BODY tag, with this content: div id=jmolApplet0_console class=jmolConsole style=display: block; background-color: yellow; width: 600px; height: 362px; position: absolute; z-index: 18; top: 87px; left: 127px; etc So you need to fing where is that code generated. Maybe search for class=jmolConsole in the source -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Changing Console Location and Adding a New Menu
Wow, that's very helpful, thank you! So I assume if you can create a permanent console in Jsmol, it's possible in Jmol as well. Java is a different business, the console IS a java window so you cannot fix it in the page. Example test: http://biomodel.uah.es/JSmol/test_console.htm?_USE=JAVA would it be possible to instead customize the right click menu Yes. Please see http://wiki.jmol.org/index.php/Custom_Menus http://wiki.jmol.org/index.php/Recycling_Corner#Custom_pop-up_menus and have the right click menu be permanent? That will be tricky, but you might follow the same method as for the console. and http://chemapps.stolaf.edu/jmol/docs/#menu -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers