diff --git a/index.html b/index.html index a86f9f0..f3a53e0 100644 --- a/index.html +++ b/index.html @@ -27,6 +27,7 @@
+
Ply.dialog("alert", "Hello %username%!");
-
+
+
Ply.dialog(
"confirm",
{ effect: "3d-sign" },
"Continue?"
);
-
+
+
Ply.dialog("prompt", {
title: "Spam subscribe",
form: { email: "E-mail" }
});
-
+
+ Ply.dialog({
+ "intro": {
+ ui: "confirm",
+ data: {
+ text: "You want to win?",
+ ok: "Yes",
+ cancel: "No"
+ },
+ next: "congratulations",
+ nextEffect: "3d-flip[180,-180]"
+ },
+ "congratulations": {
+ data: {
+ children: [{
+ tag: "img",
+ src: "st/you-win.gif"
+ }],
+ ok: "Okay"
+ }
+ }
+ });
+
+