<script language="JavaScript">
// instead of this, we use a custom JmolApplet spec
// jmolInitialize('jmol');
-jmolInitialize("","JmolApplet-12.2.4.jar");
+jmolInitialize("","${content.jmol}");
function genHref()
{
var s1 = "ml:i@midd..", s2 = "atelcpoueau", s3 = "iomyob.neck", href="";
var _jvA=new Object();
_jvA.attributes = {
code : 'jalview.bin.JalviewLite',
- archive : 'jalviewApplet.jar',
+ archive : '${content.jvl}',
width : '500',
height : '350',
mayscript : 'True',
linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
APPLICATION_URL : "http://www.jalview.org/services/launchApp",
PDBfile : "1gaq.txt FER1_MAIZE",
- permissions : "all-permissions"
+ permissions : "sandbox"
};
jmolSetCallback("hoverCallback","_jmolhover");
jmolSetCallback("pickCallback","_jmolpick");
};
</script>
<strong>JalviewLite Linked Applets Demo<br></strong>
- <p>The two applets below use <a href="JalviewLiteJs.html">JalviewLite's javascript API</a> to exchange events about the currently selected region and mouse position in the alignment.
+ <p>The two applets below use <a href="jalviewLiteJs.html">JalviewLite's javascript API</a> to exchange events about the currently selected region and mouse position in the alignment.
</p>
<script>
var attributes = {
code : 'jalview.bin.JalviewLite',
- archive : 'jalviewApplet.jar',
+ archive : '${content.jvl}',
width : 800,
height : 300,
mayscript : 'True', scriptable: 'True',
linkLabel_2 : "Uniprot"
,
linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
- permissions : 'all-permissions',
+ permissions : 'sandbox',
APPLICATION_URL : "http://www.jalview.org/services/launchApp"
};
<script>
var attributes = {
code : 'jalview.bin.JalviewLite',
- archive : 'jalviewApplet.jar',
+ archive : '${content.jvl}',
width : 800,
height : 300,
mayscript : 'True', scriptable: 'True',
linkLabel_2 : "Uniprot"
,
linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
- permissions : 'all-permissions',
+ permissions : 'sandbox',
APPLICATION_URL : "http://www.jalview.org/services/launchApp"
};
deployJava.runApplet(attributes, parameters, '1.6');