Segmenter-Test: Unterschied zwischen den Versionen

Aus Dornheim Anatomy
Wechseln zu:Navigation, Suche
Zeile 47: Zeile 47:
 
<html>
 
<html>
  
<script type="javascript>
+
 
function __createSegmenterEmbed( name ) {
+
<script>
 
         f = document.createElement('iframe');
 
         f = document.createElement('iframe');
 
         f.onload = function() { f.src="about:blank"; }
 
         f.onload = function() { f.src="about:blank"; }
 
         f.width = "200px";
 
         f.width = "200px";
 
         f.height = "200px";
 
         f.height = "200px";
         f.src="https://www.google.de";
+
         f.src="https://test1.dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=e3t4Ds1jT4LZ";
 
         document.body.appendChild(f);
 
         document.body.appendChild(f);
}
 
</script>
 
 
<script>
 
__createSegmenterEmbed("aaa");
 
 
</script>
 
</script>
 
</html>
 
</html>

Version vom 5. Dezember 2019, 10:17 Uhr

Testseite für Segmenter-Integration

Einbettungsbeispiel:

1. Öffentlicher Segmenter-Fall, 400x300, rahmenlos (default)

<segmenter height="300px" width="400px">https://dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=DODZLrGVhVfo</segmenter>

<segmenterX height="300px" width="400px">https://dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=DODZLrGVhVfo</segmenter>


2. Login-Geschützter Segmenter-Fall, 500x300, Border=1

<segmenter height="300px" width="500px" border="1" frameborder="1">https://dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=x5sql1h5KGVX</segmenter>

<segmenterX height="300px" width="500px" border="1" frameborder="1">https://dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=x5sql1h5KGVX</segmenter>


3. Test-Cloud: Öffentlicher Segmenter-Fall, 400x300, rahmenlos (default)

<segmenter height="300px" width="400px">https://test1.dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=am9kb5VD0HN7</segmenter>


<segmenterX height="300px" width="400px">https://test1.dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=am9kb5VD0HN7</segmenter>


4. Test-Cloud: Öffentlicher Segmenter-Fall, 600x450, rahmenlos (default)

<segmenter width="600px" height="450px">https://test1.dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=7Ru9OxpsqiTs</segmenter>

<segmenterX width="600px" height="450px">https://test1.dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=7Ru9OxpsqiTs</segmenter>

5. Schnappschuss-Funktionalität (wsemb_id)

<segmenter height="300px" width="400px" wsemb_id="my_segmenter_test_embedding">https://test1.dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=e3t4Ds1jT4LZ</segmenter>

<segmenter height="300px" width="400px" wsemb_id="my_segmenter_test_embedding">https://test1.dornheim.cloud/index.php/apps/segmenter/embedding/view?identifier=e3t4Ds1jT4LZ</segmenter>


Diest ist ein <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="3">Snapshot-Test-Link</segmenter_snapshot_link>.

Diest ist ein <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="3">Snapshot-Test-Link</segmenter_snapshot_link>.

Snapshot number 2 starting with number 0