Hi, this is not really a Jmol question, but it is part of a Jmol
based app and the Jaavscript guru's are here! So, I have a web page
within which is an image map.
When I click on an area of the image map I would like to popup a
window and fill it with some contents. I have so far got something
like this:
<img src="junk.gif" usemap="#G" border=0/>
<map id="G" name="G">
<area shape="rect" onclick="showSingle('CCC')" title="0" alt=""
coords="117,8,189,56" />
...
now showSingle() is a Javascript function which right now just brings
up an alert box. Instead what I'd like to do is open a window and fil
it automatically with the result of calling a URL. So in pseudocode:
showSingle(smiles) {
var url = 'http://some.where/something.cgi?smiles';
openWindow with the result of calling url;
}
Any pointers would be appreciated
-------------------------------------------------------------------
Rajarshi Guha <[EMAIL PROTECTED]>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
"whois awk?", sed Grep.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users