Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author mdempfle

    (@mdempfle)

    What do you want? because with
    class=”primary-content”
    you only set the class primary-content to the iframe.

    If you want only to show this part you have to read the instructions in the settings and use the right shortcode (or configure it there).

    Thread Starter robsanders

    (@robsanders)

    From what i have read, i tried to add the class of the section i only want to show in the “Javascript iframe onload options” under “Show only one element” and enter .primary-content but it did not seem to work.

    Plugin Author mdempfle

    (@mdempfle)

    what is the site the iframe is in?

    Thread Starter robsanders

    (@robsanders)

    Hey mdempfle,

    The address is : https://kolonel.net/senior-seconds/

    Much appreciated if you can have a look to see what i am doing wrong.

    Regards
    Rob

    Plugin Author mdempfle

    (@mdempfle)

    Wrong is that they are on different domains and like the description says this function is only possible on the same domain because of security issues.
    But I’m planning a new function where you can only display a part of the iframe which also works across different domains.

    Thread Starter robsanders

    (@robsanders)

    Thanks for checking that out mdempfle.

    How did you check that they were on different domains? I assumed they were on the same website domain.

    Thanks again, and look forward to your plans.

    Plugin Author mdempfle

    (@mdempfle)

    Thread Starter robsanders

    (@robsanders)

    Hmmmm….

    I would have thought that the section of that website was what i could have show in the iframe. If you are going to have a different website inside the iframe wouldn’t they always have different domains.

    Maybe i misunderstood the usage.

    Thanks anyway.

    Plugin Author mdempfle

    (@mdempfle)

    Different website yes – but many users e.g. want to show part of their own website also on a different page.

    Thread Starter robsanders

    (@robsanders)

    Sorry to do this to you champ, but i really want to understand this correctly.

    I wanted to put the class .primary-content only from the page (https://mycricket.cricket.com.au/common/pages/public/rv/SeasonResults.aspx?entityid=445) into my site at https://kolonel.net/senior-seconds but don’t understand why it can’t.

    You make mention that the page is on a different domain than my website but isn’t that the reason we want to use it on my website.

    Apologies for not getting this just trying to get a better understanding of this awesome concept.

    Rob

    Thread Starter robsanders

    (@robsanders)

    Thought of a better solution.

    Want to re-size the source webpage in the iframe so it can fit without any scroll-bars. Is this possible?

    Played around with a couple parameters but couldn’t quite get it right.

    Regards

    Plugin Author mdempfle

    (@mdempfle)

    You cannot modify a web page in an iframe if it is on a different domain.
    If this would be allowed you could modify a content from someone else which would be a real security issue.
    In the pro version of the advanced iframe plugin I have implemented a solution wher you can only show a defined area of an iframe.
    See https://codecanyon.net/item/advanced-iframe-pro/5344999

    Best, Michael

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Selecting id to show’ is closed to new replies.