Need help with javascript

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
nxr
 
 
Posts: 32
Joined: Mon Aug 19, 2019 5:00 pm

Need help with javascript

Post by nxr »

I need help with javascript in WWB.
I have external js code which has detected some activity - redirect the page with a delay of 5 seconds.

Code snippet:
{
if(detected){
setTimeout("location.href='https://x-website';",5000);
}
});

I would like to change the redirect to pop-up Dialog window (WWB->jQuery UI->Dialog).
Someone can help me how to do it ?
Post Reply