Question
3
Replies
3300
Views
Posted: December 4, 2017
Last activity: December 6, 2017
Closed
Auto launch a modal popup upon screen load
How can we automatically launch a modal popup when a screen is loaded?
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
How can we automatically launch a modal popup when a screen is loaded?
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:
https://pdn.pega.com/node/1304676?destination=node/1304676
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.
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>