User ea4b7ec02a
21-01-2008 17:46:20
Hi,
I've just installed MarvinSpace v5.0 in my web server, but my browser (Safari 3.0) hangs when I try to visualize some molecules.
Mac OS X 10.5.2
Safari 3.0.4
It works fine in Windows XP, IE 7.
Thanks,
Sunhwan
ChemAxon efa1591b5a
22-01-2008 16:15:42
User ea4b7ec02a
23-01-2008 16:28:38
Miklos,
Thanks for the suggestion. It worked fine in my browser.
I'm bit curious because my applet doesn't work in Safari works fine in IE.
Ok, I'll work on it more and let you know what happened.
Thanks,
Sunhwan
User ea4b7ec02a
26-03-2008 16:34:39
Milkos,
It seems like Safari compatibility issue is related with Javascript.
I'm using Safari 3.1, Leopard 10.5.2.
The examples that you've provided works fine in Safari. However, my applet doesn't work in my browser, but in IE 7. So, I was wondering why.
By default, I use javascript to draw secondary structure, when the applet loaded. I turned down this feature, and the browser works fine. Alarmingly, I went to your examples and tried use buttons to test javascript, but none of them worked in Safari.
So, could you please examine this, and let me know how can I solve it?
Thanks,
Sunhwan
ChemAxon 909aee4527
28-03-2008 08:20:02
ChemAxon 909aee4527
28-03-2008 08:21:35
P.S. please note that the "Natives already loaded" problem can arise if you try the 2 pages one after the other. Browser restart is required in this case.
User ea4b7ec02a
28-03-2008 16:52:06
I've tried in Safari 3.1 in Mac OS X 10.5.2,
both of them displays structure and failed
to run javascript to change representation.
Thanks,
Sunhwan
ChemAxon 909aee4527
31-03-2008 12:39:45
Hello Sunhwan,
we think we finally managed to find the problem.
Can you please check this page again:
http://www.chemaxon.com/marvin/examples/applets/example-mspace8.html
It if works for you, we either give you the details of the correction or a new release depending on which one do you prefer.
The correction is easy and fast, but a new release would be better since we can also include the SAS surface computation from applet parameter that way.
Probably the best solution is to give you both.
Kind regards,
Judit
User ea4b7ec02a
31-03-2008 19:21:27
Thanks Judit,
It works fine in IE7, Windows.
However, it doesn't work in Safari 3.1 and Firefox 3.0b4, Mac OS X 10.5.2
It hangs on Safari, and it displays wireframe structure in firefox but none of the javascript is working.
Thanks
Sunhwan
ChemAxon 909aee4527
01-04-2008 07:57:55
Hi Sunhwan,
it is interesting, sometimes it works on Safari, sometimes not :S
The problem we found was the naming of the applet. The applet name was not given as parameter to marvin.js, so any call to document.MSpaceApplet was neglected.
This correction was made in
marvin/marvin.js:
Code: |
mspace_begin(name,....) |
In the applet examples:
Code: |
mspace_begin(mspace_name,...) |
Miklos reports that examples 2 and 4 work stably on Safari, but example 8 is sometimes misteriously out of order.
Can you stably use the workaround you have sent us in e-mail?
Kind regards,
Judit
User ea4b7ec02a
01-04-2008 08:04:17
Thanks Judit,
I briefly tested it, and seems working fine.
I'll apply those changes and let you know.
Sunhwan