Notifications
Clear all
Advanced iframe pro
4
Posts
2
Users
0
Reactions
721
Views
Jan 18, 2022 11:39 am
Hi,
I'm tying to figure out how to move to the top of the page after an iFrame is loaded. Idealy I would like it to scroll to #page-container. With the settings it moves to the top of the iFrame, not the page.
Regards,
Jackey
3 Replies
Jan 18, 2022 5:33 pm
Top of the page is
onload_scroll_top="true"
Scrolling to a specific element is not supported. if you like this you need to change some code...
Best regards,
Michael
Jan 18, 2022 7:47 pm
Hi Michael,
That's what I thought... I added this shortcode
[ advanced_iframe src=" removed link " onload_scroll_top="true"]
And it never goes to the top...
Any idea why not?
Regards
Jackey
Jan 19, 2022 8:53 pm
I replied to your direct message.
Best, Michael