Autoclose pop-up does not close Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Autoclose pop-up does not close

Post by whoami »

I use some buttons for some pop-up screens and set the autoclose time to 10 seconds, but it won’t close automatic.
I have to use the X in the corner to close it.

Is there some minimum time that it needs before it closes?
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Autoclose pop-up does not close

Post by Lokonli »

I'm redesigning the popup functionality at the moment. I think I can release it within a few days.

Autoclose, including auto close of new windows, will then work.

Another nice feature is that you then can show any type of block, or multiple blocks, in a popup window, including nested popups.

Or one block can be build up from several other blocks, meaning nested blocks.




Sent from my SM-A320FL using Tapatalk

whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Autoclose pop-up does not close

Post by whoami »

That sounds good! Let us know when we can help testing.
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Autoclose pop-up does not close

Post by whoami »

Lokonli wrote: Thursday 14 January 2021 23:28 I'm redesigning the popup functionality at the moment. I think I can release it within a few days.

Autoclose, including auto close of new windows, will then work.

Another nice feature is that you then can show any type of block, or multiple blocks, in a popup window, including nested popups.

Or one block can be build up from several other blocks, meaning nested blocks.

Sent from my SM-A320FL using Tapatalk
I use:
buttons = {}
buttons.test = {
width:2,
refresh: 3600,
btnimage: 'http://www.nu.nl', url:'http://www.nu.nl', autoclose:10
}

Button works, it opens the site but does still not autoclose....
What am I doing wrong? I use 3.7.3 beta
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Autoclose pop-up does not close

Post by Lokonli »

Try with auto_close:10

yes, I know, Dashticz parameter naming is inconsistent.

refresh is in seconds nowadays. 60 hours might be a bit too much ...
whoami
Posts: 73
Joined: Tuesday 31 March 2020 22:31
Target OS: -
Domoticz version:
Location: Dutch
Contact:

Re: Autoclose pop-up does not close

Post by whoami »

Lokonli wrote: Thursday 11 February 2021 17:33 Try with auto_close:10

yes, I know, Dashticz parameter naming is inconsistent.

refresh is in seconds nowadays. 60 hours might be a bit too much ...
Yes that works! Thanks, I also adjusted the seconds :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest