Notifications
Clear all

Bought Pro today, still confusing with open link in new window

7 Posts
2 Users
0 Likes
1,286 Views
Posts: 21
Topic starter
(@promotionsth)
Eminent Member
Joined: 3 years ago

Hi there, here's my detail

I have the main shopping site at forexample.com

I have a wordpress site at forexample.com/blog

I want to embed the iframe pro code at forexample.com/blog

I want users to click on the iframe at forexample.com/blog and SET TO OPEN IN NEW WINDOW to forexample.com

in summary,

1. user click on iframe at /blog

2. want to let them open in a new window to forexample.com

Where do I do the setting to open new window not on the same page

A.Options

B.Basic Settings

C.Advanced Settings

D.External Workaround

Please advise, thanks in advance

6 Replies
Posts: 21
Topic starter
(@promotionsth)
Eminent Member
Joined: 3 years ago

[advanced_iframe src="https://www.example.com/blog/promotion" change_iframe_links_href="append~?conf=1"]

<< this doesn't work

 

[advanced_iframe securitykey="your key" use_shortcode_attributes_only="true" src="//www.tinywebgallery.com/blog/wp-content/plugins/advanced-iframe/example/example10.html" id="example10" height="400" width="600" scrolling="no" change_parent_links_target="a#link1,a#link2" change_iframe_links="#iframe-navigation a,form" change_iframe_links_target="_blank" change_iframe_links_href="append~?conf=1"]

<< This doesn't work

 

Both example above still open links in the same window

 

Reply
Posts: 21
Topic starter
(@promotionsth)
Eminent Member
Joined: 3 years ago

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets

Please don't send me the above link, it doesn't work, I've tried it Thanks

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

It would work if you use the right setting: 

change_iframe_links="a" change_iframe_links_target="_blank"

is what you need. This changes all links to be opened in a new window. You used my example above which works for MY html :).  change_iframe_links="#iframe-navigation a" changes all lins indide a div with the id #iframe-navigation

change_iframe_links_href="append~?conf=1" is changing a href! 

Best regards, Michael

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

Also make sure your browser console does not show any errors! Press F12 to see this. 

Reply
Page 1 / 2