Hi Björn
http://bioinformatics.charite.de/jsmol_test/livesearch.php
displays a blank page, so I will work with
http://bioinformatics.charite.de/jsmol_test/comparison.php
1. I know nothign about "ajaxRequest"
2. On select name="matched_targets"
I don't think you can have an <option> with two values, so I'd write:
echo "<option
value=".$ids[0]."_".$ids[1].">".$ids[0]."_".$ids[1]."</option>";
and then change the function update_view(ident)
to (also) include this:
3.
var x = ident.split("_");
var s = 'load files "./results/' + x[0] + '.sdf" "./results/' + x[1]
+ '.sdf"; ';
Jmol.script(jmolApplet0, s);
That's assuming your files are named with the ID + sdf and are in
that folder.
Dos that make sense? I am not sure to get the current mechansim of
your page.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users