Re: [Jmol-users] Mac User Request and NIH site

2010-08-26 Thread Otis Rothenberger
Bob and Frieda, Thanks for the help on this. I did change to the Ajax approach. It seems to work smoothly. The added benefit is that it has extended utility as our student model application grows in size. With increase use of compare to see if students got it right, we are storing more and

Re: [Jmol-users] Mac User Request and NIH site

2010-08-25 Thread Robert Hanson
On Wed, Aug 25, 2010 at 10:32 AM, Otis Rothenberger wrote: > Bob, > > I'm working on this now, and I picked up on the fact that I would not be > translating XML. I set this to "", but I'll remove the whole thing per > your suggestion. > > I've used something like this before, but I used a "GET." A

Re: [Jmol-users] Mac User Request and NIH site

2010-08-25 Thread Otis Rothenberger
Bob, I'm working on this now, and I picked up on the fact that I would not be translating XML. I set this to "", but I'll remove the whole thing per your suggestion. I've used something like this before, but I used a "GET." A query string is in your "POST," so everything is there. The main t

Re: [Jmol-users] Mac User Request and NIH site

2010-08-25 Thread Robert Hanson
Otis, that should read as follows. The xmlProcessor business was for a page I had that actually did get XML return, but you won't have that, I think. Truly, this is all there is to AJAX! var req = null var isMSIE = false function loadXmlData(url, data) { try { if (window.XMLHttpReques

Re: [Jmol-users] Mac User Request and NIH site

2010-08-25 Thread Robert Hanson
On Wed, Aug 25, 2010 at 9:39 AM, Otis Rothenberger wrote: > Bob, > > I didn't think of AJAX, probably because I'm at the low end of the learning > curve on that. My server is limited to ASP.NET, but that should work with > the approach you suggest. > > Am I correct on the following assumption? To

Re: [Jmol-users] Mac User Request and NIH site

2010-08-25 Thread Otis Rothenberger
Bob, I didn't think of AJAX, probably because I'm at the low end of the learning curve on that. My server is limited to ASP.NET , but that should work with the approach you suggest. Am I correct on the following assumption? To use AJAX in place of the iFrame, I would have to

Re: [Jmol-users] Mac User Request and NIH site

2010-08-25 Thread Robert Hanson
Otis, you can use an "applet proxy" -- that is, a stub of code on your web site that relays the data from another site, which is basically what you seem to be using. In addition, there is a JavaScript server at St. Olaf that allows you to read a page from anywhere in the world into the unsigned Jm

Re: [Jmol-users] Mac User Request and NIH site

2010-08-25 Thread Frieda Reichsman
Hi Otis, I'm on a MacBook Pro, 10.6.4, Safari 5.0.1. On Aug 25, 2010, at 1:21 AM, Otis Rothenberger wrote: > > 1) Load (could be a slow load) > http://chemagic.com/web_molecules/script_page_large.aspx Actually quite fast - seconds. > 2) Click The Molecule Editor link. > 3) In the command field

[Jmol-users] Mac User Request and NIH site

2010-08-24 Thread Otis Rothenberger
I'm trying to feed GET returns from the NIH Chemical Identifier Resolver directly to Jmol without using the signed applet. My reasons for wanting to do this are not just Jmol related. I need to be able to feed other NIH data to JavaScript on my page - a JavaScript security violation under norma