Closed
Auto launch a modal popup upon screen load
How can we automatically launch a modal popup when a screen is loaded?
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
How can we automatically launch a modal popup when a screen is loaded?
Create a non auto generated section and write the below script
<script type="text/javascript">
function open_on_entrance(url,name)
{
window.open('http://www.google.com','google', 'width=300,height=200,left=10,top=10')
}
</script>
<body onload="open_on_entrance()"></body>
Hi,
You can have a hidden button inside that section/harness, and on-screen load, you have to click it on screen load (window.load). Next, you have to define a click event and action launch a modal window on that.
Please let me know if this helps.
Regards,
Rachit
Thanks for the inputs.
I'm also informed that we can try:
Question
Question Solved
Question Solved
Question Solved
Question
Question
Question
Question
Question
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.