Delayed opening of popup

Permalink Browser Info Environment
Is there a way to have the popup open at certain interval, meaning if someone goes to page it will wait 10 sec until the popup occurs, etc. Right now the popup box will just appear but is there code to add that would allow a delayed opening?

Type: Discussion
Status: In Progress
View Replies:
jb1 replied on at Permalink Reply
That's a good question and good idea. Off the top of my head it doesn't have that option now but could be done with a 1-line change to the view.php file (or using the c5 override system).
I do provide custom coding services if required.

If you want to try yourself I suggest looking at the "delay" jquery function. Here's an example:

Hope this helps.

dima210 replied on at Permalink Reply
I have the same issue. Did you really provide 10 sec delay?
jb1 replied on at Permalink Reply
That feature isn't in there at the moment. But if you're familiar with Javascript, add the "setTimeout" function in the view.php.

Hope this helps.


concrete5 Environment Information


Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.