[rz] Alert() *** UPD 2020-Mar-22 ***
Forum rules
*** IMPORTANT INFO REGARDING [RZ] EXTENSIONS ***
This section contains extensions that were created by [rz] who has sadly passed away.
These extensions are no longer available or supported, but the discussions may still be helpful for some users.
*** IMPORTANT INFO REGARDING [RZ] EXTENSIONS ***
This section contains extensions that were created by [rz] who has sadly passed away.
These extensions are no longer available or supported, but the discussions may still be helpful for some users.
[rz] Alert() *** UPD 2020-Mar-22 ***
[rz] Alert - v1.2.2.2
The most lightweight solution to have a custom alert-box in your website that fits the design, scheme and colors!
This extension replaces the standard alert() function without any change in your code (yes, no changes required) and automatically works with the wb's native javascript form validation; even in (almost?) any other scenario that alert() is invoked.
It is cross-browser compatible and even supports old ones, tested in all major browsers and touch devices.
Sample project included.
DEMO
HTML 4.01 Transitional
W3C compliant
* New in version 1.2.2.2
- Improved alignment uniformity across platforms including mobiles.
* New in version 1.2.2.1
- Improved interaction with [rz] Button extension when it has i.e. 'push' effects.
* New in version 1.2.2
- Improved modal handling with less resources and better interacts with other extensions.
- Improved backward compatibility.
* New in version 1.2.1
- Improved the timed messages handling when the alert box is closed manually.
- The core has been moved to an external file for a faster navigation between pages.
- Minor core tweaks.
* New in version 1.2
- Optional timed messages:
alert('my message'); or alert('my message', 0); for the usual behavior.
alert('my timed message', 5000); i.e: the alert box will be closed after 5 seconds (any other value in milliseconds can be entered).
- Optionally hides the close button in timed messages.
- Optional extra layer-rearrangements on timed messages with hidden close button.
* New in version 1.1
- Added support for RWD.
- Improved message box positioning.
* New in version 1.0.0.1
- The alert box can be displayed outside an inline frame (useful for embedded forms with validation rules).
- Improved modal mode simulation.
- Allow or disallow drag/select the alert box elements.
- New extension: [rz] Alert (ifr) - connects with the alert's elements that are placed outside the contained page.
How to use?
1. Design a layer as you usually do (will be used as the new alert-box layout).
2. Add text object within the layer and setup the font type and the color (will be used to display the message).
3. Add a button (or any similar object - it will be used to close the alert message.
4. Drag and drop the [rz] Alert extension and put it on top (the last object you add).
5. Open the extension properties dialog and enter the layer id, the text object id and the button id.
6. Optionally, you can add other decorative elements to the layer.
7. Optionally, you can fine-tune the screen-cover color, the fade-in/out effect, etc.
Inlines frames:
If a form is called from a parent page, follow the same steps as described; just put the alert elements in the "caller" page instead of in the embedded page. And in the embedded page (i.e. a php form), just drag and drop the [rz] Alert (ifr) extension.
Enjoy!
The most lightweight solution to have a custom alert-box in your website that fits the design, scheme and colors!
This extension replaces the standard alert() function without any change in your code (yes, no changes required) and automatically works with the wb's native javascript form validation; even in (almost?) any other scenario that alert() is invoked.
It is cross-browser compatible and even supports old ones, tested in all major browsers and touch devices.
Sample project included.
DEMO
HTML 4.01 Transitional
W3C compliant
* New in version 1.2.2.2
- Improved alignment uniformity across platforms including mobiles.
* New in version 1.2.2.1
- Improved interaction with [rz] Button extension when it has i.e. 'push' effects.
* New in version 1.2.2
- Improved modal handling with less resources and better interacts with other extensions.
- Improved backward compatibility.
* New in version 1.2.1
- Improved the timed messages handling when the alert box is closed manually.
- The core has been moved to an external file for a faster navigation between pages.
- Minor core tweaks.
* New in version 1.2
- Optional timed messages:
alert('my message'); or alert('my message', 0); for the usual behavior.
alert('my timed message', 5000); i.e: the alert box will be closed after 5 seconds (any other value in milliseconds can be entered).
- Optionally hides the close button in timed messages.
- Optional extra layer-rearrangements on timed messages with hidden close button.
* New in version 1.1
- Added support for RWD.
- Improved message box positioning.
* New in version 1.0.0.1
- The alert box can be displayed outside an inline frame (useful for embedded forms with validation rules).
- Improved modal mode simulation.
- Allow or disallow drag/select the alert box elements.
- New extension: [rz] Alert (ifr) - connects with the alert's elements that are placed outside the contained page.
How to use?
1. Design a layer as you usually do (will be used as the new alert-box layout).
2. Add text object within the layer and setup the font type and the color (will be used to display the message).
3. Add a button (or any similar object - it will be used to close the alert message.
4. Drag and drop the [rz] Alert extension and put it on top (the last object you add).
5. Open the extension properties dialog and enter the layer id, the text object id and the button id.
6. Optionally, you can add other decorative elements to the layer.
7. Optionally, you can fine-tune the screen-cover color, the fade-in/out effect, etc.
Inlines frames:
If a form is called from a parent page, follow the same steps as described; just put the alert elements in the "caller" page instead of in the embedded page. And in the embedded page (i.e. a php form), just drag and drop the [rz] Alert (ifr) extension.
Enjoy!
Last edited by [RZ] on Sun Mar 22, 2020 3:35 pm, edited 10 times in total.
Re: Custom Alert()
WOW!
Looks great and will be useful.
Thank you.
Looks great and will be useful.
Thank you.
Re: Custom Alert()
hope so
thanks for your feedback
thanks for your feedback
Re: Custom Alert()
thank you b for your feedback
Re: Custom Alert() *** UPDATED Apr-13-2014 ***
* New in version 1.0.0.1:
- The alert box can be displayed outside an inline frame (useful for embedded forms with validation rules).
- Improved modal mode simulation.
- Allow or disallow drag/select the alert box elements.
- New extension: [rz] Alert (ifr) - connects with the alert's elements that are placed outside the contained page.
- The alert box can be displayed outside an inline frame (useful for embedded forms with validation rules).
- Improved modal mode simulation.
- Allow or disallow drag/select the alert box elements.
- New extension: [rz] Alert (ifr) - connects with the alert's elements that are placed outside the contained page.
Re: Custom Alert() *** UPDATED Apr-13-2014 ***
Heya! I miss the first release and now I can see beautiful alert message. Thanks
Buy Automation Shopping Cart for CMS WEBSHOP + 2.2 Using WB10!
- Use secure gateway to buy using PAYPAL website.
- Use secure gateway to buy using PAYPAL website.
Re: Custom Alert() *** UPDATED Apr-13-2014 ***
thank you adex1 for your feedback
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
UPGRADE AVAILABLE
* New in version 1.1
- Added support for RWD.
- Improved message box positioning.
* New in version 1.1
- Added support for RWD.
- Improved message box positioning.
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
I just added Alert plugin for the first time and it works great!
Only alert in contact form to email format does not show properly.
So if I do not write sign @ alert shows in the "bubble dialogue" instead of window that is defined with the Alert extension.
Please, check here: http://korkyraethno.com/template/rozalina/
Only alert in contact form to email format does not show properly.
So if I do not write sign @ alert shows in the "bubble dialogue" instead of window that is defined with the Alert extension.
Please, check here: http://korkyraethno.com/template/rozalina/
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
is not an extension issue
remove the browser native validation
in the email field, general tab, type -> text
in validate tab, mode -> default and data type -> email address
remove the browser native validation
in the email field, general tab, type -> text
in validate tab, mode -> default and data type -> email address
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
Is it possible to dissable blue focus frame on "OK" button?
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
are you meaning the outlined box or the focus itself?
if you are meaning the focus itself, can you pls give me a valid reason?
if you are meaning the focus itself, can you pls give me a valid reason?
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
I mean blue outlined box. Box is ugly and anoying.
For example, I dissabled that blue frame in [rz] Button if I dissable "Get focus on click".
BTW: I know. This is Chrome behavior.
EDIT: FF dont have that behavior.
For example, I dissabled that blue frame in [rz] Button if I dissable "Get focus on click".
BTW: I know. This is Chrome behavior.
EDIT: FF dont have that behavior.
Last edited by naftalina on Fri Feb 13, 2015 9:04 am, edited 1 time in total.
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
yes, of course you can disable the focus outline box
you can design those buttons as you want
i do not do it within the extension as it is up to the designer -- it's matter of html/css and every designer may have his very own taste about this
about the focus itself, i won't change this behavior as i follow navigability standards
btw, the blue box is not only in chrome, also opera changed its orange box to a blue one
you can design those buttons as you want
i do not do it within the extension as it is up to the designer -- it's matter of html/css and every designer may have his very own taste about this
about the focus itself, i won't change this behavior as i follow navigability standards
btw, the blue box is not only in chrome, also opera changed its orange box to a blue one
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
Sorry. I didn't understand well.
You said that I use [rz] Button for OK alert button?
You said that I use [rz] Button for OK alert button?
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
we are talking about the [rz] Alert()
you can design its related layer and elements as you want
you can design its related layer and elements as you want
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
I have just tried the [r] Button as alert OK button and works great.
Looks like I'm still not aware that the powerful tools I already have, but I'm learning...
Looks like I'm still not aware that the powerful tools I already have, but I'm learning...
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
I have one problem when I use [r] Button as alert OK button.
So, when I press OK (on alert), a web page does not remain at the current position - going to the top.
So, when I press OK (on alert), a web page does not remain at the current position - going to the top.
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
do you have an online sample to see?
anyhow, in [rz] Button, go to "advanced" category and change "override behavior on event" to yes
anyhow, in [rz] Button, go to "advanced" category and change "override behavior on event" to yes
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
This is the site in progress:
This option what you said didn't help.
I'll delete link from here after.
This option what you said didn't help.
I'll delete link from here after.
Last edited by naftalina on Fri Feb 13, 2015 10:31 am, edited 1 time in total.
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
sorry my mistake, i forgot to mention that you also need to add "void(0);" without the double quotes as event
btw, is not the normal way we use the [rz] Button, but always is a handy solution
btw, is not the normal way we use the [rz] Button, but always is a handy solution
Re: [rz] Alert() *** UPD 2014-Oct-14 ***
yes clap your hands
(thanks for reporting this "workaround" back)
(thanks for reporting this "workaround" back)
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
upgrade available (get in contact for more details)
* New in version 1.2:
- Optional timed messages:
alert('my message'); or alert('my message', 0); for the usual behavior.
alert('my timed message', 5000); i.e: the alert box will be closed after 5 seconds (any other value in milliseconds can be entered).
- Optionally hides the close button in timed messages.
- Optional extra layer-rearrangements on timed messages with hidden close button.
* New in version 1.2:
- Optional timed messages:
alert('my message'); or alert('my message', 0); for the usual behavior.
alert('my timed message', 5000); i.e: the alert box will be closed after 5 seconds (any other value in milliseconds can be entered).
- Optionally hides the close button in timed messages.
- Optional extra layer-rearrangements on timed messages with hidden close button.
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
How do i download this?
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
follow this link: http://www.magnawebstudio.com/shop
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
I only need the Alert not the full pack.
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
menu at top right: packs, singles, ecommerce, etc...
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
I have now purchased the Alert and another program. However, it has not been sent to me as yet.
Please advise.
Please advise.
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
Thank you DavePDaveP wrote:Hi SteffJay,SteffJay wrote:I have now purchased the Alert and another program. However, it has not been sent to me as yet.
Please advise.
I notice on his contact form it says working days are Sunday to Thursday, so you should receive them Tomorrow.
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
thanks for your purchase, the extensions have been sent a few hours agoSteffJay wrote:I have now purchased the Alert and another program. However, it has not been sent to me as yet.
Please advise.
i checked it at paypal and the confirmation of your transaction arrived with a 16-hour delay!
sorry for the inconvenience that this may have caused to you
Re: [rz] Alert() *** UPD 2015-Jun-09 ***
thank you for helping on thisDaveP wrote:I notice on his contact form it says working days are Sunday to Thursday, so you should receive them Tomorrow.
Re: [rz] Alert() *** UPD 2017-Jun-22 ***
* New in version 1.2.1
- Improved the timed messages handling when the alert box is closed manually.
- The core has been moved to an external file for a faster navigation between pages.
- Minor core tweaks.
- Improved the timed messages handling when the alert box is closed manually.
- The core has been moved to an external file for a faster navigation between pages.
- Minor core tweaks.
Re: [rz] Alert() *** UPD 2018-Sep-21 ***
* New in version 1.2.2
- Improved modal handling with less resources and better interacts with other extensions.
- Improved backward compatibility.
- Improved modal handling with less resources and better interacts with other extensions.
- Improved backward compatibility.
Re: [rz] Alert() *** UPD 2018-Dec-31 ***
* New in version 1.2.2.1
- Improved interaction with [rz] Button extension when it has i.e. 'push' effects.
- Improved interaction with [rz] Button extension when it has i.e. 'push' effects.
Re: [rz] Alert() *** UPD 2020-Mar-22 ***
* New in version 1.2.2.2
- Improved alignment uniformity across platforms including mobiles.
- Improved alignment uniformity across platforms including mobiles.