Notifications
Clear all

New iFrame View Port After Click

12 Posts
2 Users
0 Reactions
2,226 Views
Posts: 9
Topic starter
(@sb888)
Active Member
Joined: 4 years ago

On click I want to display the FULL iframe.  

Reply
Posts: 9
Topic starter
(@sb888)
Active Member
Joined: 4 years ago

Here is a video to help explain: http://somup.com/cYhTfXjHzN

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Hi,

see the example here:

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe#e3

show_part_of_iframe_next_viewports="573,243,205,128"

does show a new viewport after a page load. There you can use "0,0,100%,100vh" for example

What also people use is: 

show_part_of_iframe_new_url="http://www.tinywebgallery.com/demo/twg_image/08_Usa%282005%29/CIMG2797.jpg"

where the user is redirected to a different page if a click happens.

An alternative is to make a read only iframe with a link over the whole are like shown here: 

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/hide-a-part-of-the-iframe

Best, Michael

 

Reply
Posts: 9
Topic starter
(@sb888)
Active Member
Joined: 4 years ago

I am using [advanced_iframe src="https://bookings.gettimely.com/testbt/bb/book" id="example-id" height="600" width="480" show_part_of_iframe="true" show_part_of_iframe_x="0" show_part_of_iframe_y="0" show_part_of_iframe_width="480" show_part_of_iframe_height="100" show_part_of_iframe_next_viewports="0,0,480,600" show_part_of_iframe_next_viewports_loop="true"]

 

Still doent work

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Doe the page in the iframe do load a new page or is it fully one in Ajax? Because a change can only be detected if there is a reload. If there is none than you need to make the iframe "readonly" and place a link over the iframe that opens the page how you like it:

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/hide-a-part-of-the-iframe

 

Best, Michael

Reply
Page 2 / 3