Notifications
Clear all

After iFrame load move to top op page

4 Posts
2 Users
0 Likes
595 Views
Posts: 2
Topic starter
(@melisgsicloud-com)
New Member
Joined: 2 years ago

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
TinyWebGallery
Posts: 880
Admin
(@admin)
Prominent Member
Joined: 15 years ago

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

Reply
Posts: 2
Topic starter
(@melisgsicloud-com)
New Member
Joined: 2 years ago

Hi Michael,

That's what I thought... I added this shortcode

[ advanced_iframe src=" removed link " onload_scroll_top="true"]

on removed link ">this page

And it never goes to the top... 

Any idea why not?

Regards
Jackey

Reply
TinyWebGallery
Posts: 880
Admin
(@admin)
Prominent Member
Joined: 15 years ago

I replied to your direct message.

Best, Michael

Reply