Notifications
Clear all

After iFrame load move to top op page


Posts: 2
Topic starter
(@melisgsicloud-com)
New Member
Joined: 4 months 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: 635
Admin
(@admin)
Administrator
Joined: 13 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: 4 months 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: 635
Admin
(@admin)
Administrator
Joined: 13 years ago

I replied to your direct message.

Best, Michael

Reply