
Quote from Darbdenral on November 1, 2021, 11:59 amneoSweet Alerts plugin is available. This is a replacement for the JavaScript popup boxes. The plugin is based on the SweetAlert2 JavaScript project and also incorporates the amazing Animate CSS library. This is a free plugin.
An online tutorial is available on my website, where you can test all the neoSweet commands and download the plugin.
Download and Tutorial
neoSweet Alerts plugin is available. This is a replacement for the JavaScript popup boxes. The plugin is based on the SweetAlert2 JavaScript project and also incorporates the amazing Animate CSS library. This is a free plugin.
An online tutorial is available on my website, where you can test all the neoSweet commands and download the plugin.
Download and Tutorial

Quote from Vadim on November 1, 2021, 12:30 pm@darbdenral
Great! Great variety of popup options! Thank you very much for the new features!
We have another addition to the ranks of plugin developers! Hurrah!
Great! Great variety of popup options! Thank you very much for the new features!
We have another addition to the ranks of plugin developers! Hurrah!

Quote from luishp on November 1, 2021, 1:10 pm@darbdenral great plugin! Thanks so much!
I have just added you to the "Plugin Developer" selected club :)
But please, next time use your own plugin prefix instead of "neo" to avoid conflicts.Thanks again!
@darbdenral great plugin! Thanks so much!
I have just added you to the "Plugin Developer" selected club :)
But please, next time use your own plugin prefix instead of "neo" to avoid conflicts.
Thanks again!

Quote from luishp on November 1, 2021, 1:32 pm@darbdenral I have been testing your plugin and it's awesome! A really great contribution.
I have also discovered you already have a Chromium plugin too "EzChrome" in beta stage, but seems quite advanced.
Incredible work. Congratulations!!!Best regards.
@darbdenral I have been testing your plugin and it's awesome! A really great contribution.
I have also discovered you already have a Chromium plugin too "EzChrome" in beta stage, but seems quite advanced.
Incredible work. Congratulations!!!
Best regards.

Quote from Neal Stone on November 1, 2021, 6:17 pmThis is a great replacement for the java message boxes. Well done.
This is a great replacement for the java message boxes. Well done.

Quote from Phil78 on November 1, 2021, 6:32 pm@darbdenral Thanks so much! I already use sweet alert with other projects, it is a very good idea.
@darbdenral Thanks so much! I already use sweet alert with other projects, it is a very good idea.

Quote from roccocogliano on November 1, 2021, 7:17 pmThis is a wonderful plugin.
A thousand thanks @darbdenralPs: in 'sweetImage' is there a limitation or is it a bug? The height can be set but the width remains the same despite setting values.
Rocco
This is a wonderful plugin.
A thousand thanks @darbdenral
Ps: in 'sweetImage' is there a limitation or is it a bug? The height can be set but the width remains the same despite setting values.
Rocco

Quote from Darbdenral on November 1, 2021, 10:27 pm@roccocogliano Yes it is a bug.. thanks, plugin has been updated and squashed!
For the sweet image command I added 2 new parameters, popup window width and padding. The tutorial code has been updated to reflect those changes.
@luishp much admiration :) Also, do you want me to change the name of the plugin?
Thanks everyone for the compliments! My first VisualNeoWeb plugin was fun and challenging. :)
@roccocogliano Yes it is a bug.. thanks, plugin has been updated and squashed!
For the sweet image command I added 2 new parameters, popup window width and padding. The tutorial code has been updated to reflect those changes.
@luishp much admiration :) Also, do you want me to change the name of the plugin?
Thanks everyone for the compliments! My first VisualNeoWeb plugin was fun and challenging. :)

Quote from roccocogliano on November 1, 2021, 10:34 pmGood job @darbdenral
Thanks again.
Good job @darbdenral
Thanks again.

Quote from CDY@44 on November 1, 2021, 10:45 pmHi @darbdenral,
Thank you for our good plugin ! Very pleasant !
Just a question, how to attach a variable to a sweet alert, to receive informations ( for example password, url, text entered in inputText, clicked button...) ?
Best regards,
Hi @darbdenral,
Thank you for our good plugin ! Very pleasant !
Just a question, how to attach a variable to a sweet alert, to receive informations ( for example password, url, text entered in inputText, clicked button...) ?
Best regards,

Quote from Darbdenral on November 1, 2021, 11:36 pmQuote from CDY@44 on November 1, 2021, 10:45 pmHi @darbdenral,
Thank you for our good plugin ! Very pleasant !
Just a question, how to attach a variable to a sweet alert, to receive informations ( for example password, url, text entered in inputText, clicked button...) ?
Best regards,Sure,
First create a subroutine named InputResult but you can use any name. Now select your subroutine from your list of subroutines in the sweet alert parameters box. The plugin will send the result to that subroutine as a string parameter if successfully submitted.. So your subroutine needs to have a parameter of type string to accept and pass that on to your subroutine.
The online examples use a subroutine named InputResult. The parameter name used in that subroutine is [inputValue] and of type string.
Here's the contents of the subroutine InputResult for the password input..
. SweetPassword returns value if confirm button ok sweetAlert "results" "[inputValue]" "success" "ok" ""
Quote from CDY@44 on November 1, 2021, 10:45 pmHi @darbdenral,
Thank you for our good plugin ! Very pleasant !
Just a question, how to attach a variable to a sweet alert, to receive informations ( for example password, url, text entered in inputText, clicked button...) ?
Best regards,
Sure,
First create a subroutine named InputResult but you can use any name. Now select your subroutine from your list of subroutines in the sweet alert parameters box. The plugin will send the result to that subroutine as a string parameter if successfully submitted.. So your subroutine needs to have a parameter of type string to accept and pass that on to your subroutine.
The online examples use a subroutine named InputResult. The parameter name used in that subroutine is [inputValue] and of type string.
Here's the contents of the subroutine InputResult for the password input..
. SweetPassword returns value if confirm button ok sweetAlert "results" "[inputValue]" "success" "ok" ""

Quote from Darbdenral on November 1, 2021, 11:57 pmThat was actually the code for a standard input box, not password. But all the input boxes use the same method, one string parameter. The result string is a normal string in all the inputs except the sweetProgress, that one send an array of type string .
Inputs
. Input result sweetAlert "results" "[inputValue]" "success" "ok" ""
here is a password box example..
. SweetPassword returns value if confirm button ok If [passValue] == "cancel" sweetAlert "results" "Cancelled" "error" "ok" "" Else sweetAlert "results" "Results: [passValue]" "success" "ok" "" EndIfThe sweetDialog uses a boolean parameter..
. SweetDialog returns true if confirm button ok If [msgval] == true sweetAlert "results" "Success" "success" "ok" "" Else sweetAlert "results" "Cancel: [msgval]" "error" "ok" "" EndIfThe radio uses type integer parameter
.Red Green Blue Black If [radioID] == 0 sweetAlert "Red Selected" "" "info" "ok" "" ElseIf [radioID] == 1 sweetAlert "Green Selected" "" "info" "ok" "" ElseIf [radioID] == 2 sweetAlert "Blue Selected" "" "info" "ok" "" ElseIf [radioID] == 3 sweetAlert "Black Selected" "" "info" "ok" "" Else sweetAlert "Unknown Selected" "" "info" "ok" "" EndIf
That was actually the code for a standard input box, not password. But all the input boxes use the same method, one string parameter. The result string is a normal string in all the inputs except the sweetProgress, that one send an array of type string .
Inputs
. Input result sweetAlert "results" "[inputValue]" "success" "ok" ""
here is a password box example..
. SweetPassword returns value if confirm button ok If [passValue] == "cancel" sweetAlert "results" "Cancelled" "error" "ok" "" Else sweetAlert "results" "Results: [passValue]" "success" "ok" "" EndIf
The sweetDialog uses a boolean parameter..
. SweetDialog returns true if confirm button ok If [msgval] == true sweetAlert "results" "Success" "success" "ok" "" Else sweetAlert "results" "Cancel: [msgval]" "error" "ok" "" EndIf
The radio uses type integer parameter
.Red Green Blue Black If [radioID] == 0 sweetAlert "Red Selected" "" "info" "ok" "" ElseIf [radioID] == 1 sweetAlert "Green Selected" "" "info" "ok" "" ElseIf [radioID] == 2 sweetAlert "Blue Selected" "" "info" "ok" "" ElseIf [radioID] == 3 sweetAlert "Black Selected" "" "info" "ok" "" Else sweetAlert "Unknown Selected" "" "info" "ok" "" EndIf

Quote from roccocogliano on November 2, 2021, 12:02 amQuote from Darbdenral on November 1, 2021, 10:27 pm@roccocogliano Yes it is a bug.. thanks, plugin has been updated and squashed!
For the sweet image command I added 2 new parameters, popup window width and padding. The tutorial code has been updated to reflect those changes.
@luishp much admiration :) Also, do you want me to change the name of the plugin?
Thanks everyone for the compliments! My first VisualNeoWeb plugin was fun and challenging. :)
It seems to me that he still has problems.
I'm still referring to 'sweetImage'. Or I don't know how to make it work.
Greetings
Rocco
Quote from Darbdenral on November 1, 2021, 10:27 pm@roccocogliano Yes it is a bug.. thanks, plugin has been updated and squashed!
For the sweet image command I added 2 new parameters, popup window width and padding. The tutorial code has been updated to reflect those changes.
@luishp much admiration :) Also, do you want me to change the name of the plugin?
Thanks everyone for the compliments! My first VisualNeoWeb plugin was fun and challenging. :)
It seems to me that he still has problems.
I'm still referring to 'sweetImage'. Or I don't know how to make it work.
Greetings
Rocco

Quote from Darbdenral on November 2, 2021, 12:37 am@roccocogliano Does your plugin show SweetAlert v1.01 ? You may need to refresh the page without cache and download again..
No cache trick using Chrome browser..
Hold shift button down in Chrome and push the Chrome refresh button..I just tested on another computer and it worked fine..
Here is the command I used
sweetImage "Favoloso!" "Alert with a custom image." "" "Ok" "https://unsplash.it/800/300" 800 300 800 "" ""
@roccocogliano Does your plugin show SweetAlert v1.01 ? You may need to refresh the page without cache and download again..
No cache trick using Chrome browser..
Hold shift button down in Chrome and push the Chrome refresh button..
I just tested on another computer and it worked fine..
Here is the command I used
sweetImage "Favoloso!" "Alert with a custom image." "" "Ok" "https://unsplash.it/800/300" 800 300 800 "" ""

Quote from Darbdenral on November 2, 2021, 12:44 am@roccocogliano Another possibility.. You must not use the internal debugger to run your code..
So use Chrome, Firefox, Edge..
- Brad
@roccocogliano Another possibility.. You must not use the internal debugger to run your code..
So use Chrome, Firefox, Edge..
- Brad

Quote from CDY@44 on November 2, 2021, 1:33 amHi @darbdenral
Thank you for explanations ! It's clear now !
Hi @darbdenral
Thank you for explanations ! It's clear now !

Quote from Darbdenral on November 2, 2021, 1:44 amQuote from CDY@44 on November 2, 2021, 1:33 amHi @darbdenral
Thank you for explanations ! It's clear now !
You bet! I'll be sure to update the tutorial with these examples.. ;)
Quote from CDY@44 on November 2, 2021, 1:33 amHi @darbdenral
Thank you for explanations ! It's clear now !
You bet! I'll be sure to update the tutorial with these examples.. ;)

Quote from roccocogliano on November 2, 2021, 9:30 amQuote from Darbdenral on November 2, 2021, 12:37 am@roccocogliano Does your plugin show SweetAlert v1.01 ? You may need to refresh the page without cache and download again..
No cache trick using Chrome browser..
Hold shift button down in Chrome and push the Chrome refresh button..I just tested on another computer and it worked fine..
Here is the command I used
sweetImage "Favoloso!" "Alert with a custom image." "" "Ok" "https://unsplash.it/800/300" 800 300 800 "" ""sweetImage "Favoloso!" "Alert with a custom image." "" "Ok" "https://unsplash.it/800/300" 800 300 800 "" ""sweetImage "Favoloso!" "Alert with a custom image." "" "Ok" "https://unsplash.it/800/300" 800 300 800 "" ""
@darbdenral It was just a matter of cache, just like you said.
Thanks again
Quote from Darbdenral on November 2, 2021, 12:37 am@roccocogliano Does your plugin show SweetAlert v1.01 ? You may need to refresh the page without cache and download again..
No cache trick using Chrome browser..
Hold shift button down in Chrome and push the Chrome refresh button..I just tested on another computer and it worked fine..
Here is the command I used
sweetImage "Favoloso!" "Alert with a custom image." "" "Ok" "https://unsplash.it/800/300" 800 300 800 "" ""sweetImage "Favoloso!" "Alert with a custom image." "" "Ok" "https://unsplash.it/800/300" 800 300 800 "" ""sweetImage "Favoloso!" "Alert with a custom image." "" "Ok" "https://unsplash.it/800/300" 800 300 800 "" ""
@darbdenral It was just a matter of cache, just like you said.
Thanks again

Quote from luishp on November 2, 2021, 1:30 pmHi @darbdenral.
do you want me to change the name of the plugin?
No, it's not necessary. Just please keep it in mind for your next plugin. It will also help anyone to know it's yours just by looking at the prefix :)
Thank you!
Hi @darbdenral.
do you want me to change the name of the plugin?
No, it's not necessary. Just please keep it in mind for your next plugin. It will also help anyone to know it's yours just by looking at the prefix :)
Thank you!
Quote from Gustavo1973 on November 4, 2021, 3:12 pm@darbdenral
Felicitaciones por el plugin se ve muy bien
Pregunto, si se aplica en una pagina a la cual se le modifico el Estilo para que se vea bien en el movil ya no se ve bien tu plugin, no se adapta al nuevo tamaño
Tiene solucion eso?
A modo de ejemplo, un plugin similar al tuyo que se llama "MemMensajesPlg" se adaptan los diferentes mensajes mas alla del estilo que le hayamos configurado a la pagina
Felicitaciones por el plugin se ve muy bien
Pregunto, si se aplica en una pagina a la cual se le modifico el Estilo para que se vea bien en el movil ya no se ve bien tu plugin, no se adapta al nuevo tamaño
Tiene solucion eso?
A modo de ejemplo, un plugin similar al tuyo que se llama "MemMensajesPlg" se adaptan los diferentes mensajes mas alla del estilo que le hayamos configurado a la pagina