Pshemak, you have a problem with quotes --at least--

href="javascript:jmolScript('load models/allyl-MO-3.jvxl; isosurface "";')"

the quote after isosurface is closing the quote after href

You need to escape the quotes:

href="javascript:jmolScript('load models/allyl-MO-3.jvxl; isosurface 
\"\";')"


Sometimes, things get so complicated with quotes that it is not 
possible to achieve. Then, you can extract portions, like this:

<script type="text/javascript">
var myScript = 'load models/allyl-MO-3.jvxl; isosurface "";'
</script>

and then

href="javascript:jmolScript(myScript)"



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to