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
jb1
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:
http://stackoverflow.com/questions/10860171/run-function-after-dela...

Hope this helps.

JB
dima210 replied on at Permalink Reply
I have the same issue. Did you really provide 10 sec delay?
jb1 replied on at Permalink Reply
jb1
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.

JB

concrete5 Environment Information

5.6.1

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.