Code

Discussion on Advanced iFrame Pro

Discussion on Advanced iFrame Pro

Cart 11,431 sales

mdempfle supports this item

Supported

This author's response time can be up to 1 business day.

872 comments found.

I tried to dynamically set the “src” of the iframe via javascript, but I noted that the iframe does not appear, it only appear when I set the src. I want to open the iframe in a modal window only when I click a button. Is it possible?

1.) Please, explain how to do this solution with lazy load and trigger manually. I’m lost. Remember that it is not ok only in the IE. I disabled the “lazy load” option because it shows the original iframe and after it shows the changes.

2.) And about the delay, it occurs in all browsers. How to preload some iframes in the background?

1.) You would need the new version I’m coding right now. There you can select “Trigger loading manually”. Than a Javascript function is created you can call when you like. 2.) this would eable you to e.g. load the iframe that is most common to be clicked. Really preload of iframes in the background is not possible because adding an iframe to the dom cause it to be loaded again. With background preloading I means to e.g. load the Javascript already…

I’m testing this right now and create a pro demo for this. I’ll let you know when the tests are done. You can test this new version than.

The demo is online now http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/lazy-loading#e25 Can you contact me by e-mail (contact form here on codecanyon). I can send you this version then.

Hi,

How to show a loading .gif image while the iframe is loading?

You can simply enable this feature at Settings -> advanced iframe pro -> Show loading icon ob by the shortcode attribute described there. e.g http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe you see the loading icon.

Hi,

How to define !important for a class. For instance, I want to hide a div (the admin bar) that is defined as !important already.

!important cannot be set of a class. only for a style. This can e.g. set with ‘cssText’ ‘display: none !important’ But if you mean the wpadminbar. There is no class assigned. You can simply hide it with the hide features feature and use #wpadminbar as setting.

Hi. i bought this plugin because iframe height. so i set the responsive height option but i could not solved height issue. please let me know one by one.

Have you read the quickstart guide? Which setup do you have? Same domain or different domains?

i hope same domain. quickstart guide means documentation pdf? i have set “Enable responsive iframe” = yes

No. Quickstart guide means quickstart guide: http://codecanyon.net/item/advanced-iframe-pro/5344999 in the middle of the page and also in the settings you find this. And have you read: http://www.tinywebgallery.com/blog/responsive-iframes-with-advanced-iframe-pro ?

btw. www.example.com and example.com are different domains. This is VERY important to understand if you want to use certain features.

can’t install the plugins it says the target folder already exists

soved installed with ftp and now it works

hi i want to iframe only the media box can you send me the code please http://neetesh-bipu.bandcamp.com/track/sailee

what is the media box? And why don’t you use the area selector? it generates the code for you.

Best Michael

Problem with iPad:

This iFrame Pro Site works perfect: http://www.hotel-am-augustinerplatz.de/angebote-buchen/business-messehotel/fahrplan.html

But only on Desktop. On iPad the iFrame is not the same part of the frame.

If the ipad does render the page differently you should use the browser detection where you can set different settings for the ipad. See: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/browser-detection

Yes! This works a little. But now iPad is showing two iFrames!

Please check the documentation. You have to specify the other iframe as default.

How to disable popup showing from iframed other domain.

The popup is a normal popup which happens normally on this domain? If you are on different domains you cannot change anything there directly.

Is it possible to change the parent page URL when clicking inside the iframe? I know this is possible with javascript but I can’t really tell if it’s possible with the pro plugin of yours.

Please describe in more detail what you want. you can of course change the parent page if you have e.g. defined target=”_top” at the link in the iframe. And the plugin change change link targets if you are allowed to (same domain or you are able to use the external workaround. See the quickstart guide…)

It’s hard to explain in a message but I will do my best.

Let’s say I have an html page at www.mysite.com/page.html. This page has a button that when clicked it takes you to www.mysite.com/page2.html.

I need to embed this html page in wordpress under www.mywordpress.com/page/

Is it possible to:

1. Change the url to www.mywordpress.com/page2/ when the button is clicked?

2. Make the www.mywordpress.com/page2/ link take you to www.mywordpress.com/page2/ with www.mysite.com/page2.html loaded inside the iframe?

I believe most (if not all) of this functionality can be achieved with js, but I’m hoping your plugin can make it easier.

1. I don’t understand what you want here 2. You can map parameter to urls. Like using …?page=1 opens page1. ?page=2 opens page 2.

Be aware that cross site domain Javascript access does not work anymore…

Hi, in the ‘Features of Advanced iFrame Pro v 5.8.1’ it says:

- Add a css and js file to the parent page

What does this mean? Thanks

If you have the latest version then there is a big blue button with “Generate shortcode for the current settings”.

The shortcode you posted in not correct.change_iframe_links_target is a attribute of the advanced_iframe. See the demo how shortcodes which work for a single iframe only should look like.

Do I have to generate with the blue button two times a shortcode? One for the iFrame (1) for the source page and one for the iFrame (2) for the links which are coming form the source page iFrame (1)?

No – why should you? The shortcode generator simply gives you a shortcode that has all you current settings. So you have a shortcode than which is independant of the default. This is also described there…

Hi,

I am using your plugin to include an iframe from another domain, the person hosting the other domain has asked that i forward any query string to their iframe.

How can i achieve this using your plugin?

Thanks, Dani

You can define the parameters which should be forwarded. To forward all parameters you have to change the code a little bit.

Best, Michael

If you are using version 5.8 please remove the “false” in the “Set Iframe height by ratio” field and save. This is a wrong default and causes the plugin to have an undefined height! This is fixed in 5.8.1 which is in review by codecanyon right now.

Sorry for the inconvenience.

Hi all

I’m interested in the iFrame as a solution to a situation I’m faced with. I am currently using a theme (theme 1) but would like to include a feature from another theme (theme 2) (which I will have access to).

Would this be the correct solution for me?

Many thanks in advance.

I’m not sure. Do you have a theme switcher already? and then you want to include this page?

Hi, I have the following code of my parent page: <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>ABC</title> </head> <table width="550"> <tr> <td> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. </td> </tr> </table> I want to integrate the iframe in a column with a width of 500px. Everything works fine. The only problem is the <table width="550">. After 500px the text is cutted. Can I change this with e.g. the Advanced iFrame Pro - Modify the parent page? </table>

sure. You can e.g. body > table as content_id and width:700px as style in the next field…

Thanks for your answer. But I think my problem is different: The width of the column of my page is 500px and so also the iframe should be only 500px to fit into the column. The text of the parent theme is 550px <table width="550">. My problem is: When the iframe is 500px but the text of the parent page is 550px then there are 50px of text not visible in the iframe (at least for me). Question: How can I get all the text within the iframe (without changing the whole theme)? </table>

you first have to check if the content in the iframe can be 500px or if it needs a minimum with of 550px. If this is the case you need to modify the iframe page itself. If this work fine you have to check if e.g. your theme has margins or passings for iframes… Paddings and margins of the parent can also be changed…

Hi Matey

Is this standalone or just for WP, i might have been to hasty with my download finger ;(

It is just for Wordpress. If you need it standalone I might be able to extract the part you need for you. But this would be a custom solution than. Best, Michael

Hi :)

Presale questions please.

All I want to do is increase the width of the left iFrame on my site.

I’m not a Developer so would this be something I can do easily?

Thank you :)

I’m not sure why you need a plugin for this if you already have an iframe. You can of course change the width in the plugin.

Best, Michael

Ok awesome. I misunderstood the description of your plugin :) Thanks for your quick reply.

Hello. I bought your plugin and I started using. I had an issue, would mind to take a look? In this page http://arito.visual-fusion.org/?page_id=17 I have an iframe of a list of cars from this page http://home.standvirtual.com/aritoautomoveis_listagem.html . Everything seems to work fine. When I click in any car from the list, it goes for the correspondent page staying as an iframe of my page. But if you take a closer look, it doesn’t happen all the times like that. It only works fine, if I click on the car picture or on the car title. If I click somewhere else but still on the correspondent entry of the car (like on the small description), it goes out of my page, so it will not work any more as an iframe. Try to check if you can reproduce what I’m explaining. If so, could you explain why is this happening? Thanks.

http://en.wikipedia.org/wiki/Framekiller -> alternative solutions. You can put this code snipplet into a .js file and add this with the plugin dynamically.

I could solve with a iframe buster buster method. I used this: var prevent_bust = 0; window.onbeforeunload = function() { prevent_bust++; }; var interval = setInterval(function() { if (prevent_bust > 0) { prevent_bust -= 2; window.top.location = ‘http://how.appspot.com/get204'; clearInterval(interval); } }, 1); Thanks!!!

Hello, can I use ur tool to preview page except some buttons

the plugin is for wordpress. the page inside the iframe can be any website.

I need to know in this example , is the web browsing here use Iframe to show google . http://www.ubuntu.com/tour/en/

This does not seem to be wordpress. So you cannot use the plugin as it is for wordpress only.

I need something like your plugin for a project that I am working on this weekend. I have looked through your demo examples and I need to use your feature where you are only showing part of the page.

All I want in the iframe is the main content of the post. I have inspected my page and I know the part that I want displayed is everything inside of this section of the page (class=”entry-featured”). I have entered ( .entry-featured ) into your “Show only one element” field but it’s not clear to me how to proceed after this.

If you can please tell me how to do this I will buy your plugin right now.

Thanks.

Hi, of course the whole page is loaded. The server does not know which part you need. So the speed of loading has nothing to do with the iframe. The browser does request the content like it would do if you load the page separately. But you can specify to hide the iframe until it is fully loaded and modified. Simply activate this in the config.

I understand that the whole page is loading, what I meant was the content in the iFrame seemed to be loading much slower than the page loads outside of the iFrame. I was not being critical of your plugin. I am just trying to figure out what the problem might be.

The browser does load the parent page and the iframe page parallel. So both will take more time until they are fully loaded. Hide the content until it is fully loaded.

Thinking about buying this script for clickmybanner.com. The Sign-in and Log-in pages need to load within an iframe.

Can this script automatically detect the height of the content within the iframe? Is that even possible?

Please check the quickstartguide on the item details page. If you have the requirements (same domain or usage of the external workaround) than my answer ist 2 times yes.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey