Viewing 1 replies (of 1 total)
  • Plugin Author mdempfle

    (@mdempfle)

    If you want to hide elements in the iframe on cross domain you also have the same restrictions like for the resize height.

    I have written this in the settings:

    IMPORTANT: This is only possible if the iframe comes from the same domain because of the same origin policy of Javascript. Please read the section “How to find the id and the attributes” above how to find the right styles. If the content comes from a different domain you have to modify the iframe page by e.g. adding a Javascript function that is then called by the onload function you can set above.

    So you can set this in the settings and look in the sourcecode what is rendered there. And then you have to add this to your page. Please not that you need to include jQuery to your iframed page.

    An alternative is to pass a parameter to the iframe that you read and then hide elements depending on this parameter.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide elements in iframe, not working?’ is closed to new replies.