Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $alert({
- title: "Windows 93 Alert Generator",
- msg: "Welcome to Windows 93 Alert Generator,\nmade by Blockly",
- btnOk: "Start",
- btnCancel: "Quit",
- sound: "",
- icon: "/c/sys/skins/w93/alert.png"
- }, function(ok){
- if (ok) {
- $prompt({
- title: "AlertGen93",
- msg: "Alert Box Title:",
- btnOk: "Next",
- img: "/c/sys/skins/w93/settings.png",
- icon: "/c/sys/skins/w93/alert.png"
- }, '', function(ok, text){
- if (ok) {
- var title = text;
- $prompt({
- title: "AlertGen93",
- msg: "Alert message:",
- btnOk: "Next",
- img: "/c/sys/skins/w93/mail.png",
- icon: "/c/sys/skins/w93/alert.png"
- }, '', function(ok, text){
- if (ok) {
- var msg = text;
- $prompt({
- title: "AlertGen93",
- msg: "OK Button text:",
- btnOk: "Next",
- img: "/c/sys/skins/w93/help.png",
- icon: "/c/sys/skins/w93/alert.png"
- }, '', function(ok, text){
- if (ok) {
- var btnOk = text;
- $prompt({
- title: "AlertGen93",
- msg: "Cancel Button text (leave blank for no cancel button):",
- btnOk: "Next",
- icon: "/c/sys/skins/w93/alert.png",
- img: "/c/sys/skins/w93/stuff.png"
- }, '', function(ok){
- if (ok) {
- var btnCancel = text;
- $alert({
- title: "AlertGen93",
- msg: "Pick an image to appear on the alert",
- btnOk: "Choose image",
- icon: "/c/sys/skins/w93/alert.png",
- img: "/c/sys/skins/w93/apps/imgviewer.png",
- sound: ""
- }, function(ok){
- if (ok) {
- $explorer({
- browse: !0, accept: 'image/*', path: '/c/sys/skins/w93/', onclose: function(file){
- $alert('You selected ' + file)
- }
- });
- }
- });
- }
- });
- }
- });
- }
- });
- }
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement