From adafcf3f906dc988abf98cf894544b1dc2d34f7e Mon Sep 17 00:00:00 2001 From: hansonr Date: Sun, 31 Mar 2019 21:41:49 -0500 Subject: [PATCH] first demo of embedding components as simple divs with known ids --- site-resources/jalview_bin_JalviewJS_embedded.html | 33 +++++++++++++++++--- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/site-resources/jalview_bin_JalviewJS_embedded.html b/site-resources/jalview_bin_JalviewJS_embedded.html index 6650720..d3e0c81 100644 --- a/site-resources/jalview_bin_JalviewJS_embedded.html +++ b/site-resources/jalview_bin_JalviewJS_embedded.html @@ -10,14 +10,15 @@ Info = { main: "jalview.bin.JalviewJS2", core: "NONE", readyFunction: null, - serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol2.php', + serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php', j2sPath: 'swingjs/j2s', console:'sysoutdiv', allowjavascript: true, - //JalviewJS-specific: - jalview_SCREEN_WIDTH: 300, // desktop width - jalview_SCREEN_HEIGHT: 1, // desktop height -- 0 to hide + //Jalview-specific: + // note that desktop-frame-div has been set to display:none + jalview_SCREEN_WIDTH: 100, // desktop width -- 0 to hide + jalview_SCREEN_HEIGHT: 70, // desktop height -- 0 to hide jalview_SCREEN_X: 10, jalview_SCREEN_Y: 10, jalview_EMBEDDED: true @@ -26,9 +27,31 @@ Info = { -
+ + + + + +
+ +
desktop here
+
+
The alignment frame will appear here momentarily...
+
+
+jalview-structureviewer-div +
+
+
+jalview-tree-div +
+
+
+jalview-pca-div +
+