[rz] Alert() *** UPD 2018-Sep-21 ***

In this section you can announce self-made paid extensions.
*** THIS SECTION CONTAINS PAID EXTENSIONS ONLY ***
naftalina
 
 
Posts: 276
Joined: Sun Jun 16, 2013 6:36 am
Location: Croatia
Contact:

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by naftalina » Fri Feb 13, 2015 8:12 am

Is it possible to dissable blue focus frame on "OK" button?

User avatar
[RZ]
 
 
Posts: 2138
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by [RZ] » Fri Feb 13, 2015 8:18 am

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?

naftalina
 
 
Posts: 276
Joined: Sun Jun 16, 2013 6:36 am
Location: Croatia
Contact:

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by naftalina » Fri Feb 13, 2015 8:55 am

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.
Last edited by naftalina on Fri Feb 13, 2015 9:04 am, edited 1 time in total.

User avatar
[RZ]
 
 
Posts: 2138
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by [RZ] » Fri Feb 13, 2015 9:02 am

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 :)

naftalina
 
 
Posts: 276
Joined: Sun Jun 16, 2013 6:36 am
Location: Croatia
Contact:

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by naftalina » Fri Feb 13, 2015 9:05 am

Sorry. I didn't understand well. :)
You said that I use [rz] Button for OK alert button? :)

User avatar
[RZ]
 
 
Posts: 2138
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by [RZ] » Fri Feb 13, 2015 9:08 am

we are talking about the [rz] Alert()
you can design its related layer and elements as you want

naftalina
 
 
Posts: 276
Joined: Sun Jun 16, 2013 6:36 am
Location: Croatia
Contact:

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by naftalina » Fri Feb 13, 2015 9:12 am

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... ;)


naftalina
 
 
Posts: 276
Joined: Sun Jun 16, 2013 6:36 am
Location: Croatia
Contact:

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by naftalina » Fri Feb 13, 2015 9:43 am

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.

User avatar
[RZ]
 
 
Posts: 2138
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by [RZ] » Fri Feb 13, 2015 9:47 am

do you have an online sample to see?
anyhow, in [rz] Button, go to "advanced" category and change "override behavior on event" to yes

naftalina
 
 
Posts: 276
Joined: Sun Jun 16, 2013 6:36 am
Location: Croatia
Contact:

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by naftalina » Fri Feb 13, 2015 9:51 am

This is the site in progress:
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.

User avatar
[RZ]
 
 
Posts: 2138
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by [RZ] » Fri Feb 13, 2015 10:07 am

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 ;)

naftalina
 
 
Posts: 276
Joined: Sun Jun 16, 2013 6:36 am
Location: Croatia
Contact:

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by naftalina » Fri Feb 13, 2015 10:27 am

Thanks :)
Now is ok. :)

User avatar
[RZ]
 
 
Posts: 2138
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Alert() *** UPD 2014-Oct-14 ***

Post by [RZ] » Fri Feb 13, 2015 10:40 am

yes clap your hands :lol:
(thanks for reporting this "workaround" back)

User avatar
[RZ]
 
 
Posts: 2138
Joined: Tue Nov 04, 2008 12:08 pm

Re: [rz] Alert() *** UPD 2015-Jun-09 ***

Post by [RZ] » Tue Jun 09, 2015 4:01 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests