sure --

»»»JIJI«««.::::: wrote:

> Dear  Bob Hanson,
>
>  I didnt know how and were to use this code, in my page, can you tell 
> me briefly,
>
> I am sending my code below your code:
>
>
>
> //////////My code///////////////
>
> <html>
> <head>
> <title>Jmol- Test</title>
> <script type="text/javascript" src="Jmol.js"></script>
> <script>

     function myfunc(app,message){
 var s = message + ""  // BE SURE TO DO THIS!
 if (s.indexOf("ERROR")>=0 && s.indexOf("load >>") >= 0) {
  jmolScript("zap")
 }
}




> </script>
>
> </head>
> <!--body bgcolor="white" onload="jmolfunc();"-->
> <body bgcolor="white">
>
>
> <center>

get rid of all the next -- use Jmol.js commands:

<script>

jmolSetCallback("messageCallba ck", "myfunc")
jmolApplet(850,'load files "1BV71.pdb" "1D2F1.pdb"')

</script>

> </center>
> </body>
> </html>
>
>
>
>
> ////////////End of my code/////////////
>
> Regards,
>
> Jiji TK
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft 
>Defy all challenges. Microsoft(R) Visual Studio 2008. 
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Jmol-developers mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-developers
>  
>


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get. 

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to