[[library()]]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:library [19.07.2017 23:54] – angelegt baeuchler.inesen:create:functions:library [20.07.2017 00:14] – [library()] baeuchler.ines
Line 3: Line 3:
 ''void **library**(string //id//)'' ''void **library**(string //id//)''
  
-Die Funktion ''library()'' bindet die JavaScript- oder (falls auf dem Server definiert) PHP-Bibliothek mit der angegeben Kennung //id// in die Fragebogen-Seite ein und macht sie so für Scripte verfügbar.+The function ''library()'' embeds the JavaScript- or (if defined on the Server) PHP-Library including the defined identifier //id// in the questionnaire-site and makes it available for scripts.
  
-  * //id//\\ Kennung der einzubindenen Bibliothek + 
-    * '''jQuery''' -- [[https://jquery.com/|jQuery]], umfangreiche JavaScript Standard-Bibliothek +  * //id//\\ identifier of the embedded library 
-    * '''Velocity''' -- [[http://velocityjs.org/|Velocity.js]], Animation von HTML-Elementen +    * '''jQuery''' -- [[https://jquery.com/|jQuery]], comprehensive JavaScript Standard-Library  
-    * '''SCEditor''' -- [[http://www.sceditor.com/|SCEditor]], kann Texteingabefelder mit einem WYSIWYG Editor ergänzensodass Teilnehmer ihre Eingaben formatieren können+    * '''Velocity''' -- [[http://velocityjs.org/|Velocity.js]], Animation of HTML-Elements 
-    * '''highcharts''' -- [[http://www.highcharts.com/|Highcharts]], erstellt dynamische Diagramme mittels JavaScript (diese Bibliothek ist nicht auf jedem Server verfügbar). Zusätzlich kann in der //id// nach einem Doppelpunkt ein Highcharts-Modul spezifiziert werdenz.B. '''highcharts:solid-gauge'''.+    * '''SCEditor''' -- [[http://www.sceditor.com/|SCEditor]], is able to extend string gadgets with a WYSIWYG Editor, so participants can format their inputs.  
 +    * '''highcharts''' -- [[http://www.highcharts.com/|Highcharts]], generates dynamic diagramms through JavaScript (this library is not available on every Server). In addition it's possible to specify a Highcharts-module after a colon inside the //id//, e.g. '''highcharts:solid-gauge'''.
  
  
 ===== Konfiguration ===== ===== Konfiguration =====
  
-Server-Administratoren können in der Datei ''/system/config.php'' weitere Bibliotheken definierenUm z.Bdie JavaScript-Datei ''plugins/SomeScript/somescript.js'' mit der Kennung ''SomeScript'' einzubindenergänzen Sie am Ende der Konfiguration:+Server-Administrators can define further libraries inside the file ''/system/config.php''To e.gembed the JavaScript-file ''plugins/SomeScript/somescript.js'' with the identifier ''SomeScript'', please add at the end of the configuration
  
 <code php> <code php>
en/create/functions/library.txt · Last modified: 30.08.2023 22:15 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki