Bob,

I really like the convenience of the Jmol.loadFileFromDialog(jmolApplet0) 
feature, but I’d like to be able to trap a URL entry. When I run JSmol locally 
with no Internet connection, the jsmol.php file is not available for a URL that 
might need it. I’d like to trap a URL entry gracefully as needed below:

1) Model kit running via server - No trap needed.
2) Model kit running locally on computer WITH Internet connection: No trap 
needed.
3) Model kit running locally on computer WITH NO Internet connection: Trap 
needed.
 
I detect all three states in my code. Is there a way to trap/check URL entry 
when code detects condition 3? Running locally with no Internet connection 
causes the page to hang on a URL entry looking for my jsmol.php file. I could 
trap condition 3 and turn off the dialog, but I’d like to keep it for local 
files.

One more question: Under what conditions will a local file entry into 
Jmol.loadFileFromDialog(jmolApplet0) dialog look for jsmol.php. I assume a 
binary file needs to go to jsmol.php. Is that correct?

Otis


--
Otis Rothenberger
o...@chemagic.org
http://chemagic.org


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to