Skip to content
WJunction - Webmaster Forum

How to add delay to pop up script

Status
Not open for further replies.
Hello, i need some help in coding, How can i add execution delay of for example 5 seconds or 10 seconds to a pop up script that i have in my site header (WordPress site), it is a pop up code from advertising company i am using).

Script looks like this:

Code:
<script data-cfasync="false">
var _gun...;
_gun...;
_gun...;
_gun...;
</script>
<script data-cfasync="false" src="//cdn.example.com/js/gp.min.js?s=S0005404"></script>

Thank you.
 
Last edited:

4 comments

Thanks for your reply. The problem is there is no functions inside javascript so i can use setTimeout on them. Is there any way to call this inside a function:

Code:
<script data-cfasync="false" src="//cdn.example.com/js/gp.min.js?s=S0005404"></script>
 
Last edited:
If you are facing any technical issue in your computer window and apps then window and apps blogger will help you to resolve your problem and will help in recover the damage, The blog contains each necessary details to get the technical support.
 
Status
Not open for further replies.

About the author

F
Active Member · Joined
187
Messages
130
Reactions
43
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom