1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,32 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+// Add the formstone picker style sheet |
|
4 |
+$GLOBALS['TL_CSS']['VEX'] = 'system/modules/eSM_vexdialog/vendor/vex/' . VEX . '/assets/css/vex.css'; |
|
5 |
+$GLOBALS['TL_CSS']['VEX_THEME'] = 'system/modules/eSM_vexdialog/vendor/vex/' . VEX . '/assets/css/vex-theme-wb.css'; |
|
6 |
+ |
|
7 |
+?> |
|
8 |
+ |
|
9 |
+<script src="system/modules/eSM_vexdialog/vendor/vex/<?php echo VEX; ?>/assets/js/vex.modified.js"></script> |
|
10 |
+<script src="system/modules/eSM_vexdialog/vendor/vex/<?php echo VEX; ?>/assets/js/vex.dialog.js"></script> |
|
11 |
+<script> |
|
12 |
+vex.defaultOptions.className = 'vex-theme-wb'; |
|
13 |
+(function($) { |
|
14 |
+ $(document).ready(function() { |
|
15 |
+ //var $el = $('<h2></h2>').text('Dialog'); |
|
16 |
+ /*var $dialog = vex.dialog.open({ |
|
17 |
+ message: 'Ich bin eine Info', |
|
18 |
+ buttons: [ |
|
19 |
+ $.extend({}, vex.dialog.buttons.YES, { |
|
20 |
+ text: 'Mag ich' |
|
21 |
+ }), $.extend({}, vex.dialog.buttons.NO, { |
|
22 |
+ text: 'Geh weg' |
|
23 |
+ }) |
|
24 |
+ ] |
|
25 |
+ }); |
|
26 |
+ |
|
27 |
+ window.setTimeout(function() { |
|
28 |
+ $dialog.prepend($('<p class="message message_info">What is nu?</p>').animate({height: '+=100px'},2000)); |
|
29 |
+ }, 2000);*/ |
|
30 |
+ }); |
|
31 |
+})(jQuery); |
|
32 |
+</script> |