Hi Saravanan:

> When i try to load the pdb file from console like 
> load "=1crn" 
>  I have to use jmol 11.1.39 ? 

Yes!


>  Is it possible to open pdb file without displaying inputbox, 
> command button and from hyperlink in this page... i will pass the 
> pdbcode from another page to this page and is it possible to get by 
> request("name") ? 

You can do that using javascript and feeding the filename to the 
jmolApplet() command

I don't know how <<request("name")>> works (is it PHP?), but you 
could do it via "seacrh" parameter of the url, something like

Source page:
<a href="modelpage.htm?1crn">open 1crn molecule</a>

and then parsing  to get the pdbname:

Target page:
var nam = document.location.search.substr(1)
jmolApplet(300, 'load "='+nam+'"')

more or less



and



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to