diff --git a/examples/demo.js b/examples/demo.js index 38970f02..13e7d24c 100644 --- a/examples/demo.js +++ b/examples/demo.js @@ -165,41 +165,13 @@ window.onload = function() { }); - - // File handling - $('#addStep select').on('change', selectNewStepUI); function selectNewStepUI() { - $('#options').html(''); var m = $('#addStep select').val(); - for(var input in modulesInfo[m].inputs) { - var inputUI = ""; - var inputDesc = modulesInfo[m].inputs[input]; - if (inputDesc.type.toLowerCase() == "select") { - inputUI += ""; - } - else { - inputUI = ""; - } - $('#options').append( - '
\ -
\ - '+input+':\ -
\ -
\ - '+inputUI+'\ -
\ -
' - ); - } + $('#addStep .info').html(sequencer.modulesInfo(m).description); } - function addStepUI() { var options = {}; var inputs = $('#options input, #options select'); diff --git a/examples/images/tulips.png b/examples/images/tulips.png index c8bfa4b5..2dfb11d9 100644 Binary files a/examples/images/tulips.png and b/examples/images/tulips.png differ diff --git a/examples/index.html b/examples/index.html index f2e15512..5343495b 100644 --- a/examples/index.html +++ b/examples/index.html @@ -48,18 +48,20 @@
-
-
- -
-
-
-
-
-
- +
+ +
+
+
+
+ + +
+
+

Select a new module to add to your sequence.

+
@@ -68,7 +70,6 @@