Need help with javascript
Posted: Wed Apr 07, 2021 3:32 pm
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 ?
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 ?