[Jmol-users] two JSmols in the page

2012-11-20 Thread Angel Herráez
Dear all, I'm trying a page with two Jmols using Jmol-JSO. My code is like this: var myJmol1,myJmol2; var myInfo = { height: '50%', width: '100%', jarFile: "JmolApplet.jar", jarPath: JmolPath, j2sPath: JmolPath + "/j2s", use: 'HTML5', debug:

Re: [Jmol-users] two JSmols in the page

2012-11-20 Thread Angel Herráez
Thanks, Paul It seems you are right. I was testing several pages successfully until I hit the 2-applet page. But now the ones that used to work are not working, so I must have changed something in the file set. I'll have to check the files from scratch. Let's wait -

Re: [Jmol-users] Firefox 17

2012-11-20 Thread Angel Herráez
JSmol in http://chemapps.stolaf.edu/jmol/jsmol/test2.htm is running fine for me in Firefox 17.0 (Win7) both HTML5 and WebGL -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-d

Re: [Jmol-users] Application oddities - V13.1.9_dev

2012-11-21 Thread Angel Herráez
> 2) Entering the "mouse selection" mode by using the toolbar icon > deselects all atoms. This doesn't happen if the popup menu is used > instead I see this logical. If I go into mouse selection I am not expecting to work against an already selected full set. So the previous "select

Re: [Jmol-users] JSmol - three months in

2012-11-21 Thread Angel Herráez
Yeah, I was just checking that. I downloaded JSmol.zip this morning and I am getting error in loading core.z.js After checking the js console errors, I located many lines that have a strange invisible character at the beginning of line. I could select one (together with the next few letters) and

Re: [Jmol-users] two JSmols in the page

2012-11-21 Thread Angel Herráez
Ok, after sorting out my problems with the JSmol file set, I can now --again-- assert that where one JSmol works, two don't. This is my test code: var myJmol1,myJmol2; var myInfo = { height: '50%', width: '100%', jarFile: "JmolApplet.jar", jarPath: '..', j

Re: [Jmol-users] Application oddities - V13.1.9_dev

2012-11-22 Thread Angel Herráez
Ciao Simone > I support this idea. Also, I remember reading somewhere that > selectionHalos is supposed to be set ON by default when a file is > loaded - which in my case actually does not happen when I load from > the scripting console. I don't think so. In my experience this has never been

Re: [Jmol-users] Application oddities - V13.1.9_dev

2012-11-22 Thread Angel Herráez
Yes, welcome to Jmol community Ah, you can also use the atom number for selection: select atomno=3, atomno=5; with may be shortened as: select @3, @5; Maybe you like that. AtomNo is sequential from 1 by order in the file

Re: [Jmol-users] Application oddities - V13.1.9_dev

2012-11-22 Thread Angel Herráez
Yes, welcome to Jmol community Ah, you can also use the atom number for selection: select atomno=3, atomno=5; with may be shortened as: select @3, @5; Maybe you like that. AtomNo is sequential from 1 by order in the file

Re: [Jmol-users] two JSmols in the page

2012-11-23 Thread Angel Herráez
Ok, today testing two applets with a simpler design (all in pixels, two independent Info's, default consoles). Still no success. I just downloaded a new jsmol.zip Also a copy of Bob's test3 page (works fine from StOlaf) See http://chemapps.stolaf.edu/jmol/jsmol/test3.htm Running it in a local we

Re: [Jmol-users] R: Re: two JSmols in the page

2012-11-25 Thread Angel Herráez
Today http://chemapps.stolaf.edu/jmol/jsmol/test3.htm is broken, both there and when I download it and test with a fresh download of the jsmol.zip The left-side JSmol does not display but the yellow titlebar. The one on the right is OK Firefox and Chrome, Win7

Re: [Jmol-users] JSmol -- Are we done?

2012-11-25 Thread Angel Herráez
With files updated today: Yes, "color label" is now working for me. Thanks. > > move 30 0 0 0 0 0 0 0 2;color background black > > also worked fine. Maybe you have older files or I'm not getting the right > ones to you. Yes, it is working now (no errors) but without the animation effect, just

Re: [Jmol-users] loop on atom list broken in 13.1.9_dev

2012-11-27 Thread Angel Herráez
Hi Rolf Bob will know what this means, but I'm curious: why the parentheses after label? -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, da

Re: [Jmol-users] loop on atom list broken in 13.1.9_dev

2012-11-27 Thread Angel Herráez
Ah, I read label as an atom propery, not a function. :) -- Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net

Re: [Jmol-users] Jmol call function

2012-11-28 Thread Angel Herráez
Hello Smith I have little experience with php, but I will tell you what you can do with Javascript and hopefully you can adapt it: > jmolButton("model NEXT","Next") > > I need call some php function and together use "model NEXT", when I > push the jmolButton. > Can you writ

Re: [Jmol-users] R: Re: R: JSmol -- Are we done?

2012-11-28 Thread Angel Herráez
Pino, I suggest to first be sure that you clear your browser cache -- js files remain there and you might be seeing the effect of a mixture of old and new files -- Keep yourself connected to Go Parallel: INSIGHTS Wha

Re: [Jmol-users] R: Re: R: Re: R: JSmol -- Are we done?

2012-11-28 Thread Angel Herráez
No idea But my server was giving me trouble serving some pdb and mol files. Maybe it's related. I could fix that by renaming to .pdb.txt or .mol.txt (this was with a former version of JSmol, I have not checked lately) The error was in the form of garbage characters in red font inside the JSmol

Re: [Jmol-users] LoadInline function in JSO...?

2012-11-29 Thread Angel Herráez
Simone, the command is "load data" follow that in the documentation -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforg

Re: [Jmol-users] Ketcher

2012-11-29 Thread Angel Herráez
Hi Otis Yes, that's one of the candidates http://biomodel.uah.es/en/DIY/ It's been some time since I last tested it For comparison (but not up to date): http://biomodel.uah.es/en/DIY/comparison.htm -- Keep yourself con

Re: [Jmol-users] Ketcher

2012-11-30 Thread Angel Herráez
Yes, many Javascript libraries involvedin Ketcher -- things may get complicated. @Philip: The design of Ketcher interface is not very flexible -- I don't like much these systems whose functionality relies on "modern html" (javascript, html5 canvas, SVG) and yet rely on a fixed-size interface

[Jmol-users] scaling an image echo

2012-12-01 Thread Angel Herráez
Hi all I have an image echo. It's working at its full size, but now I need to (conditionally) reduce its size. The doc says this is possible using a scaling factor option in font size. However, I am unable to male it work: set echo formula 0 0; font echo 22 sans plain 0.75; set echo image "ret

Re: [Jmol-users] scaling an image echo

2012-12-01 Thread Angel Herráez
Ok, solved it using set echo scale 0.75 I found that using Google, at http://chemapps.stolaf.edu/jmol/docs/examples-12/new.htm number 10 However, the doc should then be fixed since it says otherwise http://chemapps.stolaf.edu/jmol/docs/?ver=13.0#font --

[Jmol-users] pausinf and resuming a script from the webpage

2012-12-01 Thread Angel Herráez
Hi I have some long scripts running (from spt files) in a JmolApplet within a webpage. I would like to include buttons in the page that pause and resume the running script. Pause works, but resume seems to be impossible to achieve from the page (it works from the applet's console). I have tr

Re: [Jmol-users] Cartoon only erases labels - feature or bug?

2012-12-06 Thread Angel Herráez
Hi Rolf Since labels are attached to atoms, I think this is the way it works. When atoms are not visible, labels go off. Still, I think I have some trace-only models with labels. I will need to find out. An alternative could be to use 3D-attached echos. --

Re: [Jmol-users] !quit question

2012-12-07 Thread Angel Herráez
My feeling is that !quit is a radical "end everything". I vote for it stopping all efects: animation, vibration, minimization... How about spinning? I am seeing that at least "quit" does not stop spinning. Permanent spinning is irritating to me, so I'd be happy that it is also stopped by one or

Re: [Jmol-users] !quit question

2012-12-07 Thread Angel Herráez
> in Jmol app !quit does stop spinning. Also in HTML5 and Java applet. > Maybe you have an older version? No. I've being typing quit, no !quit Now I see, !quit does stop spinning. Good! -- LogMeIn Rescue: Anywhere, A

Re: [Jmol-users] Hello to jmol

2012-12-11 Thread Angel Herráez
Hello I think that using Jmol for just displaying several 2D structures is overkill. >From your MOLfiles many pieces of software can offer a display. For example, JME is much ligther than Jmol. Or you probably should try some of the html+javascript based viewers that do not rely on Java. Readi

Re: [Jmol-users] Hello to jmol

2012-12-12 Thread Angel Herráez
There are a few 2D viewer applications that could be used to display the MOLfiles as flat structure images. For example, ChemDoodle WebComponents may well do it: http://web.chemdoodle.com/installation/download http://web.chemdoodle.com/tutorial/2d-structure-canvases/viewer-canvas -

Re: [Jmol-users] Hello to jmol

2012-12-12 Thread Angel Herráez
@LMH, see for example a simple demo of table with images of structures generated on the fly from MOLdata: http://biomodel.uah.es/en/DIY/ChemDoodle/2d-viewer_4.7.0/test1.htm That should be easy to connect to whatever you use to generate the html page and table, right? -

Re: [Jmol-users] Hello to jmol

2012-12-12 Thread Angel Herráez
Bob: It's ChemDoodle Viewer -- simple enough, and small js files. Not interactive at all. It reads the MOLfile data which seems to be what is available for LMH. LMH: You will have to read the documentation available at the ChemDoodle WebElements website. There are a lot of choices for controllin

Re: [Jmol-users] JSmol initiatlizing messages

2012-12-13 Thread Angel Herráez
Hello Wayne I've done something of the sort in one of my tests. Don't recall the exact details now, but it was along this line: The output "console" that rolls many text lines during initialization is defined in the "Info" object, by default it is located in the same position where the JSmol go

Re: [Jmol-users] gzip pdb file in JSmol

2012-12-13 Thread Angel Herráez
> glad I asked because I would have been somewhat stymied by the link > on that page at the wiki that does not let one download a functional > version. Wayne, can you explain that? Which is that link? I can fix it --

[Jmol-users] spurious alerts in JSmol

2012-12-28 Thread Angel Herráez
Hello, I am running several scripts in pages using JSmol (downloaded on 21st Dec.). Those involving "draw" commands are raising a series of alerts. I guess it is some debug commands left over in one of the JS files. For example, draw pep45 scale 1.2 color yellowTint (4:B.CA) (4:B.O) (5:B.CA) (5:

[Jmol-users] "image" fallback alternative in Jmol-JSO

2013-01-12 Thread Angel Herráez
Hi all While working on an updated version of "export an image from Jmol applet" that will be compatible with the new Jmol-JSO method and applet surrogates, I see that the "image" fallback alternative is not working at http://chemapps.stolaf.edu/jmol/jsmol/test2.htm On the other hand I cannot f

Re: [Jmol-users] "image" fallback alternative in Jmol-JSO

2013-01-13 Thread Angel Herráez
OK. I was trying to cover all known variations. Interestingly, I found that by loading a PNG+Jmol file (saved from the app) instead of the PDB file, when I specify "image" as the only option in Info, the png image is indeed displayed. Nice!

Re: [Jmol-users] Future of the Jmol applet == JSmol

2013-01-13 Thread Angel Herráez
Dear Bob, Thanks for the comprehensive summary on the state of Jmol applet and JSmol. First of all, a huge thanks for the tremendous effort you have put in such a short time and the extraordinary product you have achieved to make. We all owe you much. A few notes of my own to share with users

[Jmol-users] JSmol-compatible new version to export an image from either Jmol applet, Jmo-JSO, JSmol

2013-01-13 Thread Angel Herráez
OK, so I have an update of my former "Exporting from Jmol applet an image of the current view" method, http://biomodel.uah.es/Jmol/export-image/ that is now compatible with Jmol-JSO-HTML5 (JSmol), Jmol-JSO-Java and Jmol-JSO-WebGL it is temporarily located at http://biomodel.uah.es/en/noJava/exp

Re: [Jmol-users] Future of the Jmol applet == JSmol

2013-01-13 Thread Angel Herráez
> I have not had any problems with this, at least with Firefox. I think what > you say is true for MSIE. > It's also possible that I set some sort of flag to allow that. No, seriously. I'm using Firefox and the JS libraries do not finish loading from local files. I gave up trying to understand

Re: [Jmol-users] R: JSmol-compatible new version to export an image from either Jmol applet, Jmo-JSO, JSmol

2013-01-13 Thread Angel Herráez
Thank you, Pino I thought that was updated to the last version, but maybe not. I will check the files again. I did have some problems loading some pdb files that gave format-not-recognised errors. I played a bit with file extensions and gzipped or not, so I may have it broken. Right now, both h

[Jmol-users] disable pop-up menu in JSmol?

2013-01-14 Thread Angel Herráez
Quick question: Can the (recently implemented) pop-up menu in JSmol be disabled/enabled? It would be good to have that feature and, if possible, to use something similar to the applet method, i.e. "set disablePopupMenu TRUE" in script Another choice would be some tag in the Info variable

Re: [Jmol-users] Java

2013-01-14 Thread Angel Herráez
I'll share my experience in Windows on this issue: Today my Firefox also started blocking the Java plugin I had. After an update from java.com, the plugin is not fully blocked but Firefox is asking for permission to run each instance of Jmol applet (unsigned) -- at least on first use of that app

Re: [Jmol-users] Is there a fix that allows cut and paste from Jmol console to txt editor

2013-01-14 Thread Angel Herráez
Hello, Henry Yes, that is becoming a nuisance. For me (Windows), although copy does not work, selecting the text and dragging it to a text editor works, depending on the precise text editor (cannot give a rule for them, even Word may accept the drag). A colleague using Mac reported this procedu

Re: [Jmol-users] JSmol speed varies widely with browser

2013-01-15 Thread Angel Herráez
Dear Eric, glad to hear from you > In Windows 7, I find huge speed differences between browsers for > JSmol. Sorry if this has already been reported. I am also seeing this, although I haven't done a systematic analysis. I understand all comes down to the Javascript engine or implementation of

Re: [Jmol-users] No "select segid" command ?

2013-01-15 Thread Angel Herráez
, I am a Jmol user, and I am not comparing Jmol to > this or that software, but it seems that Jmol would adopt canonical > selection rules that coincide with the PDB formatting style. Is the segid in the PDB specification? I never saw it · Dr. Angel Herráez Biochemistry and Molecular Biol

Re: [Jmol-users] No "select segid" command ?

2013-01-15 Thread Angel Herráez
Hello again I suspect this is an issue of different terminology, but the functionality you ask for is likely there. Some pointers: http://chemapps.stolaf.edu/jmol/docs/#atomexpressionsfunctions see WITHIN SEQUENCE e.g. select within("PGATG",*) //would select all atoms in that peptide sequence

Re: [Jmol-users] No "select segid" command ?

2013-01-15 Thread Angel Herráez
Hi So this is a question of file format. PDB file format specification has not any hint of columns 72-75 or the segID field, either in the current Version 3.3: July, 2011 / Nov. 21, 2012 http://www.wwpdb.org/documentation/format33/sect9.html#ATOM or in the oldest referenced in wwPDB, Version 2.

Re: [Jmol-users] How to float Jmol right in IE9?

2013-01-16 Thread Angel Herráez
I'm pretty sure I can help you out, Eric, but not right now. You'll need to give me some time. First shot: have to tried to wrap the jmolApplet() call in a div that has style float? -- Master Java SE, Java EE, Eclipse

Re: [Jmol-users] How to float Jmol right in IE9?

2013-01-16 Thread Angel Herráez
I'm pretty sure I can help you out, Eric, but not right now. You'll need to give me some time. First shot: have to tried to wrap the jmolApplet() call in a div that has style float? -- Master Java SE, Java EE, Eclipse

Re: [Jmol-users] Jmol on the Android: rotation axes wrong way around

2013-01-18 Thread Angel Herráez
Egon, does that depend on whether your tablet is in landscape or portrait orientation? I'm just curious... -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now w

Re: [Jmol-users] Jmol on the Android: rotation axes wrong way around

2013-01-18 Thread Angel Herráez
An what about JSmol? Will it run in the Nexus web browser? I am reading it's got Chrome -- it should run! -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now wi

[Jmol-users] faster Javascript in Firefox

2013-01-18 Thread Angel Herráez
The release notice for Firefox 18.0.1 includes this line: - Faster JavaScript performance via IonMonkey compiler good for JSmol ! and - better image quality with our new HTML scaling algorithm -- Master HTML5, CSS3,

Re: [Jmol-users] PDB - OK, who's the wise guy?

2013-01-19 Thread Angel Herráez
I found this. It is not the same, but related Prototype/reference implementation for encoding and decoding atom serial numbers and residue sequence numbers in PDB files. The "hybrid-36" counting system. http://cci.lbl.gov/cctbx_sources/iotbx/pdb/hybrid_36.py ---

Re: [Jmol-users] R: JSmol-compatible new version to export an image from either Jmol applet, Jmo-JSO, JSmol

2013-01-19 Thread Angel Herráez
Hi Pino Nothing to do with my site or with Jmol/JSmol. It's an issue of Java version and browser version and policies. Nasty indeed. Anyway, for me once I accept the alert the applet loads fine in Firefox 13, IE 9, and Chrome (Java 1.7.0_11) And the JSmol boxes should be working fine, right? O

Re: [Jmol-users] JSmol update

2013-01-24 Thread Angel Herráez
Mike, I downloaded it like 2 hours ago and it unzipped well (Windows, WinZip) -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current

Re: [Jmol-users] help - Question about JSmol

2013-01-25 Thread Angel Herráez
Hi Jonathan I don't think that download or ftp will be your problem. It is a zipfile, so the contents will not be altered during file retrieval. Make sure you are downloading the correct file, http://chemapps.stolaf.edu/jmol/jsmol.zip Then it might be a question of how it is unzipped, but I woul

Re: [Jmol-users] help - Question about JSmol

2013-01-25 Thread Angel Herráez
> http://myweb.brooklyn.liu.edu/jgough/ChemResources/example3.htm I am not sure, but it is possible that this line within Info in your page j2sPath: "j2s", is read as "find the files in subfolder j2s of the current (i.e. this page) folder" So it's no surprise that it does not load I think you

Re: [Jmol-users] can you visualize more than one molecular orbital at a time?

2013-01-28 Thread Angel Herráez
Hi Jonathan I have no experience with MO, but some with surfaces. Although you can include color and translucency in the same surface command, I' ve found it tricky and the safest is to do it separately. You must give a name to each surface first. Try this: isosurface surf1 mo 6; isosurface su

Re: [Jmol-users] Windows: Java 7 very sluggish

2013-01-31 Thread Angel Herráez
> I find that Java 7 (1.7.0_11) on Windows is very sluggish. So slow that it > could well drive away > most users of complex Jmol pages (e.g. Proteopedia, FirstGlance in Jmol). That's strange, Eric. I've been using Java 7 for a long time in one of my PCs and have not noticed this problem. It mi

Re: [Jmol-users] Apple blocks java 6 applets on Snow Leopard

2013-01-31 Thread Angel Herráez
In Windows, since a week or so when this Java "danger" started, Firefox blocks all applets but allows you to activate them by one click -- until next time a page is loaded, then you must do it again. -- Everyone hates s

Re: [Jmol-users] Location of j2s directory

2013-02-02 Thread Angel Herráez
> Thanks. It seems to be working now for me. Great! And the solution was...? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.n

Re: [Jmol-users] Two embedded JmolPanels: FileNotFoundException #NOC#

2013-02-02 Thread Angel Herráez
Hi David I'm afraid I have no experience in building apps, but as a first line of attack I'd ask: is this problem restricted to the use of 2 JmolPanels? To me it seems indeed that the path is not being properly parsed and you get a mixture of the base path + the chosen path. Another thng to tr

Re: [Jmol-users] Up-to-date Javadoc API Reference available online?

2013-02-02 Thread Angel Herráez
There's probably no updated API documentation written anywere Bob may tell you for sure what's the state, or towhat extent you can keep using the old one. -- Everyone hates slow websites. So do we. Make your web apps fas

Re: [Jmol-users] Adding bonds explicitly for xyz format

2013-02-03 Thread Angel Herráez
Hi David I don't know about doing this at the development level, but with scripting he regular app or applet: xyz format does not provide connectivity (bonds) mol format is also quite simple and does include bond information ---

Re: [Jmol-users] JMol applet stopped working on Opera...?

2013-02-06 Thread Angel Herráez
Simone, do you have a url we can test? -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _

Re: [Jmol-users] JSmol and JSpecView

2013-02-07 Thread Angel Herráez
Hi Jennifer http://sourceforge.net/mailarchive/forum.php?forum_name=jmol-users is the official archive, but I agree there is no apparent way of searching through it There are several mirrors, e.g. I regularly use http://www.mail-archive.com/jmol-users@lists.sourceforge.net/maillist. html that ha

[Jmol-users] paper on Jmol and orbitals

2013-02-07 Thread Angel Herráez
Dear Jmolers, You may be interested on reading this -- it is offered for free by ACS Interactive Web-Based Pointillist Visualization of Hydrogenic Orbitals Using Jmol Shane P. Tully, Thomas M. Stitt, Robert D. Caldwell, Brian J. Hardock, Robert M. Hanson, and Przemyslaw Maslak J. Chemical Educati

Re: [Jmol-users] Jmol Java problem

2013-02-10 Thread Angel Herráez
Hi Tony As the test report says, Safari should be compatible. The most likely cause for your problem is recent policies of blocking Java applets due to the vulnerabilities reported. In particular, Apple remotely forces applet disabling in Safari. I'm not a Mac user, so I cannot offer specific a

Re: [Jmol-users] JSmol size reductions

2013-02-10 Thread Angel Herráez
Hi Bob > We had some problems with MSIE 9, but that should be fixed. If someone would > try this with > Safari 5.1, I would appreciate it. Particularly the link down on the middle > column, load k04041.cif > {1 1 1} > http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm Works in Safari 5.1.7 (Wind

Re: [Jmol-users] Distances/angles with mouse broken in applet?

2013-02-10 Thread Angel Herráez
Dear Eric, I cannot reproduce your problem. > Fixing the monitor line with the mouse also fails at > http://chemapps.stolaf.edu/jmol/docs/examples-12/simple.htm > (Jmol 13.1.11 signed applet). That works correctly for me. I can set monitors for distance and angle using the mouse. Firefox 18, W

Re: [Jmol-users] ellipsoid that envelops a model

2013-02-11 Thread Angel Herráez
This feature sounds interesting. Simplistic protein rendering! :-) > I think you are suggesting: > > ellipsoid {atom set} > > Should we give that a try? Oliver, would it be useful to allow an > option that includes atomic masses? I had a request (off-list) recently as to how to find the center

Re: [Jmol-users] FirstGlance now works in IE9

2013-02-14 Thread Angel Herráez
El 13 Feb 2013 a las 18:00, Eric Martz escribió: > This restructuring of FirstGlance HTML was > greatly facilitated by the "resizable Jmol" > template B generously provided by Angel Herráez > http://biomodel.uah.es/Jmol/resizable/inicio.htm > I am deeply thankful to A

Re: [Jmol-users] Web kit browsers and JSmol--partial answer to my own question...

2013-02-17 Thread Angel Herráez
Jonathan, I'd say that has nothing to do with JSmol but with server configuration. I saw that for JSmol pages, being all js loaded into the browser, gets a different behaviour than with Java. For example, from my server the extension also raised different behaviours when loading (I don't rememb

Re: [Jmol-users] Web kit browsers and JSmol--partial answer to my own question...

2013-02-17 Thread Angel Herráez
I agree with Otis regarding the use of txt. I still try to avoid using txt systematically (beacuse I quite prefer to know what's in a file) but it may be a sensible mesure. > Served file suffixes have to be registered. I don't understand why this would > be browser > dependent, however. Well

Re: [Jmol-users] I can't get chrome and safari to load JSmol pages where all files are ASCII...

2013-02-18 Thread Angel Herráez
> If a file is a binary type, some browsers simply won't be able to > read it ever from your hard drive. But they will from a server, > provided you have the jsmol.php file installed there, which will > convert the binary file to BASE64 and pass it back to those > binary-incapable browsers in t

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread Angel Herráez
Hello Simone #1 I believe (but am not sure) that with the latest versions you only need to call JSmol.min.js The call to j2sjmol.js will be done internally based on the path specufied in the Info variable. #2 Information in the Wiki is not up-to-date (must find time to do it, and the WIki was

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread Angel Herráez
Ah, OK JSmol distribution is still not well roganized, I'm afraid. There's also a bit of confusion between Jmol-JSO and JSmol (which I'm planning to sort out and explain in the wiki) I suggest that you download from StOlaf. The link is in the wiki http://wiki.jmol.org/index.php/JSmol (there us

Re: [Jmol-users] Drawing Options

2013-02-23 Thread Angel Herráez
Robert Hanson wrote: > draw scale 500 arc ... 5-Angstrom diameter 500 ==> not 5 angstrom, I'd say ? > * What's the best way to draw a line without an arrow head? Use 'draw > cylinder'? > Yes, I think so. There is "draw line" (polyline) and "draw curve", which is useful e.g. for arbitrary cu

Re: [Jmol-users] JSmol 13.1.13 released

2013-02-24 Thread Angel Herráez
On 23 Feb 2013 at 15:36, Robert Hanson wrote: > with unreleased updates going to > http://chemapps.stolaf.edu/jmol/jsmol/jsmol.zip That should be http://chemapps.stolaf.edu/jmol/jsmol.zip -- Everyone hates slow websi

Re: [Jmol-users] Drawing Options

2013-02-25 Thread Angel Herráez
s when you mean angstroms, to be sure. > > BTW, these behaviors are still present in 13.0. Thanks for updating, > Andreas. > > Thanks, > > -Spencer > > On Sat, Feb 23, 2013 at 3:38 AM, Angel Herráez > wrote: > Robert Hanson wrote: >

Re: [Jmol-users] JSmol

2013-02-25 Thread Angel Herráez
El 24 Feb 2013 a las 20:29, Robert Hanson escribió: > Anybody know if that's the case? -- That if you access your local > machine via localhost and an apache server, you can access files that > are not downstream of the path of the HTML page? I'm not sure right now if in my case the paths resemb

Re: [Jmol-users] R: Re: JSmol

2013-02-25 Thread Angel Herráez
> right -- let's get that clarified on the wiki. OK, I will do it. Still I cannot grasp what is the exact limitation, all being javascript any folder should be possible. We are not talking about getting files from other server.

Re: [Jmol-users] Directories

2013-02-25 Thread Angel Herráez
On 25 Feb 2013 at 13:27, Fred Ziegler wrote: > All: > > Uploaded to the serverFEZtest5.html (subdirectory), and JSmol and > cyclohex.mol to the directory, one level up). Does not work. Used ../ > annotation in three locations. What am I doing wrong. Fred Fred, I tried your source code local

Re: [Jmol-users] Error Question

2013-02-26 Thread Angel Herráez
> When is a bug not a bug? I guess it depends on the number of legs it has :-D -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf

Re: [Jmol-users] JSMol not working with JSmol.min.js

2013-02-27 Thread Angel Herráez
> http://biology.kenyon.edu/BMB/biomolecules_jsmol.htm Working for me , too (Firefox on WIn7) Clear your cache, maybe -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download Ap

[Jmol-users] documentation on JSmol in the Wiki

2013-02-27 Thread Angel Herráez
Dear Jmolers, Information about JSmol and Jmol JavaScript Object is more or less complete and up-to-date now in the Wiki, http://wiki.jmol.org/index.php/Jmol_JavaScript_Object More details will be need to be added later, but I believe this now agrees with the current state and, even if not comp

Re: [Jmol-users] JSMol not working with JSmol.min.js

2013-02-27 Thread Angel Herráez
> http://biology.kenyon.edu/BMB/jsmol/simple2.htm Yes! Same result as Mike: first it loads the Java applet, but the HTML5 links loads the JSmol version OK -- Everyone hates slow websites. So do we. Make your web apps f

[Jmol-users] problem running scripts in JSO

2013-02-28 Thread Angel Herráez
I am hitting my head against the wall. Cannot trace what's going on. Can this error be due to location of files and folders? Error: TypeError: b._script is not a function Archivo de origen: http://localhost/jsmol_28feb/JSmol.min.js Línea: 289 It's happening with both Jmol.Java and JSmol.HTML5 usi

Re: [Jmol-users] Definition of atom property - substructure

2013-03-01 Thread Angel Herráez
Rolf, you can check out http://wiki.jmol.org/index.php/Protein_Community Hope it is correct -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today:

Re: [Jmol-users] JmolApplet.class problem

2013-03-04 Thread Angel Herráez
Hi Richard That error usually displays when the applet JAR files are not found, either because of a wrong path or because you specify signed applet and have only the unsigned files (or vice versa). I don't think it has anything to do with Java policies. Maybe because of the blocking dialog the b

Re: [Jmol-users] hmm. css question

2013-03-05 Thread Angel Herráez
I would say: 1. you need an envelope div#1 or other element that has position:relative (absolute will do too) 2. inside that div#1, you set div#2 with position:absolute; left:0;top:0; 3. inside div#1 and next (sibling) to div#2, you set div#3 also with position:absolute; left:0;top:0; div#3 wil

Re: [Jmol-users] hmm. css question

2013-03-05 Thread Angel Herráez
Based on current (generated) source code in http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm this could be enough (portions in red added over the existing code): -- Everyone hates slow websites. So do

Re: [Jmol-users] cover image

2013-03-06 Thread Angel Herráez
> I can see how we might want two different images, one first and then one > during loading. A nice > animated GIF would be handy for the loading part. My previous tests (but not with current JSmol) showed that the browser cannot cope with animated GIFs while loading JSmol libraries. They just

Re: [Jmol-users] JSmol in ePub3

2013-03-07 Thread Angel Herráez
Greg, this sounds very interesting. I hope you can succeed. > I have successfully included JSmol in our VLE pages It would be interesting to the Jmol community if you could share some guidance abbout that implementation. There is a section in the Jmol Wiki, http://wiki.jmol.org/index.php/CMS_

Re: [Jmol-users] Console Question

2013-03-09 Thread Angel Herráez
Otis, have you tried show PDBHEADER ? -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For i

Re: [Jmol-users] accented characters

2013-03-11 Thread Angel Herráez
Olá Sérgio This problem comes back from time to time, I thought we could be forgetting it. All depends on whether the browser knows the encoding of the JavaScript and JmolScript files. You are using the Java applet, not JSmol, right? First choice I would suggest is to make sure that all html

Re: [Jmol-users] accented characters

2013-03-11 Thread Angel Herráez
El 11 Mar 2013 a las 9:04, Sérgio Ceroni da Silva escribió: > Already tried that using Notepad++, encoding in UTF-8 with and without > BOM. No success. m... Weird Do you have a link url I can see? -- Symantec End

Re: [Jmol-users] old Jmol, new JSmol

2013-03-17 Thread Angel Herráez
Richard, my experience is that IE behaviour changes dramatically depending on the (compatibility) mode it adopts --particularly for CSS-related things. For that, including a proper DOCTYPE in the page header is crucial. But I'd expect IE8 to work correctly for most things also in JSmol. -

Re: [Jmol-users] WRITE working

2013-03-17 Thread Angel Herráez
That's great, Bob Users: you may be also interested on my tests along this issue: http://biomodel.uah.es/en/noJava/export-image/index.htm Maybe it's the same technique Bob has implemented. Note that page is not using the latest JSmol files. Server-side processing is only needed for IE clients.

Re: [Jmol-users] About adjustment of jmol applet window size by mouse

2013-03-20 Thread Angel Herráez
Hello, gridbird Welcome to Jmol! #1 > now I am wondering that is there any example in which the applet > window size can be adjusted by mouse The applet may be resized by javascript commands; mostly you could use http://jmol.sourceforge.net/jslibrary/#jmolResizeApplet But the example you sh

Re: [Jmol-users] old Jmol, new JSmol

2013-03-20 Thread Angel Herráez
> Thanks for this Angel. As far as I know the only HTML5 definition is > : > . I agree. And that makes our life easier. > I tried my testpage > http://www.biotopics.co.uk/jsmol/glucosetestcutdown.html recently > with IE7 on an old machine and it did not bring up the image. Yes, my copy of IE

<    5   6   7   8   9   10   11   12   13   14   >