Hmmm, this morning, after rebooting my Mac, neither can I reproduce it. It is working fine now. Failure was 100% consistent yesterday. I'll see if I can discern what if anything put Safari into this mode. I have the "Develop" menu turned on, so access to "Show Error Console". I was using that a lot yesterday but after using it today, Jmol's _javascript_ command still worked. (I find that Firefox's Error Console usually gives a more specific diagnosis of where a _javascript_ error is in the .htm/.js files.)

Ah, here's a good possibility. I entered "pause" into the Jmol console a couple of times yesterday, then apparently had to use "Force Quit" of Safari to regain control. I didn't reboot after that, but it crossed my mind that it would have been a good idea.

-Eric

At 9/6/08, Dean Johnston wrote:
I can't reproduce this - the _javascript_ command works just fine from the Jmol console for me on both Firefox and Safari for OS X.

Dean

On Fri, Sep 5, 2008 at 6:18 PM, Eric Martz < [EMAIL PROTECTED]> wrote:
It appears to me that the _javascript_ command of Jmol does not work in
Safari on Mac OS X.

Examples, typed into the Jmol console:

_javascript_ alert("hi")
or
_javascript_ alert(document.location.href)

These display the alert in Firefox on Windows or Mac OS X, but not in
Safari on Mac OS X.

If this is a known limitation, I suggest that it be documented for
the _javascript_ command in the Jmol reference manual.

Thanks, Eric


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url="">
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url="">
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to